Skip to content

Commit 346d207

Browse files
authored
tests: make some internal tests more strict (#455)
1 parent d963974 commit 346d207

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/_data/specLoader.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ suite('test helpers: specLoader', () => {
4343
test('happy path', () => {
4444
const loaded = loadSpec('bom-1.4.SNAPSHOT.schema.json')
4545
// dummy test to see if loading worked somehow ...
46-
assert.deepEqual(loaded.definitions.affectedStatus.enum, expected_definitions_affectedStatus_enum)
46+
assert.deepStrictEqual(loaded.definitions.affectedStatus.enum, expected_definitions_affectedStatus_enum)
4747
})
4848
})
4949

@@ -64,7 +64,7 @@ suite('test helpers: specLoader', () => {
6464
'bom-1.4.SNAPSHOT.schema.json',
6565
'definitions', 'affectedStatus', 'enum')
6666
// dummy test to see if loading worked somehow ...
67-
assert.deepEqual(loaded, expected_definitions_affectedStatus_enum)
67+
assert.deepStrictEqual(loaded, expected_definitions_affectedStatus_enum)
6868
})
6969
})
7070

@@ -74,7 +74,7 @@ suite('test helpers: specLoader', () => {
7474
'bom-1.4.SNAPSHOT.schema.json',
7575
'affectedStatus')
7676
// dummy test to see if loading worked somehow ...
77-
assert.deepEqual(loaded, expected_definitions_affectedStatus_enum)
77+
assert.deepStrictEqual(loaded, expected_definitions_affectedStatus_enum)
7878
})
7979
})
8080
})

0 commit comments

Comments
 (0)