This implementation is experimental. It is not configured for use with Replay Test Teams.
You can record jest using
replay-node
. To do so:- Install
replay-node
, as described here.
- Run
replay-node --exec $jestCmd
to record the test. For example:replay-node --exec npm test
would record all of the tests run by the test script in yourpackage.json
,replay-node --exec npm run test -- specific.test.ts
would pass โ`specific.test.ts`โ tonpm run test
and record that.