Skip to content

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

@marionebl

Description

@marionebl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions