Discard usage of deprecated APIs.

This commit is contained in:
Cheng Zhao 2014-04-29 11:54:12 +08:00
parent ac31dc9672
commit 6df86afef8
3 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ describe 'ipc module', ->
describe 'ipc.sendSync', ->
it 'can be replied by setting event.returnValue', ->
msg = ipc.sendChannelSync 'echo', 'test'
msg = ipc.sendSync 'echo', 'test'
assert.equal msg, 'test'
it 'does not crash when reply is not sent and browser is destroyed', (done) ->