Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: switch to node:fs/promises #1403

Merged
merged 2 commits into from
Jan 21, 2025
Merged

test: switch to node:fs/promises #1403

merged 2 commits into from
Jan 21, 2025

Conversation

43081j
Copy link
Collaborator

@43081j 43081j commented Jan 19, 2025

Switches to node:fs/promises in tests

This also caught a couple of places where we were not awaiting FS operations, leading to flaky tests. Those are awaited now and should improve test runs.

@43081j
Copy link
Collaborator Author

43081j commented Jan 19, 2025

i didn't realise main has a bunch of conflicting changes, will figure it out

Moves to `node:fs/promises` in tests and fixes up some missing awaits of
FS operations.
test.mjs Outdated Show resolved Hide resolved
@43081j 43081j requested a review from paulmillr January 21, 2025 09:35
@paulmillr paulmillr merged commit 203fb66 into main Jan 21, 2025
22 checks passed
@43081j 43081j deleted the async-fs branch January 21, 2025 12:15
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.

2 participants