Skip to content

Conversation

@tadhglewis
Copy link
Contributor

@tadhglewis tadhglewis commented Nov 9, 2025

WIP

Resolves #2101

@changeset-bot
Copy link

changeset-bot bot commented Nov 9, 2025

⚠️ No Changeset found

Latest commit: 33661cd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Comment on lines +11 to +16
jest.mock('node:fs/promises', () => ({
...jest.requireActual('node:fs/promises'),
glob: async function* (pat: string, opts?: any) {
const actualGlob = jest.requireActual('node:fs/promises').glob;
yield* actualGlob(pat, { ...opts, fs: memfs as any });
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ew

Comment on lines +34 to +36
const files = await Array.fromAsync(
glob(patterns[0]!, { exclude: ['**/.git', '**/node_modules'] }),
);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace fast-glob with fs.glob

1 participant