diff --git a/integration-tests/tests/src/tests/serialization.ts b/integration-tests/tests/src/tests/serialization.ts index 51fd6b3727..6b242d12ba 100755 --- a/integration-tests/tests/src/tests/serialization.ts +++ b/integration-tests/tests/src/tests/serialization.ts @@ -144,7 +144,7 @@ describe("toJSON functionality", () => { this.birthdaysSerialized.dict.grandparent = this.birthdaysSerialized; // Define the structures for the common test suite. - this.this.commonTests = { + this.commonTests = { Object: { type: Realm.Object, subject: p1, @@ -164,7 +164,7 @@ describe("toJSON functionality", () => { }); }); describe(`common tests`, () => { - for (const name in commonTestsTypes) { + for (const name of commonTestsTypes) { describe(`with Realm.${name}`, () => { it("implements toJSON", function (this: TestContext) { const test = this.commonTests[name]; diff --git a/vendor/realm-core b/vendor/realm-core index f5cfe3de10..5da7744b40 160000 --- a/vendor/realm-core +++ b/vendor/realm-core @@ -1 +1 @@ -Subproject commit f5cfe3de10e425d0f475a4691b20b160d64e3d2a +Subproject commit 5da7744b4056ad185c025bccf0924f17f73f7a91