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 config test cases #6335

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

LingyuCoder
Copy link
Contributor

Summary

Checklist

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

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Apr 23, 2024
@LingyuCoder
Copy link
Contributor Author

LingyuCoder commented Apr 23, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @LingyuCoder and the rest of your teammates on Graphite Graphite

@LingyuCoder
Copy link
Contributor Author

!test-ng

@LingyuCoder LingyuCoder force-pushed the chore/hot-step-runtime-check branch from 5c2d80b to a051f56 Compare April 23, 2024 10:12
@LingyuCoder LingyuCoder force-pushed the chore/migrate-test-config branch from fb4b31d to b5d3860 Compare April 23, 2024 10:13
@LingyuCoder
Copy link
Contributor Author

!test-ng

Copy link
Contributor

🟢🟢🟢 Test new runner successed

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


> [email protected] test:ng /action-runner/_work/rspack/rspack
> pnpm --filter "@rspack/*" 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"})
Scope: 12 of 24 workspace projects
packages/rspack-test-tools test:ng$ 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"
packages/rspack-test-tools test:ng: jest-haste-map: Haste module naming collision: example-basic
packages/rspack-test-tools test:ng:   The following files share their name; please adjust your hasteImpl:
packages/rspack-test-tools test:ng:     * <rootDir>/tests/treeShakingCases/cjs-tree-shaking-basic/package.json
packages/rspack-test-tools test:ng:     * <rootDir>/tests/treeShakingCases/reexport-all-as/package.json
packages/rspack-test-tools test:ng: PASS tests/Diagnostics.test.js (70 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/HashTestCases.test.js (69 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/StatsTestCases.basictest.js (94 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/WatchTestCases.longtest.js (68 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/TestCasesNormal.basictest.js (5.243 s, 98 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/HotTestCasesWebWorker.test.js (7.043 s, 88 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/HotTestCasesWeb.test.js (7.239 s, 89 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/HotTestCasesNode.test.js (7.281 s, 87 MB heap size)
packages/rspack-test-tools test:ng: Test Suites: 8 passed, 8 total
packages/rspack-test-tools test:ng: Tests:       7 skipped, 954 passed, 961 total
packages/rspack-test-tools test:ng: Snapshots:   33 passed, 33 total
packages/rspack-test-tools test:ng: Time:        7.622 s
packages/rspack-test-tools test:ng: Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
packages/rspack-test-tools test:ng: Done
Test new runner successed

Base automatically changed from chore/hot-step-runtime-check to main April 23, 2024 12:01
@LingyuCoder LingyuCoder force-pushed the chore/migrate-test-config branch from 2300420 to 29581af Compare April 23, 2024 12:11
Copy link

netlify bot commented Apr 23, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 29581af
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/6627a58186edb800087d807a

@LingyuCoder LingyuCoder requested a review from hardfist April 23, 2024 12:16
@LingyuCoder
Copy link
Contributor Author

!test-ng

@LingyuCoder LingyuCoder mentioned this pull request Apr 23, 2024
2 tasks
Copy link
Contributor

🟢🟢🟢 Test new runner successed

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


> [email protected] test:ng /action-runner/_work/rspack/rspack
> pnpm --filter "@rspack/*" 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"})
Scope: 12 of 24 workspace projects
packages/rspack-test-tools test:ng$ 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"
packages/rspack-test-tools test:ng: jest-haste-map: Haste module naming collision: example-basic
packages/rspack-test-tools test:ng:   The following files share their name; please adjust your hasteImpl:
packages/rspack-test-tools test:ng:     * <rootDir>/tests/treeShakingCases/cjs-tree-shaking-basic/package.json
packages/rspack-test-tools test:ng:     * <rootDir>/tests/treeShakingCases/reexport-all-as/package.json
packages/rspack-test-tools test:ng: PASS tests/Diagnostics.test.js (70 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/HashTestCases.test.js (69 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/StatsTestCases.basictest.js (94 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/WatchTestCases.longtest.js (68 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/TestCasesNormal.basictest.js (98 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/HotTestCasesWebWorker.test.js (6.643 s, 88 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/HotTestCasesWeb.test.js (6.803 s, 89 MB heap size)
packages/rspack-test-tools test:ng: PASS tests/HotTestCasesNode.test.js (6.843 s, 87 MB heap size)
packages/rspack-test-tools test:ng: Test Suites: 8 passed, 8 total
packages/rspack-test-tools test:ng: Tests:       7 skipped, 954 passed, 961 total
packages/rspack-test-tools test:ng: Snapshots:   33 passed, 33 total
packages/rspack-test-tools test:ng: Time:        7.202 s
packages/rspack-test-tools test:ng: Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
packages/rspack-test-tools test:ng: Done
Test new runner successed

@LingyuCoder LingyuCoder enabled auto-merge (squash) April 23, 2024 12:36
@LingyuCoder LingyuCoder merged commit 476961a into main Apr 23, 2024
29 checks passed
@LingyuCoder LingyuCoder deleted the chore/migrate-test-config branch April 23, 2024 12:38
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