chore(tsconfig): enabling strictNullChecks #1432
Annotations
22 errors
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/applicationManager.spec.ts#L281
Object literal may only specify known properties, and 'config' does not exist in type 'Recipe'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/applicationManager.spec.ts#L346
Object literal may only specify known properties, and 'config' does not exist in type 'Recipe'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/applicationManager.spec.ts#L375
Object literal may only specify known properties, and 'config' does not exist in type 'Recipe'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/applicationManager.ts#L144
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/catalogManager.ts#L73
Type '{ recipes: { id: string; description: string; name: string; repository: string; ref: string; icon: string; categories: string[]; basedir: string; readme: string; models: string[]; }[]; models: ({ id: string; ... 7 more ...; properties?: undefined; } | { ...; } | { ...; })[]; categories: { ...; }[]; }' is not assignable to type 'ApplicationCatalog'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/catalogManager.ts#L85
Type '(ModelInfo | { id: string; name: string; description: string; hw: string; registry: string; license: string; url: string; memory: number; properties?: undefined; } | { id: string; name: string; ... 6 more ...; properties: { ...; }; } | { ...; })[]' is not assignable to type 'ModelInfo[]'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/gitManager.ts#L281
'remote' is possibly 'undefined'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/gitManager.ts#L281
'local' is possibly 'undefined'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/gitManager.ts#L283
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
linter, formatters and unit tests / ubuntu-22.04:
packages/backend/src/managers/gitManager.ts#L286
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/applicationManager.spec.ts#L281
Object literal may only specify known properties, and 'config' does not exist in type 'Recipe'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/applicationManager.spec.ts#L346
Object literal may only specify known properties, and 'config' does not exist in type 'Recipe'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/applicationManager.spec.ts#L375
Object literal may only specify known properties, and 'config' does not exist in type 'Recipe'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/applicationManager.ts#L144
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/catalogManager.ts#L73
Type '{ recipes: { id: string; description: string; name: string; repository: string; ref: string; icon: string; categories: string[]; basedir: string; readme: string; models: string[]; }[]; models: ({ id: string; ... 7 more ...; properties?: undefined; } | { ...; } | { ...; })[]; categories: { ...; }[]; }' is not assignable to type 'ApplicationCatalog'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/catalogManager.ts#L85
Type '(ModelInfo | { id: string; name: string; description: string; hw: string; registry: string; license: string; url: string; memory: number; properties?: undefined; } | { id: string; name: string; ... 6 more ...; properties: { ...; }; } | { ...; })[]' is not assignable to type 'ModelInfo[]'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/gitManager.ts#L281
'remote' is possibly 'undefined'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/gitManager.ts#L281
'local' is possibly 'undefined'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/gitManager.ts#L283
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
linter, formatters and unit tests / windows-2022:
packages/backend/src/managers/gitManager.ts#L286
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
Unhandled error:
node_modules/@testing-library/svelte/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L1126
TestingLibraryElementError: Unable to find an element with the text: dummy-name. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<div
class="whitespace-nowrap justify-self-start"
role="cell"
/>
Ignored nodes: comments, script, style
<div
class="whitespace-nowrap justify-self-start"
role="cell"
/>
❯ waitForWrapper ../../node_modules/@testing-library/svelte/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1126:27
❯ ../../node_modules/@testing-library/svelte/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1206:12
❯ src/pages/Models.spec.ts:144:33
This error originated in "src/pages/Models.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "Import button should redirect to import page". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
linter, formatters and unit tests / macos-12
Process completed with exit code 1.
|