ソースを参照

Require SUnit as amber/core/SUnit.

amber_core is only an alias, kept by a map entry. The Node test runner
loads through amdefine, which has no map, so test_runner.js stopped with
"Cannot find module 'amber_core/SUnit'". contrib-legacy moved to
amber/core in its deps long ago.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Herby Vojčík 2 日 前
親
コミット
b8c7622eb9
2 ファイル変更、2 行追加、2 行削除
  1. 1 1
      deploy.js
  2. 1 1
      testing.js

+ 1 - 1
deploy.js

@@ -4,7 +4,7 @@ define([
     "amber/web/Web",
     "amber/web/Web",
     "silk/Silk",
     "silk/Silk",
     "silk/Silk-Tests",
     "silk/Silk-Tests",
-    "amber_core/SUnit",
+    "amber/core/SUnit",
     'amber/legacy/IDE',
     'amber/legacy/IDE',
     'profstef/ProfStef'
     'profstef/ProfStef'
     // --- packages to be deployed end here ---
     // --- packages to be deployed end here ---

+ 1 - 1
testing.js

@@ -1,6 +1,6 @@
 define([
 define([
     './deploy',
     './deploy',
-    'amber_core/SUnit',
+    'amber/core/SUnit',
     // --- packages used only during automated testing begin here ---
     // --- packages used only during automated testing begin here ---
     // --- packages used only during automated testing end here ---
     // --- packages used only during automated testing end here ---
 ], function (amber) {
 ], function (amber) {