mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
10 lines
338 B
CoffeeScript
10 lines
338 B
CoffeeScript
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.send()
|
|
|
|
waitsFor 'request to be done', -> called is true
|