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: migrate cases from crates/rspack to packages/rspack-test-tools #6111

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

LingyuCoder
Copy link
Collaborator

@LingyuCoder LingyuCoder commented Apr 3, 2024

Summary

Checklist

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

Copy link

netlify bot commented Apr 3, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 2a69cab
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/660d331dc443360008189089

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

!test-ng

@LingyuCoder
Copy link
Collaborator Author

!test-ng

Copy link
Contributor

github-actions bot commented Apr 3, 2024

🟢🟢🟢 Test new runner successed

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


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

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.5.9 test:ng /home/webinfra/ec2-linux-ci-0/_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"

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 (49 MB heap size)
PASS tests/HashTestCases.test.js (48 MB heap size)
PASS tests/StatsTestCases.basictest.js (73 MB heap size)
PASS tests/WatchTestCases.longtest.js (47 MB heap size)
PASS tests/TestCasesNormal.basictest.js (5.548 s, 76 MB heap size)
PASS tests/HotTestCasesWebWorker.test.js (7.991 s, 66 MB heap size)
PASS tests/HotTestCasesNode.test.js (8.208 s, 65 MB heap size)
PASS tests/HotTestCasesWeb.test.js (8.309 s, 67 MB heap size)
(node:934993) 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 (47.594 s, 330 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: 9 passed, 9 total
Tests:       4 skipped, 2312 passed, 2316 total
Snapshots:   56 passed, 56 total
Time:        48.564 s

@LingyuCoder LingyuCoder enabled auto-merge (squash) April 3, 2024 11:01
@LingyuCoder LingyuCoder merged commit c220738 into main Apr 3, 2024
26 checks passed
@LingyuCoder LingyuCoder deleted the chore/migrate-builtin-cases-rspack branch April 3, 2024 12:28
JSerFeng pushed a commit that referenced this pull request Apr 7, 2024
…#6111)

* chore: migrate cases from crates/rspack to test-tools

* test: flush snapshot

* test: flush snapshot

* test: flush snapshot
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.

None yet

2 participants