Skip to content

Commit d7d0e51

Browse files
committed
fix: intermittant integ tests fails
1 parent 894ff1b commit d7d0e51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/spec/TaskManager-integ-test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
define(function (require, exports, module) {
2525
// Recommended to avoid reloading the integration test window Phoenix instance for each test.
2626

27-
const SpecRunnerUtils = require("spec/SpecRunnerUtils"),
28-
Strings = require("strings");
27+
const SpecRunnerUtils = require("spec/SpecRunnerUtils");
2928

3029
const testPath = SpecRunnerUtils.getTestPath("/spec/JSUtils-test-files");
3130

@@ -34,6 +33,7 @@ define(function (require, exports, module) {
3433
MainViewManager,
3534
TaskManager,
3635
StatusBar,
36+
Strings,
3737
PreferencesManager,
3838
CommandManager,
3939
Commands,
@@ -56,6 +56,7 @@ define(function (require, exports, module) {
5656
TaskManager = brackets.test.TaskManager;
5757
StatusBar = brackets.test.StatusBar;
5858
PreferencesManager = brackets.test.PreferencesManager;
59+
Strings = testWindow.Strings;
5960

6061
await SpecRunnerUtils.loadProjectInTestWindow(testPath);
6162
}, 30000);

0 commit comments

Comments
 (0)