Fix assert

master
Frédéric Matte 2022-12-06 19:56:49 -05:00
parent 0a3d08244a
commit 8b1a637b3c
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const test = metaltest('Metaltest')
export { test }
test('success', () => new Promise((s, f) => setTimeout(s, 500)))
test('not equal', () => assert.notEqual({ a: 1 }, { a: 2 }))
test('not equal', () => assert.notDeepEqual({ a: 1 }, { a: 2 }))
test('fail with the message', () => new Promise((s, f) => setTimeout(s, 500)))
test('throw', () => {
return assert.rejects(async () => {