Skip to content

Commit

Permalink
uncomment lines from pullQueue test
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrofbass committed Nov 23, 2024
1 parent 86a9896 commit 60de38c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/redux-middleware/__tests__/pullQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,14 @@ it.skip('edit thought with buffered descendants', async () => {

await matchContextsChildren(db, [HOME_TOKEN], [{ value: 'x' }, { value: 'k' }])
expect(await getContext(db, ['a'])).toBeFalsy()
// expect(await getContext(db, ['a', 'b'])).toBeFalsy()
// expect(await getContext(db, ['a', 'b', 'c'])).toBeFalsy()
// expect(await getContext(db, ['a', 'b', 'c', 'd'])).toBeFalsy()
// expect(await getContext(db, ['a', 'b', 'c', 'd', 'e'])).toBeFalsy()

// await matchContextsChildren(db, ['k'], [{ value: 'm' }, { value: 'b' }])
// await matchContextsChildren(db, ['k!', 'b'], [{ value: 'c' }])
// await matchContextsChildren(db, ['k!', 'b', 'c'], [{ value: 'd' }])
// await matchContextsChildren(db, ['k!', 'b', 'c', 'd'], [{ value: 'e' }])
// await matchContextsChildren(db, ['k!', 'b', 'c', 'd', 'e'], [])
expect(await getContext(db, ['a', 'b'])).toBeFalsy()
expect(await getContext(db, ['a', 'b', 'c'])).toBeFalsy()
expect(await getContext(db, ['a', 'b', 'c', 'd'])).toBeFalsy()
expect(await getContext(db, ['a', 'b', 'c', 'd', 'e'])).toBeFalsy()

await matchContextsChildren(db, ['k'], [{ value: 'm' }, { value: 'b' }])
await matchContextsChildren(db, ['k!', 'b'], [{ value: 'c' }])
await matchContextsChildren(db, ['k!', 'b', 'c'], [{ value: 'd' }])
await matchContextsChildren(db, ['k!', 'b', 'c', 'd'], [{ value: 'e' }])
await matchContextsChildren(db, ['k!', 'b', 'c', 'd', 'e'], [])
})

0 comments on commit 60de38c

Please sign in to comment.