Kevin Sawicki 2016-08-24 16:59:54 -07:00
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ e1cf61f0cb
ΠšΠΎΠΌΠΌΠΈΡ‚ b688539fe9
1 ΠΈΠ·ΠΌΠ΅Π½Ρ‘Π½Π½Ρ‹Ρ… Ρ„Π°ΠΉΠ»ΠΎΠ²: 4 Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ 4 ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠΉ

ΠŸΡ€ΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ Ρ„Π°ΠΉΠ»

@ -175,11 +175,11 @@ describe('ipc module', function () {
})
it('supports TypedArray', function () {
let values = [1, 2, 3, 4]
const values = [1, 2, 3, 4]
assert.deepEqual(printName.typedArray(values), values)
values = new Int16Array([1, 2, 3, 4])
assert.deepEqual(printName.typedArray(values), values)
const int16values = new Int16Array([1, 2, 3, 4])
assert.deepEqual(printName.typedArray(int16values), int16values)
})
})
@ -309,7 +309,7 @@ describe('ipc module', function () {
})
it('can send instances of Buffer', function (done) {
var buffer = Buffer.from('hello')
const buffer = Buffer.from('hello')
ipcRenderer.once('message', function (event, message) {
assert.ok(buffer.equals(message))
done()