Skip to content

Commit

Permalink
Do not fail test if streams support typed arrays (#2978)
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Mar 21, 2024
1 parent dd3918f commit 2252a5f
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 2252a5f

Please sign in to comment.