fix(globals): use globals for globals
#414
ci.yml
on: pull_request
Lint & Format
30s
Test & Coverage
40s
Annotations
4 errors, 1 warning, and 2 notices
|
Test & Coverage
Process completed with exit code 1.
|
|
should update type to reference correctly:
src/utils/queries/__tests__/index.test.mjs#L27
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
+ 'This is a {string} type.'
- 'This is a ',
- undefined,
- ' type.'
]
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
[
+ 'This is a {string} type.'
- 'This is a ',
- undefined,
- ' type.'
]
at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/__tests__/index.test.mjs:27:5)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:744:18)
at Test.postRun (node:internal/test_runner/test:1173:19)
at Test.run (node:internal/test_runner/test:1101:12)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1442:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:296:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'This is a {string} type.' ],
expected: [ 'This is a ', undefined, ' type.' ],
operator: 'deepStrictEqual'
}
}
|
|
should transform a JavaScript primitive type into a Markdown link:
src/utils/parser/__tests__/index.test.mjs#L13
Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
actual expected
'[`<string>`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type)'
at new Promise (<anonymous>)
at Array.map (<anonymous>) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
actual expected
'[`<string>`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type)'
at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/parser/__tests__/index.test.mjs:13:5)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Test.start (node:internal/test_runner/test:944:17)
at node:internal/test_runner/test:1440:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'string',
expected: '[`<string>`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type)',
operator: 'strictEqual'
}
}
|
|
Test & Coverage:
doc/api/test.md#L1
This is a ERROR issue
|
|
Test & Coverage:
doc/api/test.md#L1
This is a WARN issue
|
|
Test & Coverage
Total Tests: 186
Suites 📂: 59
Passed ✅: 184
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 5218.565ms
|
|
Test & Coverage:
doc/api/test.md#L1
This is a INFO issue
|