Fix specs.
This commit is contained in:
Родитель
d0abc38afe
Коммит
9031dcbb2f
|
@ -18,7 +18,6 @@ describe 'protocol module', ->
|
||||||
it 'calls the callback when scheme is visited', (done) ->
|
it 'calls the callback when scheme is visited', (done) ->
|
||||||
protocol.registerProtocol 'test2', (request) ->
|
protocol.registerProtocol 'test2', (request) ->
|
||||||
assert.equal request.url, 'test2://test2'
|
assert.equal request.url, 'test2://test2'
|
||||||
assert.equal request.referrer, window.location.toString()
|
|
||||||
protocol.unregisterProtocol 'test2'
|
protocol.unregisterProtocol 'test2'
|
||||||
done()
|
done()
|
||||||
$.get 'test2://test2', ->
|
$.get 'test2://test2', ->
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"formidable": "~1.0.14",
|
"formidable": "~1.0.14",
|
||||||
"pathwatcher": "1.3.1",
|
"pathwatcher": "1.4.*",
|
||||||
"q": "0.9.7",
|
"q": "0.9.7",
|
||||||
"mocha": "~1.18.2",
|
"mocha": "~1.18.2",
|
||||||
"runas": "0.5.*",
|
"runas": "0.6.*",
|
||||||
"temp": "~0.6.0",
|
"temp": "~0.6.0",
|
||||||
"walkdir": "~0.0.7"
|
"walkdir": "~0.0.7"
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче