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

chore: replace mock-fs with memfs that works in node20 (backport #355) #640

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

aws-cdk-automation
Copy link
Contributor

Backport

This will backport the following commits from main to maintenance/v5.1:

Questions ?

Please refer to the Backport tool documentation

We are affected by this `mock-fs` bug:
tschaub/mock-fs#380
Seems like there is no activity on the repo recently, so we switch to a
new tool.

However `memfs` only works for the test case in `assemblies.test.ts`.
So we keep `mock-fs` for the `rosetta.test.ts` test cases.

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0

(cherry picked from commit f25a394)

# Conflicts:
#	.projen/deps.json
#	.projen/tasks.json
#	package.json
#	yarn.lock
@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Jan 10, 2024
Merged via the queue into maintenance/v5.1 with commit b44d4e3 Jan 10, 2024
10 checks passed
@aws-cdk-automation aws-cdk-automation deleted the backport/maintenance/v5.1/pr-355 branch January 10, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants