ci: introduce linting #16
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
9 errors
|
Lint
Process completed with exit code 127.
|
|
src/tests/error-hook.dom.test.ts > error hook SSR client > synchronous > should capture error:
src/tests/error-hook.dom.test.ts#L122
AssertionError: expected Error: A component suspended while respon… to deeply equal Error: expected
- Expected
+ Received
Error {
- "message": "expected",
+ "message": "A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.",
}
❯ src/tests/error-hook.dom.test.ts:122:25
|
|
src/tests/result-history.dom.test.ts > result history SSR hydrated > should capture all renders states of hook with hydration:
src/tests/result-history.dom.test.ts#L52
AssertionError: expected undefined to deeply equal +0
- Expected:
0
+ Received:
undefined
❯ src/tests/result-history.dom.test.ts:52:24
|
|
src/tests/use-state.dom.test.ts > useState SSR hydrated > should update state after hydration:
src/tests/use-state.dom.test.ts#L53
AssertionError: expected undefined not to be undefined // Object.is equality
❯ src/tests/use-state.dom.test.ts:53:28
|
|
src/tests/error-hook.ssr.test.ts > error hook SSR > synchronous > should capture error:
src/tests/error-hook.ssr.test.ts#L20
AssertionError: expected Error: A component suspended while respon… to deeply equal Error: expected
- Expected
+ Received
Error {
- "message": "expected",
+ "message": "A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.",
}
❯ src/tests/error-hook.ssr.test.ts:20:25
|
|
src/tests/result-history.ssr.test.ts > result history SSR > should capture all renders states of hook with hydration:
src/tests/result-history.ssr.test.ts#L15
AssertionError: expected undefined to deeply equal +0
- Expected:
0
+ Received:
undefined
❯ src/tests/result-history.ssr.test.ts:15:24
|
|
src/tests/use-state.ssr.test.ts > useState SSR, non-hydrated > should use setState value:
src/tests/use-state.ssr.test.ts#L13
AssertionError: expected undefined not to be undefined // Object.is equality
❯ src/tests/use-state.ssr.test.ts:13:28
|
|
src/tests/use-state.ssr.test.ts > useState SSR, non-hydrated > should not update state without hydration:
src/tests/use-state.ssr.test.ts#L30
AssertionError: expected undefined not to be undefined // Object.is equality
❯ src/tests/use-state.ssr.test.ts:30:28
|
|
Test
Process completed with exit code 1.
|