From baa83214539c53008800256695abef21f8232708 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Fri, 11 Nov 2016 19:33:21 -0800 Subject: [PATCH] fix test --- tests/js/user-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/js/user-tests.js b/tests/js/user-tests.js index a8f4031a..359dcf01 100644 --- a/tests/js/user-tests.js +++ b/tests/js/user-tests.js @@ -203,7 +203,7 @@ module.exports = { var username = uuid(); // Because it waits for answer this takes some time.. return callbackTest((callback) => Realm.Sync.User.register('http://fake_host.local', username, 'password', callback), (error, user) => { - assertIsError(error, 'ECONNRESET'); + assertIsError(error); TestCase.assertUndefined(user); }); },