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: update 'cosmic-swingset' package to use AVA #1602

Merged
merged 2 commits into from
Aug 24, 2020
Merged

Conversation

warner
Copy link
Member

@warner warner commented Aug 23, 2020

I had to make the tests run with --serial, because (I think) test-home.js and test-make.js both try to use the same directory. I changed test-home.js to run all the individual tests serially, with a setup at the start and teardown at the end, to match the previous behavior.

refs #1568

@warner warner requested a review from michaelfig August 23, 2020 23:52
Per @michaelfig, test-scenario3-setup.js is not necessary, because test-home
exercises the same thing. By removing it, we can run all the test *files* in
parallel (removing the `ava --serial` argument). We still run the
test *functions* within `test-home.js` serially, because they all interact
with the same running system.

But by removing `--serial`, we will be able to run the top-level `yarn test`
in parallel across all packages.
Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

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

LGTM! If all you delete is test-scenario3-setup.js, consider my approval to still be in force.

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