This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nathan Sobo
committed
Sep 19, 2015
1 parent
1f395a7
commit 206e846
Showing
3 changed files
with
54 additions
and
54 deletions.
There are no files selected for viewing
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,9 +1,9 @@ | ||
describe '"atom" protocol URL', -> | ||
it 'sends the file relative in the package as response', -> | ||
called = false | ||
request = new XMLHttpRequest(); | ||
request.addEventListener('load', -> called = true); | ||
request.open('GET', 'atom://async/package.json', true); | ||
request = new XMLHttpRequest() | ||
request.addEventListener('load', -> called = true) | ||
request.open('GET', 'atom://async/package.json', true) | ||
request.send() | ||
|
||
waitsFor 'request to be done', -> called is 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