💄
This commit is contained in:
parent
d56a7d75de
commit
d88676bf65
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ describe 'protocol API', ->
|
||||||
$.ajax
|
$.ajax
|
||||||
url: 'atom-file-job://' + __filename
|
url: 'atom-file-job://' + __filename
|
||||||
success: (data) ->
|
success: (data) ->
|
||||||
console.log data
|
content = require('fs').readFileSync __filename
|
||||||
|
assert.equal data, String(content)
|
||||||
done()
|
done()
|
||||||
error: (xhr, errorType, error) ->
|
error: (xhr, errorType, error) ->
|
||||||
assert false, 'Got error: ' + errorType + ' ' + error
|
assert false, 'Got error: ' + errorType + ' ' + error
|
||||||
|
|
Loading…
Reference in a new issue