فهرست منبع

Keep the IDE out of the Node test runner.

test_runner.js died at load with "document is not defined": deploy.js
lists the legacy IDE, whose stylesheets require-css inlines behind an
injector that writes a style element.

The IDE is stubbed as jquery is, as contrib-legacy's own runner now
does. It is a browser tool without tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Herby Vojčík 1 روز پیش
والد
کامیت
1914f29a61
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Gruntfile.js

+ 1 - 0
Gruntfile.js

@@ -91,6 +91,7 @@ module.exports = function (grunt) {
                     mainConfigFile: "config.js",
                     rawText: {
                         "jquery": "/* do not load in node test runner */",
+                        "amber/legacy/IDE": "/* do not load in node test runner */",
                         "__app__": "(" + function () {
                             define(["testing", "amber/core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) {
                                 amber.initialize().then(function () {