wip: refactor to deal with bsons search #33
nodejs.yml
on: push
nodejs
/
prepare
2s
nodejs
/
lint-eslint
27s
nodejs
/
lint-prettier
26s
nodejs
/
lint-check-types
24s
Matrix: nodejs / test
Annotations
20 errors and 18 warnings
nodejs / lint-check-types:
src/utils/__tests__/parseQueryString.test.ts#L6
Expected 2-3 arguments, but got 1.
|
nodejs / lint-check-types:
src/utils/appendSQLForCriteria.ts#L84
Cannot find name 'column'.
|
nodejs / lint-check-types
Process completed with exit code 2.
|
src/__tests__/search.bsons.test.ts > names:
src/__tests__/search.bsons.test.ts#L19
AssertionError: expected [ { id: 1, name: 'John', …(2) } ] to have a length of 2 but got 1
- Expected
+ Received
- 2
+ 1
❯ src/__tests__/search.bsons.test.ts:19:40
|
src/utils/__tests__/parseQueryString.test.ts > parseQueryString:
src/utils/parseQueryString.ts#L26
TypeError: Cannot convert undefined or null to object
❯ Module.parseQueryString src/utils/parseQueryString.ts:26:28
❯ src/utils/__tests__/parseQueryString.test.ts:6:18
|
nodejs / test (20)
Process completed with exit code 1.
|
src/__tests__/search.bsons.test.ts > names:
src/__tests__/search.bsons.test.ts#L19
AssertionError: expected [ { id: 1, name: 'John', …(2) } ] to have a length of 2 but got 1
- Expected
+ Received
- 2
+ 1
❯ src/__tests__/search.bsons.test.ts:19:40
|
src/utils/__tests__/parseQueryString.test.ts > parseQueryString:
src/utils/parseQueryString.ts#L26
TypeError: Cannot convert undefined or null to object
❯ Module.parseQueryString src/utils/parseQueryString.ts:26:28
❯ src/utils/__tests__/parseQueryString.test.ts:6:18
|
nodejs / test (23)
Process completed with exit code 1.
|
src/__tests__/search.bsons.test.ts > names:
src/__tests__/search.bsons.test.ts#L19
AssertionError: expected [ { id: 1, name: 'John', …(2) } ] to have a length of 2 but got 1
- Expected
+ Received
- 2
+ 1
❯ src/__tests__/search.bsons.test.ts:19:40
|
src/utils/__tests__/parseQueryString.test.ts > parseQueryString:
src/utils/parseQueryString.ts#L26
TypeError: Cannot convert undefined or null to object
❯ Module.parseQueryString src/utils/parseQueryString.ts:26:28
❯ src/utils/__tests__/parseQueryString.test.ts:6:18
|
nodejs / test (22)
Process completed with exit code 1.
|
src/__tests__/search.bsons.test.ts > names:
src/__tests__/search.bsons.test.ts#L19
AssertionError: expected [ { id: 1, name: 'John', …(2) } ] to have a length of 2 but got 1
- Expected
+ Received
- 2
+ 1
❯ src/__tests__/search.bsons.test.ts:19:40
|
src/utils/__tests__/parseQueryString.test.ts > parseQueryString:
src/utils/parseQueryString.ts#L26
TypeError: Cannot convert undefined or null to object
❯ Module.parseQueryString src/utils/parseQueryString.ts:26:28
❯ src/utils/__tests__/parseQueryString.test.ts:6:18
|
nodejs / lint-eslint:
src/search.ts#L81
Unexpected console statement
|
nodejs / test (18)
Process completed with exit code 1.
|
nodejs / lint-eslint:
src/search.ts#L82
Unexpected console statement
|
nodejs / lint-eslint:
src/utils/processBlob.ts#L27
Switch is not exhaustive. Cases not matched: "bigint" | "symbol" | "undefined" | "object" | "function"
|
nodejs / lint-eslint:
src/utils/processText.ts#L10
Unexpected console statement
|
nodejs / lint-eslint
Process completed with exit code 1.
|
nodejs / prepare
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nodejs / lint-check-types
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nodejs / test (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nodejs / lint-prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nodejs / test (23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nodejs / test (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nodejs / lint-eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nodejs / lint-eslint:
src/search.ts#L12
Invalid JSDoc tag name "default:"
|
nodejs / lint-eslint:
src/search.ts#L43
Missing JSDoc @param "queryString" description
|
nodejs / test (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nodejs / lint-eslint:
src/search.ts#L44
Missing JSDoc @param "db" description
|
nodejs / lint-eslint:
src/search.ts#L45
Missing JSDoc @param "options" description
|
nodejs / lint-eslint:
src/types/TableInfo.ts#L7
Unexpected any. Specify a different type
|
nodejs / lint-eslint:
src/utils/appendSQLForCriteria.ts#L19
Missing JSDoc block description
|
nodejs / lint-eslint:
src/utils/appendSQLForCriteria.ts#L19
Missing JSDoc @returns declaration
|
nodejs / lint-eslint:
src/utils/appendSQLForCriteria.ts#L21
Missing JSDoc @param "criteria" description
|
nodejs / lint-eslint:
src/utils/appendSQLForCriteria.ts#L22
Missing JSDoc @param "schema" description
|
nodejs / lint-eslint:
src/utils/appendSQLForCriteria.ts#L23
Missing JSDoc @param "options" description
|