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

feat: migrate mocha #186

Closed
wants to merge 1 commit into from
Closed

feat: migrate mocha #186

wants to merge 1 commit into from

Conversation

ericjeker
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Jan 17, 2022

✔️ Deploy Preview for vigilant-wescoff-04e480 ready!

🔨 Explore the source changes: b17074d

🔍 Inspect the deploy log: https://app.netlify.com/sites/vigilant-wescoff-04e480/deploys/61e4d05640ba5d0007e4f7ec

😎 Browse the preview: https://deploy-preview-186--vigilant-wescoff-04e480.netlify.app

@@ -33,7 +33,8 @@
"format": "prettier --write .",
"jsdoc": "gulp jsdoc",
"lint": "echo 'TODO eslint'",
"test": "mocha test/*.*.js"
"test": "mocha --require ts-node/register ./test/*.spec.ts",
"test:js": "mocha test/*.*.js"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you're also going to want to add this new command to the Github Testing CI Action (https://github.com/faker-js/faker/blob/main/.github/workflows/ci.yml) to ensure the tests still run during CI :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was thinking we could use this branch to migrate the tests in full. Not sure the other contributors wanted to move forward with that. But we can also run both the JS tests and TS tests, so we can PR on main instead, and just increase the number of tests?

Copy link
Contributor

@clarkerican clarkerican Jan 17, 2022

Choose a reason for hiding this comment

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

It might be nice to just branch off main, that may prevent us from losing tests from other PRs that may concurrently add, and then we could run both js and ts tests for now.

@Shinigami92
Copy link
Member

I will close this because we will directly migrate the tests to vitest #235

@ericjeker ericjeker deleted the migrate-mocha branch January 23, 2022 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants