Skip to content

Commit

Permalink
catch append error in apply test (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
chm-diederichs authored Mar 28, 2024
1 parent 4d8b814 commit 823b575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ test('apply - catch exception', async t => {
})

test('apply - uncaught exception', async t => {
t.plan(2)
t.plan(3)

const [store] = await createStores(1, t)

Expand All @@ -516,7 +516,7 @@ test('apply - uncaught exception', async t => {
valueEncoding: 'json'
})

a.append('trigger')
await t.exception(a.append('trigger'))

// should throw uncaught exception
await t.exception(error, /Synthetic/)
Expand Down

0 comments on commit 823b575

Please sign in to comment.