Skip to content

Commit

Permalink
Do not fail test if streams support typed arrays (nodejs#2978)
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina authored and Mert Can Altin committed Mar 26, 2024
1 parent bc5dead commit 7bdb424
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,9 @@ test('async iterator early return closes early', async (t) => {
await t.completed
})

test('async iterator yield unsupported TypedArray', async (t) => {
test('async iterator yield unsupported TypedArray', {
skip: !!require('stream')._isArrayBufferView
}, async (t) => {
t = tspl(t, { plan: 3 })
const server = createServer((req, res) => {
req.on('end', () => {
Expand Down

0 comments on commit 7bdb424

Please sign in to comment.