Add remote saved document #2
Annotations
7 errors and 50 warnings
Namespace > blank database should always return one namespace:
src/drivers/saved-doc/saved-doc-actions.test.ts#L35
ReferenceError: crypto is not defined
at crypto (/home/runner/work/libsql-studio/libsql-studio/node_modules/oslo/dist/crypto/random.js:19:5)
at generateRandomInteger (/home/runner/work/libsql-studio/libsql-studio/node_modules/oslo/dist/crypto/random.js:38:28)
at generateId (/home/runner/work/libsql-studio/libsql-studio/node_modules/lucia/dist/crypto.js:16:32)
at makeTestUser (/home/runner/work/libsql-studio/libsql-studio/src/lib/test-helper.ts:73:29)
at Object.<anonymous> (/home/runner/work/libsql-studio/libsql-studio/src/drivers/saved-doc/saved-doc-actions.test.ts:20:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
Namespace > create namespace:
src/drivers/saved-doc/saved-doc-actions.test.ts#L41
ReferenceError: crypto is not defined
at crypto (/home/runner/work/libsql-studio/libsql-studio/node_modules/oslo/dist/crypto/random.js:19:5)
at generateRandomInteger (/home/runner/work/libsql-studio/libsql-studio/node_modules/oslo/dist/crypto/random.js:38:28)
at generateId (/home/runner/work/libsql-studio/libsql-studio/node_modules/lucia/dist/crypto.js:16:32)
at makeTestUser (/home/runner/work/libsql-studio/libsql-studio/src/lib/test-helper.ts:73:29)
at Object.<anonymous> (/home/runner/work/libsql-studio/libsql-studio/src/drivers/saved-doc/saved-doc-actions.test.ts:20:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
Namespace > try to create namespace that does not belong to user should throw error:
src/drivers/saved-doc/saved-doc-actions.test.ts#L48
ReferenceError: crypto is not defined
at crypto (/home/runner/work/libsql-studio/libsql-studio/node_modules/oslo/dist/crypto/random.js:19:5)
at generateRandomInteger (/home/runner/work/libsql-studio/libsql-studio/node_modules/oslo/dist/crypto/random.js:38:28)
at generateId (/home/runner/work/libsql-studio/libsql-studio/node_modules/lucia/dist/crypto.js:16:32)
at makeTestUser (/home/runner/work/libsql-studio/libsql-studio/src/lib/test-helper.ts:73:29)
at Object.<anonymous> (/home/runner/work/libsql-studio/libsql-studio/src/drivers/saved-doc/saved-doc-actions.test.ts:20:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
Namespace > remove namespace:
src/drivers/saved-doc/saved-doc-actions.test.ts#L57
ReferenceError: crypto is not defined
at crypto (/home/runner/work/libsql-studio/libsql-studio/node_modules/oslo/dist/crypto/random.js:19:5)
at generateRandomInteger (/home/runner/work/libsql-studio/libsql-studio/node_modules/oslo/dist/crypto/random.js:38:28)
at generateId (/home/runner/work/libsql-studio/libsql-studio/node_modules/lucia/dist/crypto.js:16:32)
at makeTestUser (/home/runner/work/libsql-studio/libsql-studio/src/lib/test-helper.ts:73:29)
at Object.<anonymous> (/home/runner/work/libsql-studio/libsql-studio/src/drivers/saved-doc/saved-doc-actions.test.ts:20:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
coverage
Error: The process '/usr/local/bin/npx' failed with exit code 1
Error: The process '/usr/local/bin/npx' failed with exit code 1
at wd._setResult (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:19186)
at wd.CheckComplete (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:18773)
at ChildProcess.<anonymous> (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:17765)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
|
coverage
Jest coverage report action failed
|
coverage
Process completed with exit code 1.
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L17
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L19
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L20
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L22
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L25
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L26
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L33
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L36
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L103
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L154
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L174
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L74
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L82
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L87
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L88
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L89
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L97
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L100
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L107
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L109
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L124
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L125
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L137
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L145
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L151
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L159
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L161
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L170
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L171
Warning! Not covered statement
|
🧾 Statement is not covered:
src/lib/test-helper.ts#L175
Warning! Not covered statement
|
🌿 Branch is not covered:
src/lib/test-helper.ts#L19
Warning! Not covered branch
|
🌿 Branch is not covered:
src/lib/test-helper.ts#L87
Warning! Not covered branch
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L17
Warning! Not covered function
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L18
Warning! Not covered function
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L25
Warning! Not covered function
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L26
Warning! Not covered function
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L32
Warning! Not covered function
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L35
Warning! Not covered function
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L103
Warning! Not covered function
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L154
Warning! Not covered function
|
🕹️ Function is not covered:
src/lib/test-helper.ts#L174
Warning! Not covered function
|
🧾 Statement is not covered:
src/db/schema-doc.ts#L9
Warning! Not covered statement
|
🧾 Statement is not covered:
src/db/schema-doc.ts#L10
Warning! Not covered statement
|
🧾 Statement is not covered:
src/db/schema-doc.ts#L28
Warning! Not covered statement
|
🧾 Statement is not covered:
src/db/schema-doc.ts#L29
Warning! Not covered statement
|
🕹️ Function is not covered:
src/db/schema-doc.ts#L9
Warning! Not covered function
|
🕹️ Function is not covered:
src/db/schema-doc.ts#L10
Warning! Not covered function
|
🕹️ Function is not covered:
src/db/schema-doc.ts#L28
Warning! Not covered function
|
🕹️ Function is not covered:
src/db/schema-doc.ts#L29
Warning! Not covered function
|
coverage
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|