Skip to content

Commit

Permalink
fixupo
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed May 8, 2023
1 parent fbb1f4c commit 5578723
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion build/replacements.mjs
Expand Up @@ -51,6 +51,8 @@ const internalStreamsRequireStream = ["require\\('stream'\\)", "require('../../s

const internalStreamsRequireStreams = ["require\\('internal/streams/([^']+)'\\)", "require('./$1')"]

const streamSlashPromisesToStreamDotPromises= ["require\\('(node:)?stream/promises'\\)", "require('../../lib/stream').promises"]

const internalStreamsRequireUtil = [
"require\\('internal/util(?:/(?:debuglog|inspect))?'\\)",
"require('../../ours/util')"
Expand Down Expand Up @@ -301,7 +303,10 @@ export const replacements = {
testParallelTicksReenableConsoleLog,
testParallelTickSaveHook
],
'test/parallel/test-stream3-pipeline-async-iterator.js': [internalStreamsNoRequireAbortController],
'test/parallel/test-stream3-pipeline-async-iterator.js': [
internalStreamsNoRequireAbortController,
streamSlashPromisesToStreamDotPromises
],
'test/parallel/test-stream-compose-operator.js': [internalStreamsNoRequireAbortController],
'test/parallel/test-stream2-readable-from-list.js': [testParallelReadableBufferListInspect],
'README.md': [readmeInfo, readmeLink]
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stream3-pipeline-async-iterator.js
Expand Up @@ -7,7 +7,7 @@ const silentConsole = {
log() {},
error() {}
}
const { pipeline } = require('node:stream/promises')
const { pipeline } = require('../../lib/stream').promises
{
// Ensure that async iterators can act as readable and writable streams
async function* myCustomReadable() {
Expand Down

0 comments on commit 5578723

Please sign in to comment.