Skip to content

Commit

Permalink
Use strictEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
thoom76 committed Jul 17, 2024
1 parent 8fd3461 commit 46e5f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/array-items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test('Create', async () => {
expect(item.arrayWithTypedItems).toBeDefined()
expect(item.arrayWithTypedItems.length).toBe(1)
expect(item.arrayWithTypedItems[0].bar).toBe('Bar')
expect(item.arrayWithEnumItems).toBe(expected.arrayWithEnumItems)
expect(item.arrayWithEnumItems).toStrictEqual(expected.arrayWithEnumItems)
expect(item.arrayWithoutTypedItems.length).toBe(4)
expect(item.arrayWithoutTypedItems[0]).toBe('a')

Expand Down

0 comments on commit 46e5f91

Please sign in to comment.