Michael/plugins #360
Annotations
8 errors, 8 warnings, and 5 notices
|
Run yarn test:
packages/testwatch/tests/index.test.js#L116
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
' › Press Enter to trigger a test run.\n' +
'\n'
]
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
' › Press Enter to trigger a test run.\n' +
'\n'
]
at TestContext.<anonymous> (/home/runner/work/reporters/reporters/packages/testwatch/tests/index.test.js:116:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:964:7)
at async startSubtest (node:internal/test_runner/harness:218:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press s to suspend watch mode\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n\n' ],
expected: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n\n' ],
operator: 'deepStrictEqual'
}
}
|
Run yarn test:
packages/testwatch/tests/index.test.js#L121
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
' › Press Enter to trigger a test run.\n' +
'\n'
]
at async Promise.all (index 1) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
' › Press Enter to trigger a test run.\n' +
'\n'
]
at TestContext.<anonymous> (/home/runner/work/reporters/reporters/packages/testwatch/tests/index.test.js:121:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Promise.all (index 1)
at async Suite.run (node:internal/test_runner/test:964:7)
at async startSubtest (node:internal/test_runner/harness:218:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press s to suspend watch mode\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n\n' ],
expected: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n\n' ],
operator: 'deepStrictEqual'
}
}
|
Run yarn test:
packages/testwatch/tests/index.test.js#L126
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
' › Press Enter to trigger a test run.\n' +
'\n'
]
at async Promise.all (index 2) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
' › Press Enter to trigger a test run.\n' +
'\n'
]
at TestContext.<anonymous> (/home/runner/work/reporters/reporters/packages/testwatch/tests/index.test.js:126:12)
at async Test.run (node:internal/test_runner/test:640:9)
at async Promise.all (index 2)
at async Suite.run (node:internal/test_runner/test:964:7)
at async startSubtest (node:internal/test_runner/harness:218:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press s to suspend watch mode\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n\n' ],
expected: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n\n' ],
operator: 'deepStrictEqual'
}
}
|
Run yarn test:
packages/testwatch/tests/index.test.js#L148
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
'\n' +
'REPL Usage: Press w to show more.\n'
]
at async Promise.all (index 4) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
'\n' +
'REPL Usage: Press w to show more.\n'
]
at TestContext.<anonymous> (/home/runner/work/reporters/reporters/packages/testwatch/tests/index.test.js:148:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Promise.all (index 4)
at async Suite.run (node:internal/test_runner/test:964:7)
at async startSubtest (node:internal/test_runner/harness:218:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press s to suspend watch mode\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage: Press w to show more.\n' ],
expected: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage: Press w to show more.\n' ],
operator: 'deepStrictEqual'
}
}
|
Run yarn test:
packages/testwatch/tests/index.test.js#L153
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
'\n' +
'REPL Usage: Press w to show more.\n'
]
at async Promise.all (index 5) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
' › Press a to run all tests.\n' +
...
'\n' +
'REPL Usage: Press w to show more.\n'
]
at TestContext.<anonymous> (/home/runner/work/reporters/reporters/packages/testwatch/tests/index.test.js:153:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Promise.all (index 5)
at async Suite.run (node:internal/test_runner/test:964:7)
at async startSubtest (node:internal/test_runner/harness:218:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press s to suspend watch mode\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage: Press w to show more.\n' ],
expected: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage: Press w to show more.\n' ],
operator: 'deepStrictEqual'
}
}
|
Run yarn test:
packages/testwatch/tests/index.test.js#L158
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
+ ' › Press a to run all tests.\n' +
+ ' › Press p to filter by a file name pattern.\n' +
+ ' › Press t to filter by a test name pattern.\n' +
+ ' › Press q to quit.\n' +
+ ' › Press Enter to trigger a test run.\n',
+ '',
+ '✔ j - sum (*ms)\n' +
+ '✔ j - subtraction (*ms)\n' +
+ '✔ index - sum (*ms)\n' +
+ '✔ index - subtraction (*ms)\n' +
+ '\n' +
+ 'REPL Usage: Press w to show more.\n' +
+ '\x1B[1A\x1B[2K\x1B[1A\x1B[2K\n' +
+ 'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
- ' › Press a to run all tests.\n' +
- ' › Press p to filter by a file name pattern.\n' +
- ' › Press t to filter by a test name pattern.\n' +
- ' › Press q to quit.\n' +
- ' › Press Enter to trigger a test run.\n',
- '',
- '✔ j - sum (*ms)\n' +
- '✔ j - subtraction (*ms)\n' +
- '✔ index - sum (*ms)\n' +
- '✔ index - subtraction (*ms)\n' +
- '\n' +
- 'REPL Usage: Press w to show more.\n' +
- '\x1B[1A\x1B[2K\x1B[1A\x1B[2K\n' +
- 'REPL Usage\n' +
' › Press a to run all tests.\n' +
...
' › Press Enter to trigger a test run.\n' +
'\n'
]
at async Promise.all (index 6) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
'',
...
'\n' +
'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
+ ' › Press a to run all tests.\n' +
+ ' › Press p to filter by a file name pattern.\n' +
+ ' › Press t to filter by a test name pattern.\n' +
+ ' › Press q to quit.\n' +
+ ' › Press Enter to trigger a test run.\n',
+ '',
+ '✔ j - sum (*ms)\n' +
+ '✔ j - subtraction (*ms)\n' +
+ '✔ index - sum (*ms)\n' +
+ '✔ index - subtraction (*ms)\n' +
+ '\n' +
+ 'REPL Usage: Press w to show more.\n' +
+ '\x1B[1A\x1B[2K\x1B[1A\x1B[2K\n' +
+ 'REPL Usage\n' +
+ ' › Press s to suspend watch mode\n' +
- ' › Press a to run all tests.\n' +
- ' › Press p to filter by a file name pattern.\n' +
- ' › Press t to filter by a test name pattern.\n' +
- ' › Press q to quit.\n' +
- ' › Press Enter to trigger a test run.\n',
- '',
- '✔ j - sum (*ms)\n' +
- '✔ j - subtraction (*ms)\n' +
- '✔ index - sum (*ms)\n' +
- '✔ index - subtraction (*ms)\n' +
- '\n' +
- 'REPL Usage: Press w to show more.\n' +
- '\x1B[1A\x1B[2K\x1B[1A\x1B[2K\n' +
- 'REPL Usage\n' +
' › Press a to run all tests.\n' +
...
' › Press Enter to trigger a test run.\n' +
'\n'
]
at TestContext.<anonymous> (/home/runner/work/reporters/reporters/packages/testwatch/tests/index.test.js:158:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Promise.all (index 6)
at async Suite.run (node:internal/test_runner/test:964:7)
at async startSubtest (node:internal/test_runner/harness:218:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ '', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage\n › Press s to suspend watch mode\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n › Press q to quit.\n › Press Enter to trigger a test run.\n', '', '✔ j - sum (*ms)\n✔ j - subtraction (*ms)\n✔ index - sum (*ms)\n✔ index - subtraction (*ms)\n\nREPL Usage: Press w to show more.\n\x1B[1A\x1B[2K\x1B[1A\x1B[2K\nREPL Usage\n › Press s to suspend watch mode\n › Press a to run all tests.\n › Press p to filter by a file name pattern.\n › Press t to filter by a test name pattern.\n
|
Run yarn test
The operation was canceled.
|
Run yarn lint:
packages/mocha/index.js#L137
Unexpected console statement
|
Run yarn lint:
packages/mocha/index.js#L141
Unexpected console statement
|
Run yarn lint:
packages/mocha/tests/customReporter/reporter.js#L11
Unexpected console statement
|
Run yarn lint:
packages/testwatch/index.js#L16
Unexpected console statement
|
Run yarn lint:
packages/testwatch/index.js#L97
Unexpected unnamed async generator function
|
Run yarn lint:
packages/testwatch/index.js#L286
Unexpected console statement
|
Run yarn lint:
packages/testwatch/tests/fixtures/suspend-plugin.js#L14
Unexpected console statement
|
Run yarn lint:
packages/testwatch/tests/fixtures/suspend-plugin.js#L30
Unexpected console statement
|
Run yarn test
Total Tests: 1
Suites 📂: 0
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 1191.281ms
|
Run yarn test
Total Tests: 2
Suites 📂: 0
Passed ✅: 2
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 247.711ms
|
Run yarn test
Total Tests: 7
Suites 📂: 0
Passed ✅: 7
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 1192.965ms
|
Run yarn test
Total Tests: 2
Suites 📂: 0
Passed ✅: 2
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 284.122ms
|
Run yarn test
Total Tests: 4
Suites 📂: 0
Passed ✅: 4
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 295.189ms
|
Loading