Skip to content

Commit d8aa96a

Browse files
committed
make the window.id test resilient to off-by-one errors
1 parent aa71821 commit d8aa96a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ asyncTest("can call require() twice for the same namespace and get the exact sam
255255
});
256256

257257
asyncTest("can call traditional asynchronous echo function when global id is set", function(){
258-
window.id = 1;
258+
window.id = 999;
259259
var testlib = loadNewTestingLibraryWithLightningjs();
260260
expect(1);
261261
testlib("asynchronousEcho", "hello world", function(echoText) {

0 commit comments

Comments
 (0)