If the Firefox source folder happens to be called firefox then jest misses a bunch of tests
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: miker, Assigned: miker)
References
Details
Attachments
(1 file)
If the Firefox source folder happens to be called firefox then jest misses a bunch of tests.
This is because of this line in devtools/client/debugger/jest-test.config.js
:
modulePathIgnorePatterns: ["test/mochitest", "firefox/"],
The fix is simple:
modulePathIgnorePatterns: ["test/mochitest", "<rootDir>/firefox/"],
Assignee | ||
Comment 1•6 years ago
|
||
Comment 4•6 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=255016845&repo=autoland&lineNumber=744
Backout link: https://hg.mozilla.org/integration/autoland/rev/022ed2dbf7c0e62f9c5b74d3750d78c85ce5e423
[task 2019-07-05T21:56:27.470Z] Test Suites: 2 failed, 205 passed, 207 total
[task 2019-07-05T21:56:27.470Z] Tests: 5 failed, 8 skipped, 1736 passed, 1749 total
[task 2019-07-05T21:56:27.470Z] Snapshots: 440 passed, 440 total
[task 2019-07-05T21:56:27.470Z] Time: 61.477s
[task 2019-07-05T21:56:27.470Z] Ran all test suites in 5 projects.
[task 2019-07-05T21:56:27.470Z] error Command failed with exit code 1.
[task 2019-07-05T21:56:27.475Z] TEST-UNEXPECTED-FAIL jest | ● firefox commands › getProperties › empty response
[task 2019-07-05T21:56:27.475Z] TEST-UNEXPECTED-FAIL jest | ● firefox commands › getProperties › simple properties
[task 2019-07-05T21:56:27.475Z] TEST-UNEXPECTED-FAIL jest | ● firefox commands › getProperties › getter values
[task 2019-07-05T21:56:27.475Z] TEST-UNEXPECTED-FAIL jest | ● firefox commands › getProperties › new getter values
[task 2019-07-05T21:56:27.475Z] TEST-UNEXPECTED-FAIL jest | ● firefox onConnect › wait for sources at startup
[task 2019-07-05T21:56:27.475Z] TEST START | Stylelint
[task 2019-07-05T21:56:29.358Z] yarn run v1.9.4
[task 2019-07-05T21:56:29.358Z] $ stylelint "src/components/**/*.css"
[task 2019-07-05T21:56:29.358Z] Done in 1.51s.
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
bugherder |
Description
•