Skip to content

Commit 7bdb424

Browse files
mcollinaMert Can Altin
authored and
Mert Can Altin
committed
Do not fail test if streams support typed arrays (nodejs#2978)
Signed-off-by: Matteo Collina <[email protected]>
1 parent bc5dead commit 7bdb424

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/client.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,9 @@ test('async iterator early return closes early', async (t) => {
20012001
await t.completed
20022002
})
20032003

2004-
test('async iterator yield unsupported TypedArray', async (t) => {
2004+
test('async iterator yield unsupported TypedArray', {
2005+
skip: !!require('stream')._isArrayBufferView
2006+
}, async (t) => {
20052007
t = tspl(t, { plan: 3 })
20062008
const server = createServer((req, res) => {
20072009
req.on('end', () => {

0 commit comments

Comments
 (0)