replayio / node

Integration of the node.js runtime with the record/replay driver
https://nodejs.org/
Other
20 stars 3 forks source link

replay-node creates no recordings for jest in a Yarn PnP project #103

Open marionebl opened 1 year ago

marionebl commented 1 year ago

Version

v16.18.0

Platform

Darwin VT62F39XMV 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64

Subsystem

No response

What steps will reproduce the bug?

mkdir test
cd test
yarn init -y
yarn set version berry
yarn add @replayio/node @replayio/replay jest
echo "test('hello, world', () => { expect(true).toBe(true) })" > hello.test.js
yarn replay-node --exec jest hello.test.js # or yarn replay-node --exec yarn jest -- hello.test.js
yarn replay ls

How often does it reproduce? Is there a required condition?

100% of the time

What is the expected behavior?

Creates replay

What do you see instead?

Creates no recording

$ yarn replay ls
ID  Status  Title  Created At

Additional information

$ yarn -v 4.0.0-rc.42

$ yarn jest --version 29.5.0

jasonLaster commented 1 year ago

Hi @marionebl, @jaril is about to look into Jest. Come find us in our https://replay.io/discord