Skip to content

fix: Migrate to Jest#101

Merged
dipasqualew merged 2 commits into
masterfrom
100/dipasqualew/Migrate-to-Jest
Sep 21, 2020
Merged

fix: Migrate to Jest#101
dipasqualew merged 2 commits into
masterfrom
100/dipasqualew/Migrate-to-Jest

Conversation

@dipasqualew
Copy link
Copy Markdown
Contributor

When we will migrate to TypeScript, we will test the repository with TS-Jest. Migrating the tests beforehand will facilitate the TypeScript migration.

  • Postfixed all test files with .test.js.
  • Replaced Mocha + Chai + Serverless Mocha Plugin with Jest
  • Adapted all unit tests to use the Jest syntax
  • Removed console.log outputs in tests
  • Moved Babel config in babel.config.js

Closes #100

When we will migrate to TypeScript, we will test the repository with TS-Jest. Migrating the tests beforehand will facilitate the TypeScript migration.

- [x] Postfixed all test files with `.test.js`.
- [x] Replaced Mocha + Chai + Serverless Mocha Plugin with Jest
- [x] Adapted all unit tests to use the Jest syntax
- [x] Removed console.log outputs in tests
- [x] Moved Babel config in `babel.config.js`
@dipasqualew dipasqualew changed the title fix: Migrate to Jest #100 fix: Migrate to Jest Sep 17, 2020
@dipasqualew dipasqualew merged commit 727e543 into master Sep 21, 2020
@lebaz20
Copy link
Copy Markdown
Contributor

lebaz20 commented Sep 21, 2020

🎉 This PR is included in version 1.1.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@seb-cr seb-cr deleted the 100/dipasqualew/Migrate-to-Jest branch August 22, 2022 09:20
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.

Migrate to Jest

2 participants