fix: abort on tab change #19
Annotations
7 errors
test_matrix (18)
Process completed with exit code 1.
|
test_matrix (19)
Process completed with exit code 1.
|
src/__tests__/serve_mock.test.js:
src/__tests__/serve_mock.test.js#L4
Error: Vitest failed to find the current suite. This is a bug in Vitest. Please, open an issue with reproduction.
❯ src/__tests__/serve_mock.test.js:4:1
|
test_matrix (latest)
Process completed with exit code 1.
|
src/__tests__/useMessageStream.test.js > should handle empty events:
src/useStream.js#L8
TypeError: Cannot read properties of null (reading 'useState')
❯ useStream src/useStream.js:8:47
❯ useStreamContext src/useStreamContext.js:18:12
❯ useMessageStream src/useMessageStream.js:7:117
❯ src/__tests__/useMessageStream.test.js:55:41
❯ TestComponent ../../../../../node_modules/.vite/deps/@testing-library_react.js:18801:27
❯ Object.react_stack_bottom_frame ../../../../../node_modules/.vite/deps/@testing-library_react.js:17761:20
❯ renderWithHooks ../../../../../node_modules/.vite/deps/@testing-library_react.js:4543:24
❯ updateFunctionComponent ../../../../../node_modules/.vite/deps/@testing-library_react.js:6956:21
❯ beginWork ../../../../../node_modules/.vite/deps/@testing-library_react.js:7991:20
|
src/__tests__/useMessageStream.test.js > should handle persisted events and streamed events:
src/useStream.js#L8
TypeError: Cannot read properties of null (reading 'useState')
❯ useStream src/useStream.js:8:47
❯ useStreamContext src/useStreamContext.js:18:12
❯ useMessageStream src/useMessageStream.js:7:117
❯ src/__tests__/useMessageStream.test.js:10:41
❯ TestComponent ../../../../../node_modules/.vite/deps/@testing-library_react.js:18801:27
❯ Object.react_stack_bottom_frame ../../../../../node_modules/.vite/deps/@testing-library_react.js:17761:20
❯ renderWithHooks ../../../../../node_modules/.vite/deps/@testing-library_react.js:4543:24
❯ updateFunctionComponent ../../../../../node_modules/.vite/deps/@testing-library_react.js:6956:21
❯ beginWork ../../../../../node_modules/.vite/deps/@testing-library_react.js:7991:20
|
src/__tests__/serve_mock.test.js:
src/__tests__/serve_mock.test.js#L4
Error: Vitest failed to find the current suite. This is a bug in Vitest. Please, open an issue with reproduction.
❯ src/__tests__/serve_mock.test.js:4:1
|