mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 02:23:28 +08:00
9 lines
350 B
CoffeeScript
9 lines
350 B
CoffeeScript
describe '"nylas" 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', 'nylas://account-sidebar/package.json', true)
|
|
request.send()
|
|
|
|
waitsFor 'request to be done', -> called is true
|