Use deepEqual for comparing type arrays
This commit is contained in:
parent
9ddb62c42a
commit
7a61966423
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ describe('ipc module', function () {
|
||||||
it('supports TypedArray', function () {
|
it('supports TypedArray', function () {
|
||||||
const values = [1, 2, 3, 4]
|
const values = [1, 2, 3, 4]
|
||||||
const typedArray = printName.typedArray(values)
|
const typedArray = printName.typedArray(values)
|
||||||
assert.equal(values.toString(), typedArray.toString())
|
assert.deepEqual(values, typedArray)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue