Fix assert
parent
0a3d08244a
commit
8b1a637b3c
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in New Issue