-
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Fix spec files running with jasmine 2
- Loading branch information
Showing
53 changed files
with
3,992 additions
and
3,101 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
describe('"atom" protocol URL', () => | ||
it('sends the file relative in the package as response', function() { | ||
let called = false; | ||
describe('"atom" protocol URL', () => { | ||
it('sends the file relative in the package as response', (done) => { | ||
const request = new XMLHttpRequest(); | ||
request.addEventListener('load', () => (called = true)); | ||
request.addEventListener('load', () => { | ||
done(); | ||
}); | ||
request.open('GET', 'atom://async/package.json', true); | ||
request.send(); | ||
|
||
waitsFor('request to be done', () => called === true); | ||
})); | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.