Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading from 5.12.9 to 6.0.0 makes the msw test suite segfault #919

Open
gthb opened this issue Jun 8, 2023 · 0 comments
Open

Upgrading from 5.12.9 to 6.0.0 makes the msw test suite segfault #919

gthb opened this issue Jun 8, 2023 · 0 comments

Comments

@gthb
Copy link

gthb commented Jun 8, 2023

Steps to reproduce:

  1. git clone git@github.com:mswjs/msw.git
  2. cd msw
  3. pnpm i
  4. pnpm build ; pnpm test:node and all should go well
  5. pnpm i tsup@6.0.0 (or any later version)
  6. pnpm build ; pnpm test:node and the node process segfaults:
...
 PASS  test/node/msw-api/auto-update-worker.node.test.ts (10.655 s)
 PASS  test/node/msw-api/cli/init.node.test.ts
 PASS  test/node/msw-api/setup-server/life-cycle-events/on.node.test.ts
 PASS  test/node/msw-api/setup-server/resetHandlers.node.test.ts
 PASS  test/node/msw-api/context/delay.node.test.ts
 PASS  test/node/msw-api/setup-server/scenarios/on-unhandled-request/callback.node.test.ts
 PASS  test/node/msw-api/setup-server/scenarios/on-unhandled-request/warn.node.test.ts
 PASS  test/node/msw-api/setup-server/scenarios/fall-through.node.test.ts
 PASS  test/node/msw-api/setup-server/scenarios/on-unhandled-request/default.node.test.ts
 PASS  test/node/rest-api/request/matching/all.node.test.ts

 RUNS  test/node/graphql-api/response-patching.node.test.ts
[1]    3794 segmentation fault  pnpm test:node

Discovered in mswjs/msw#1633

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant