Test improve refactor #46
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#L74
Replace `········` with `··········`
|
|
|
build:
src/controllers/snippets_controller.ts#L77
Replace `······` with `········`
|
|
|