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

Maintenance #1956

Merged
merged 15 commits into from
Feb 13, 2023
Merged

Maintenance #1956

merged 15 commits into from
Feb 13, 2023

Conversation

cspotcode
Copy link
Collaborator

@cspotcode cspotcode commented Feb 12, 2023

All internal stuff, nothing user-facing

  • extract test-lib to git dep
  • extract expect-stream / getStream to git dep
  • extract fs-fixture-builder to git dep, shared w/TypeDoc
  • get rid of lots of destructuring in tests b/c it made things less readable and less refactor-able
  • test against node 20, not 19, cuz 19 hasn't been built in a while
  • break src/test/helpers into multiple files
  • extract ctxTmpDir into context builder that also gives you an empty fixture
  • remove @yarnpkg/fslib dep
  • add hacky script to run against node nightly on linux

formatting in testlib
split `context` into `context` and `contextEach`; stop sprinkling `once` around
`beforeAll` -> `before`
`runIf` -> `if`
`runSerially` -> `serial`, makes `serial` overloaded
@codecov
Copy link

codecov bot commented Feb 12, 2023

Codecov Report

Merging #1956 (b7240ba) into main (a376570) will not change coverage.
The diff coverage is n/a.

@cspotcode cspotcode marked this pull request as ready for review February 13, 2023 02:47
@cspotcode cspotcode merged commit ba741fa into main Feb 13, 2023
@cspotcode cspotcode deleted the cleanup-exec-helpers-in-tests branch February 13, 2023 02:48
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.

1 participant