Skip to content

chore: reduce test flakiness#168

Merged
aduh95 merged 10 commits into
mainfrom
nock-on-tests
Sep 1, 2022
Merged

chore: reduce test flakiness#168
aduh95 merged 10 commits into
mainfrom
nock-on-tests

Conversation

@aduh95
Copy link
Copy Markdown
Contributor

@aduh95 aduh95 commented Aug 24, 2022

IIUC nock needs to run in the same process as being tested, and since most tests spawn their own child process, the previous setup was mostly ignored. Moving it to the child process seems to improve things.

@aduh95 aduh95 requested a review from arcanis August 24, 2022 10:56
Comment thread .github/workflows/ci.yml Outdated
Comment thread .yarnrc.yml Outdated
@aduh95
Copy link
Copy Markdown
Contributor Author

aduh95 commented Sep 1, 2022

@arcanis do you have an opinion on using node-modules linker? Or maybe there's a way of avoid that that I'm missing? Otherwise I'd like to marge this.

@aduh95 aduh95 merged commit c0df287 into main Sep 1, 2022
@aduh95 aduh95 deleted the nock-on-tests branch September 1, 2022 09:44
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