question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I tried conversion package-by-package before but unfortunately, the testing types from @types/jasmine (like describe or it) are monorepo global. So this is an all or nothing task.

Looks like Jest uses most of the same expect syntax, so Jasmine -> Jest should be easier than Jasmine -> Mocha.

  • Migrate from jasmine2-custom-message to Jasmine native withContext (e.g. here). Not beatiful but we rarely need it and can get rid of one dependency
  • Migrate Jasmine -> Jest

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
karol-depkacommented, May 18, 2019

@webmaster128 Thank You very much for taking the time to explain all this! Much appreciated and a great gesture! Cheers!

1reaction
webmaster128commented, May 16, 2019

Hi @karol-depka, I jave a few strong indications:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating to Jest
If you'd like to try out Jest with an existing codebase, there are a number of ways to convert to Jest:
Read more >
Migrating to Jest - w3resource
That is obviously not what you intend to do, this tutorial will guide you on how to migrate an existing codebase to use...
Read more >
Migration from <=23.10 | ts-jest - GitHub Pages
You can use the config:migrate tool of ts-jest CLI if you're coming from an older version to help you migrate your Jest configuration....
Read more >
Migration Guide - Vitest
Migrating from Jest #. Vitest has been designed with a Jest compatible API, in order to make the migration from Jest as simple...
Read more >
jest-codemods - GitHub
Codemods that simplify migrating JavaScript and TypeScript test files from AVA, Chai, Expect.js (by Automattic), Expect@1.x (by mjackson), Jasmine, Mocha, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found