Skip to content

Test improve refactor #46

Test improve refactor

Test improve refactor #46

Triggered via pull request February 25, 2024 10:12
Status Failure
Total duration 1m 26s
Artifacts

c.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 20 warnings
build: test/util.test.ts#L21
'res' is never reassigned. Use 'const' instead
build: test/util.test.ts#L47
Trailing spaces not allowed
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: test/snippets_create.test.ts#L16
Insert `·`
build: test/snippets_create.test.ts#L17
Insert `·`
build: test/snippets_delete.test.ts#L18
Insert `·`
build: test/snippets_delete.test.ts#L19
Insert `·`
build: test/snippets_read.test.ts#L17
Insert `·`
build: test/snippets_read.test.ts#L18
Insert `·`
build: test/snippets_update.test.ts#L17
Insert `·`
build: test/snippets_update.test.ts#L18
Insert `·`
build: test/util.test.ts#L5
Replace `·userLengthCheck,·secretLengthCheck,·getHash,·userExistenceCheck·}·from·'./../src/util'` with `⏎··userLengthCheck,⏎··secretLengthCheck,⏎··getHash,⏎··userExistenceCheck,⏎}·from·'./../src/util';`
build: test/util.test.ts#L8
'todo' is defined but never used
build: src/controllers/snippets_controller.ts#L66
Insert `⏎······`
build: src/controllers/snippets_controller.ts#L72
Insert `··`
build: src/controllers/snippets_controller.ts#L73
Insert `··`
build: src/controllers/snippets_controller.ts#L74
Replace `········` with `··········`
build: src/controllers/snippets_controller.ts#L75
Insert `··`
build: src/controllers/snippets_controller.ts#L76
Insert `··`
build: src/controllers/snippets_controller.ts#L77
Replace `······` with `········`
build: src/controllers/snippets_controller.ts#L78
Insert `··`
build: src/controllers/snippets_controller.ts#L79
Insert `··`