Skip to content

Track duplicates in MockMap, refactor setThrowOnModuleCollision -> assertValid #238

Track duplicates in MockMap, refactor setThrowOnModuleCollision -> assertValid

Track duplicates in MockMap, refactor setThrowOnModuleCollision -> assertValid #238

Triggered via pull request December 16, 2024 13:02
Status Failure
Total duration 3m 45s
Artifacts

build-test-and-deploy.yml

on: pull_request
Matrix: test
Type check, lint, smoke test
38s
Type check, lint, smoke test
Tests with coverage
1m 15s
Tests with coverage
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 7 warnings
Type check, lint, smoke test: packages/metro-file-map/src/lib/MockMap.js#L15
'DuplicateError' is defined but never used. Allowed unused vars must match /^_/u
Type check, lint, smoke test
Process completed with exit code 1.
test (macos-latest, lts/*) / Tests [Node.js lts/*, macos-latest, Using yarn.lock]
Process completed with exit code 1.
Tests with coverage
Process completed with exit code 1.
test (ubuntu-latest, lts/*) / Tests [Node.js lts/*, ubuntu-latest, Using yarn.lock]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Type check, lint, smoke test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Type check, lint, smoke test: packages/metro-transform-plugins/src/addParamsToDefineCall.js#L26
Always use `== null` or `!= null` to check for `null` AND `undefined` values (even if you just expect either of them). Within fb we treat them as equal and `== null` checks for both
Tests with coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636