Skip to content

Commit e4d5f70

Browse files
committed
use more-specific error-reporting trap
1 parent d1cf05b commit e4d5f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/simperium/channel_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ describe( 'Channel', function() {
423423

424424
channel.once( 'send', () => {
425425
// we should sent out our change the first time
426-
channel.on( 'error', done );
426+
bucket.once( 'error', done );
427427
channel.localQueue.once( 'queued', () => done( 'Should not queue duplicate changes' ) );
428428
channel.once( 'acknowledge', () => done() );
429429

0 commit comments

Comments
 (0)