Skip to content

Commit

Permalink
Repro of #1863
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed Jan 7, 2024
1 parent 81ce607 commit e193d3f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/tests-live-query.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ const mutsAndExpects = () => [
]),
{
multiEntry1: [2],
multiEntry2: [3]
multiEntry2: [3],
multiEntry3: [{id: 2, tags: ["Apa", "x", "y"]}]
}
]
]
Expand Down Expand Up @@ -564,7 +565,8 @@ promisedTest("Full use case matrix", async ()=>{
friendsOver18: () => db.friends.where('age').above(18).toArray(),

multiEntry1: () => db.multiEntry.where('tags').startsWith('A').primaryKeys(),
multiEntry2: () => db.multiEntry.where({tags: "fooTag"}).primaryKeys()
multiEntry2: () => db.multiEntry.where({tags: "fooTag"}).primaryKeys(),
multiEntry3: () => db.multiEntry.where({tags: "x"}).toArray(),
};
const expectedInitialResults = {
itemsToArray: [{id: 1}, {id: 2}, {id: 3}],
Expand All @@ -589,7 +591,8 @@ promisedTest("Full use case matrix", async ()=>{
friendsOver18: [],

multiEntry1: [],
multiEntry2: []
multiEntry2: [],
multiEntry3: []
}
let flyingNow = 0;
//let signal = new Signal();
Expand Down

0 comments on commit e193d3f

Please sign in to comment.