Skip to content

Commit

Permalink
Update tests/globby.js
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
fisker and sindresorhus committed Jul 4, 2023
1 parent 4f7a43c commit cdb25bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/globby.js
Expand Up @@ -53,7 +53,7 @@ const streamToArray = async stream => {
const runGlobby = async (t, patterns, options) => {
const syncResult = globbySync(patterns, options);
const promiseResult = await globby(patterns, options);
// TODO: Use `Array.fromAsync` when Node.js supports it
// TODO: Use `stream.toArray()` when targeting Node.js 16.
const streamResult = await streamToArray(globbyStream(patterns, options));

const result = stabilizeResult(promiseResult);
Expand Down

0 comments on commit cdb25bc

Please sign in to comment.