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

chore: add jsdom web runner #6286

Merged
merged 2 commits into from
Apr 19, 2024
Merged

chore: add jsdom web runner #6286

merged 2 commits into from
Apr 19, 2024

Conversation

LingyuCoder
Copy link
Contributor

Summary

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copy link

netlify bot commented Apr 18, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 1b85856
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/6621dee8e12c150008d7b8d0

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Apr 18, 2024
@LingyuCoder LingyuCoder requested a review from h-a-n-a April 18, 2024 13:02
@LingyuCoder
Copy link
Contributor Author

!test-ng

1 similar comment
@LingyuCoder
Copy link
Contributor Author

!test-ng

Copy link
Contributor

🟢🟢🟢 Test new runner successed

Task: https://github.com/web-infra-dev/rspack/actions/runs/8738720984


> monorepo@0.6.2 test:ng /home/webinfra/ec2-linux-ci-3/_work/rspack/rspack
> pnpm --filter "@rspack/test-tools" test:ng "--no-colors" "--silent=true" "--force-exit"

npm/darwin-arm64                         |  WARN  Unsupported platform: wanted: {"cpu":["arm64"],"os":["darwin"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})
npm/darwin-x64                           |  WARN  Unsupported platform: wanted: {"cpu":["x64"],"os":["darwin"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})
npm/win32-x64-msvc                       |  WARN  Unsupported platform: wanted: {"cpu":["x64"],"os":["win32"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})

> @rspack/test-tools@0.6.2 test:ng /home/webinfra/ec2-linux-ci-3/_work/rspack/rspack/packages/rspack-test-tools
> cross-env SNAPSHOT=legacy NO_COLOR=1 node --expose-gc --max-old-space-size=8192 --experimental-vm-modules ../../node_modules/jest-cli/bin/jest --logHeapUsage --config ./jest.config.legacy.js "--no-colors" "--silent=true" "--force-exit"

jest-haste-map: Haste module naming collision: example-basic
  The following files share their name; please adjust your hasteImpl:
    * <rootDir>/tests/treeShakingCases/cjs-tree-shaking-basic/package.json
    * <rootDir>/tests/treeShakingCases/reexport-all-as/package.json

PASS tests/Diagnostics.test.js (72 MB heap size)
PASS tests/HashTestCases.test.js (71 MB heap size)
PASS tests/StatsTestCases.basictest.js (96 MB heap size)
PASS tests/WatchTestCases.longtest.js (70 MB heap size)
PASS tests/TestCasesNormal.basictest.js (6.595 s, 100 MB heap size)
PASS tests/HotTestCasesWeb.test.js (9.115 s, 91 MB heap size)
PASS tests/HotTestCasesWebWorker.test.js (9.115 s, 90 MB heap size)
PASS tests/HotTestCasesNode.test.js (9.274 s, 89 MB heap size)
PASS tests/HotTestStepWeb.test.js (10.485 s, 131 MB heap size)
(node:1315159) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
PASS tests/ConfigTestCases.basictest.js (52.284 s, 420 MB heap size)
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.

Test Suites: 10 passed, 10 total
Tests:       9 skipped, 2550 passed, 2559 total
Snapshots:   58 passed, 58 total
Time:        53.37 s
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
Test new runner successed

@LingyuCoder LingyuCoder merged commit 0f0ecdf into main Apr 19, 2024
37 checks passed
@LingyuCoder LingyuCoder deleted the chore/jsdom-web-runner branch April 19, 2024 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants