feat: add unit tests (#9) #20
Annotations
5 errors and 11 warnings
Typecheck files:
example/src/screens/HomeScreen.tsx#L12
Binding element 'navigation' implicitly has an 'any' type.
|
Typecheck files:
src/component/ServerComponent.tsx#L27
Argument of type 'unknown' is not assignable to parameter of type 'SetStateAction<Error | null>'.
|
Typecheck files:
src/component/createServerComponent.tsx#L100
'e' is of type 'unknown'.
|
Typecheck files:
src/utils/utils.ts#L16
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
Typecheck files
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint files:
example/server/Mocks/TranspiledExample.js#L5
["default"] is better written in dot notation
|
Lint files:
example/server/Mocks/TranspiledExample.js#L5
Expected 'undefined' and instead saw 'void'
|
Lint files:
example/server/Mocks/TranspiledExample.js#L11
Expected 'undefined' and instead saw 'void'
|
Lint files:
example/server/Mocks/TranspiledExample.js#L15
Expected literal to be on the right side of !=
|
Lint files:
example/server/Mocks/TranspiledExample.js#L15
Expected '!==' and instead saw '!='
|
Lint files:
example/server/Mocks/TranspiledExample.js#L18
'_getRequireWildcardCache' is a function
|
Lint files:
example/server/Mocks/TranspiledExample.js#L18
'_getRequireWildcardCache' is already declared in the upper scope on line 14 column 10
|
Lint files:
example/server/Mocks/TranspiledExample.js#L18
'e' is already declared in the upper scope on line 14 column 35
|
Lint files:
example/server/Mocks/TranspiledExample.js#L24
Expected literal to be on the right side of ===
|
Lint files:
example/server/Mocks/TranspiledExample.js#L24
Expected literal to be on the right side of !=
|
Loading