Replace mocha with Node's test suit #724
on-pull-request.yml
on: pull_request
Run Lint and Format
13s
Matrix: Run Tests
Annotations
6 errors, 2 warnings, and 2 notices
Run Tests (22.x)
The job was canceled because "_18_x" failed.
|
Run Tests (22.x)
The operation was canceled.
|
should default to the enviroment crypto.subtle (skip if not defined):
test/index.test.js#L144
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'skip')
at async Promise.all (index 0) {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'skip')
at TestContext.<anonymous> (file:///home/runner/work/whatsapp-api-js/whatsapp-api-js/test/index.test.js:144:26)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Test.start (node:internal/test_runner/test:542:17)
at node:internal/test_runner/test:946:71
at node:internal/per_context/primordials:487:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:455:29)
at node:internal/per_context/primordials:487:9
at Array.map (<anonymous>),
code: 'ERR_TEST_FAILURE'
}
|
Run Tests (18.x)
Process completed with exit code 1.
|
Run Lint and Format
Process completed with exit code 1.
|
Run Tests (20.x)
The job was canceled because "_18_x" failed.
|
Run Tests (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Lint and Format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Tests (22.x)
Total Tests: 80
Suites 📂: 35
Passed ✅: 80
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 553.939ms
|
Run Tests (18.x)
Total Tests: 80
Suites 📂: 35
Passed ✅: 79
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 576.217ms
|