diff --git a/tests/js/session-tests.js b/tests/js/session-tests.js index 8850c083..aa926053 100644 --- a/tests/js/session-tests.js +++ b/tests/js/session-tests.js @@ -94,7 +94,7 @@ module.exports = { TestCase.assertEqual(session.config.error, config.sync.error); session._simulateError(123, 'simulated error'); - return wait(1000).then(() => { + return wait(2000).then(() => { TestCase.assertArrayLength(errors, 1); TestCase.assertEqual(errors[0][0].config.url, session.config.url); TestCase.assertEqual(errors[0][1].message, 'simulated error');