fix: projects should use collectCoverageFrom option #14020
Annotations
7 errors and 2 warnings
run tests:
e2e/__tests__/multiProjectRunner.test.ts#L429
expect(received).not.toMatch(expected)
Expected pattern: not /colors\.js/
Received string: "Running one project: middleware
-----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|-------------------
All files | 21.87 | 27.27 | 40 | 21.87 |
src | 0 | 100 | 0 | 0 |
index.js | 0 | 100 | 0 | 0 | 1-17
src/controllers | 0 | 0 | 0 | 0 |
colors.js | 0 | 100 | 0 | 0 | 1-2
fruit.js | 0 | 0 | 0 | 0 | 1-12
src/middleware | 77.77 | 50 | 100 | 77.77 |
errors.js | 100 | 100 | 100 | 100 |
validate.js | 71.42 | 50 | 100 | 71.42 | 4,7
-----------------|---------|----------|---------|---------|-------------------
=============================== Coverage summary ===============================
Statements : 21.87% ( 7/32 )
Branches : 27.27% ( 3/11 )
Functions : 40% ( 2/5 )
Lines : 21.87% ( 7/32 )
================================================================================"
at toMatch (e2e/__tests__/multiProjectRunner.test.ts:429:26)
at coveredController (e2e/__tests__/multiProjectRunner.test.ts:458:5)
at Object.checkCovered (e2e/__tests__/multiProjectRunner.test.ts:666:9)
|
run tests:
e2e/__tests__/multiProjectRunner.test.ts#L445
expect(received).not.toMatch(expected)
Expected pattern: not /errors\.js/
Received string: "Running one project: controllers
-----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|-------------------
All files | 18.75 | 18.18 | 40 | 18.75 |
src | 0 | 100 | 0 | 0 |
index.js | 0 | 100 | 0 | 0 | 1-17
src/controllers | 66.66 | 40 | 100 | 66.66 |
colors.js | 100 | 100 | 100 | 100 |
fruit.js | 57.14 | 40 | 100 | 57.14 | 8-12
src/middleware | 0 | 0 | 0 | 0 |
errors.js | 0 | 100 | 0 | 0 | 1-2
validate.js | 0 | 0 | 0 | 0 | 1-10
-----------------|---------|----------|---------|---------|-------------------
=============================== Coverage summary ===============================
Statements : 18.75% ( 6/32 )
Branches : 18.18% ( 2/11 )
Functions : 40% ( 2/5 )
Lines : 18.75% ( 6/32 )
================================================================================"
at toMatch (e2e/__tests__/multiProjectRunner.test.ts:445:26)
at coveredMiddleware (e2e/__tests__/multiProjectRunner.test.ts:459:5)
at Object.checkCovered (e2e/__tests__/multiProjectRunner.test.ts:720:9)
|
run tests:
e2e/__tests__/multiProjectRunner.test.ts#L429
expect(received).not.toMatch(expected)
Expected pattern: not /colors\.js/
Received string: "Running one project: middleware
-----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|-------------------
All files | 21.87 | 27.27 | 40 | 21.87 |
src | 0 | 100 | 0 | 0 |
index.js | 0 | 100 | 0 | 0 | 1-17
src/controllers | 0 | 0 | 0 | 0 |
colors.js | 0 | 100 | 0 | 0 | 1-2
fruit.js | 0 | 0 | 0 | 0 | 1-12
src/middleware | 77.77 | 50 | 100 | 77.77 |
errors.js | 100 | 100 | 100 | 100 |
validate.js | 71.42 | 50 | 100 | 71.42 | 4,7
-----------------|---------|----------|---------|---------|-------------------
=============================== Coverage summary ===============================
Statements : 21.87% ( 7/32 )
Branches : 27.27% ( 3/11 )
Functions : 40% ( 2/5 )
Lines : 21.87% ( 7/32 )
================================================================================"
at toMatch (e2e/__tests__/multiProjectRunner.test.ts:429:26)
at coveredController (e2e/__tests__/multiProjectRunner.test.ts:458:5)
at Object.checkCovered (e2e/__tests__/multiProjectRunner.test.ts:666:9)
|
run tests:
e2e/__tests__/multiProjectRunner.test.ts#L445
expect(received).not.toMatch(expected)
Expected pattern: not /errors\.js/
Received string: "Running one project: controllers
-----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|-------------------
All files | 18.75 | 18.18 | 40 | 18.75 |
src | 0 | 100 | 0 | 0 |
index.js | 0 | 100 | 0 | 0 | 1-17
src/controllers | 66.66 | 40 | 100 | 66.66 |
colors.js | 100 | 100 | 100 | 100 |
fruit.js | 57.14 | 40 | 100 | 57.14 | 8-12
src/middleware | 0 | 0 | 0 | 0 |
errors.js | 0 | 100 | 0 | 0 | 1-2
validate.js | 0 | 0 | 0 | 0 | 1-10
-----------------|---------|----------|---------|---------|-------------------
=============================== Coverage summary ===============================
Statements : 18.75% ( 6/32 )
Branches : 18.18% ( 2/11 )
Functions : 40% ( 2/5 )
Lines : 18.75% ( 6/32 )
================================================================================"
at toMatch (e2e/__tests__/multiProjectRunner.test.ts:445:26)
at coveredMiddleware (e2e/__tests__/multiProjectRunner.test.ts:459:5)
at Object.checkCovered (e2e/__tests__/multiProjectRunner.test.ts:720:9)
|
run tests:
e2e/__tests__/multiProjectRunner.test.ts#L429
expect(received).not.toMatch(expected)
Expected pattern: not /colors\.js/
Received string: "Running one project: middleware
-----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|-------------------
All files | 21.87 | 27.27 | 40 | 21.87 |
src | 0 | 100 | 0 | 0 |
index.js | 0 | 100 | 0 | 0 | 1-17
src/controllers | 0 | 0 | 0 | 0 |
colors.js | 0 | 100 | 0 | 0 | 1-2
fruit.js | 0 | 0 | 0 | 0 | 1-12
src/middleware | 77.77 | 50 | 100 | 77.77 |
errors.js | 100 | 100 | 100 | 100 |
validate.js | 71.42 | 50 | 100 | 71.42 | 4,7
-----------------|---------|----------|---------|---------|-------------------
=============================== Coverage summary ===============================
Statements : 21.87% ( 7/32 )
Branches : 27.27% ( 3/11 )
Functions : 40% ( 2/5 )
Lines : 21.87% ( 7/32 )
================================================================================"
at toMatch (e2e/__tests__/multiProjectRunner.test.ts:429:26)
at coveredController (e2e/__tests__/multiProjectRunner.test.ts:458:5)
at Object.checkCovered (e2e/__tests__/multiProjectRunner.test.ts:666:9)
|
run tests:
e2e/__tests__/multiProjectRunner.test.ts#L445
expect(received).not.toMatch(expected)
Expected pattern: not /errors\.js/
Received string: "Running one project: controllers
-----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|-------------------
All files | 18.75 | 18.18 | 40 | 18.75 |
src | 0 | 100 | 0 | 0 |
index.js | 0 | 100 | 0 | 0 | 1-17
src/controllers | 66.66 | 40 | 100 | 66.66 |
colors.js | 100 | 100 | 100 | 100 |
fruit.js | 57.14 | 40 | 100 | 57.14 | 8-12
src/middleware | 0 | 0 | 0 | 0 |
errors.js | 0 | 100 | 0 | 0 | 1-2
validate.js | 0 | 0 | 0 | 0 | 1-10
-----------------|---------|----------|---------|---------|-------------------
=============================== Coverage summary ===============================
Statements : 18.75% ( 6/32 )
Branches : 18.18% ( 2/11 )
Functions : 40% ( 2/5 )
Lines : 18.75% ( 6/32 )
================================================================================"
at toMatch (e2e/__tests__/multiProjectRunner.test.ts:445:26)
at coveredMiddleware (e2e/__tests__/multiProjectRunner.test.ts:459:5)
at Object.checkCovered (e2e/__tests__/multiProjectRunner.test.ts:720:9)
|
run tests
Final attempt failed. Child_process exited with error code 1
|
run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading