Add test coverage where missing #100
Annotations
5 errors and 2 warnings
src/components/providers.test.tsx > Providers > makeQueryClient > creates QueryClient with correct default options:
src/components/providers.test.tsx#L45
TypeError: [Function QueryClient] is not a spy or a call to a spy!
❯ src/components/providers.test.tsx:45:33
|
src/components/providers.test.tsx > Providers > getQueryClient > creates new client on server:
src/components/providers.test.tsx#L67
TypeError: [Function makeQueryClient] is not a spy or a call to a spy!
❯ src/components/providers.test.tsx:67:37
|
src/components/providers.test.tsx > Providers > Providers component > renders children through nested providers:
src/components/providers.test.tsx#L95
TestingLibraryElementError: Unable to find an element with the text: Test Child. 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
<body>
<div />
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/providers.test.tsx:95:20
|
src/components/providers.test.tsx > Providers > Providers component > passes theme to MantineProvider:
src/components/providers.test.tsx#L101
AssertionError: expected "spy" to be called with arguments: [ Anything ]
Received:
Number of calls: 0
❯ src/components/providers.test.tsx:101:44
|
all
Process completed with exit code 1.
|
all
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
all
No files were found with the provided path: playwright-report. No artifacts will be uploaded.
|