Skip to content

Refactor tests and bump TS version #1475

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

Merged
merged 11 commits into from
Sep 26, 2021
Merged

Refactor tests and bump TS version #1475

merged 11 commits into from
Sep 26, 2021

Conversation

cspotcode
Copy link
Collaborator

@cspotcode cspotcode commented Sep 26, 2021

AVA macros ended up being confusing for our use-cases, at least in my opinion: plain functions are clearer. But using .context() is working well, so refactoring uses that more; places things on context instead of letting them sit in suite-local scope.

Splits tests into multiple .spec.ts files. The goal is to be easier to read and navigate tests.

Splitting into multiple .spec files increases concurrency; taxes GH Actions more; causes timing issues. So I've made changes to REPL tests to have longer timeouts but to end early when expected patterns are detected on stdout/stderr.

@codecov
Copy link

codecov bot commented Sep 26, 2021

Codecov Report

Merging #1475 (bf7bf23) into main (a44e759) will not change coverage.
The diff coverage is n/a.

@cspotcode cspotcode merged commit 6e6bf63 into main Sep 26, 2021
@cspotcode cspotcode added this to the 10.3.0 milestone Oct 10, 2021
@cspotcode cspotcode deleted the refactor-tests branch October 11, 2021 03:45
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