Skip to content

Commit

Permalink
Make test ready for node 18 (#4505)
Browse files Browse the repository at this point in the history
  • Loading branch information
kneth committed Apr 21, 2022
1 parent 12139a4 commit f02968c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ x.x.x Release notes (yyyy-MM-dd)
* File format: generates Realms with format v22 (reads and upgrades file format v5 or later for non-synced Realm, upgrades file format v10 or later for synced Realms).

### Internal
* Improved documentation for `Realm.copyBundledRealmFiles`
* Improved documentation for `Realm.copyBundledRealmFiles`.
* Updated a test to be ready for node 18.

10.16.0 Release notes (2022-4-12)
=============================================================
Expand Down
7 changes: 4 additions & 3 deletions tests/js/app-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ module.exports = {
return reject(`Able to log in with config ${JSON.stringify(conf)}`);
})
.catch((err) => {
TestCase.assertEqual(
err.message,
"request to http://localhost:9999/api/client/v2.0/app/smurf/location failed, reason: connect ECONNREFUSED 127.0.0.1:9999",
TestCase.assertTrue(
err.message.startsWith(
"request to http://localhost:9999/api/client/v2.0/app/smurf/location failed, reason: connect ECONNREFUSED",
),
);
return resolve();
});
Expand Down

0 comments on commit f02968c

Please sign in to comment.