Skip to content

Commit

Permalink
Point to updated Core commit and enable related tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
elle-j committed Jan 19, 2024
1 parent b140eba commit 88c8d28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions integration-tests/tests/src/tests/mixed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,12 +728,11 @@ describe("Mixed", () => {
expect(filtered.length).equals(0);

// Objects with a dictionary containing a key that matches `key`.
// TODO: Enable once Core fixes bug: https://github.com/realm/realm-core/issues/7255
// filtered = objects.filtered(`value.@keys == $0`, key);
// expect(filtered.length).equals(expectedFilteredCount);
filtered = objects.filtered(`value.@keys == $0`, key);
expect(filtered.length).equals(expectedFilteredCount);

// filtered = objects.filtered(`value.@keys == $0`, nonExistentKey);
// expect(filtered.length).equals(0);
filtered = objects.filtered(`value.@keys == $0`, nonExistentKey);
expect(filtered.length).equals(0);

// Objects with a dictionary with the key `key` matching any of the values inserted.
filtered = objects.filtered(`value.${key} IN $0`, insertedValues);
Expand Down
2 changes: 1 addition & 1 deletion packages/realm/src/tests/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import { expect } from "chai";

import { isPOJO } from "src/PropertyHelpers";
import { isPOJO } from "../PropertyHelpers";

describe("utils/helpers", () => {
describe("isPOJO()", () => {
Expand Down

0 comments on commit 88c8d28

Please sign in to comment.