Add spec for Int16Array remote parameter
This commit is contained in:
parent
a1a7b1779c
commit
e1cf61f0cb
1 changed files with 5 additions and 3 deletions
|
@ -175,9 +175,11 @@ describe('ipc module', function () {
|
|||
})
|
||||
|
||||
it('supports TypedArray', function () {
|
||||
const values = [1, 2, 3, 4]
|
||||
const typedArray = printName.typedArray(values)
|
||||
assert.deepEqual(values, typedArray)
|
||||
let values = [1, 2, 3, 4]
|
||||
assert.deepEqual(printName.typedArray(values), values)
|
||||
|
||||
values = new Int16Array([1, 2, 3, 4])
|
||||
assert.deepEqual(printName.typedArray(values), values)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue