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 have started a (new branch)[https://github.com/coryhouse/react-slingshot/tree/jest-migration].

The initial move was rather painless, but here are a few steps that I would see as required before merging in this change.

  • Documentation Update
    • Remove unused packages
    • Add jest documents and help links
  • Code Coverage - [https://facebook.github.io/jest/docs/configuration.html#configuration-options-configuration]
  • Add Snapshot tests (EDIT No longer stretch, this is a simple add and very nice to use. We should absolutely add at least one.)
  • Address Issues with Windows build (I think this is a path issue in the script)
  • Remove extra comments that were referencing chai assertions that no longer apply (I noticed reference to deep equal)
  • Create Progress Reporter (This will be addressed directly in jest, see thread on facebook/jest#2703 for more details)

Please comment with any question or if I am missing anything that should be added to the list above.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:26 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
kwelchcommented, Jan 26, 2017

In effort to move this forward I have submitted facebook/jest#2703 to add a summary flag to jest.

This will reduce the output to just the summary section on success. See image below.

screen shot 2017-01-26 at 12 05 59 am
5reactions
kwelchcommented, Jan 3, 2017

I am starting to free up and make look into continuing this transition. I will also look into the feedback on the minimal output.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating to Jest
js or Tape you can automatically migrate with Jest Codemods (see below). If you like chai, you can upgrade to Jest and continue...
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 >
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 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 for migrating to Jest https://github.com/facebook/jest - GitHub - skovhus/jest-codemods: Codemods for migrating to Jest ...
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