log #9031
Annotations
10 errors
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Test:
react-app/src/components/Layout/index.tsx#L28
AssertionError: expected last "useGetUser" call to return ObjectContaining {"isLoading": false}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'user')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'user')
at useGetLinks (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:28:5)
at ResponsiveNav (/home/runner/work/macpro-mako/macpro-mako/react-app/src/components/Layout/index.tsx:2166:34)
at renderWithHooks (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/macpro-mako/macpro-mako/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
- Expected
+ Received
- ObjectContaining {
- "isLoading": false,
+ Object {
+ "data": undefined,
+ "dataUpdatedAt": 0,
+ "error": null,
+ "errorUpdateCount": 0,
+ "errorUpdatedAt": 0,
+ "failureCount": 0,
+ "failureReason": null,
+ "fetchStatus": "fetching",
+ "isError": false,
+ "isFetched": false,
+ "isFetchedAfterMount": false,
+ "isFetching": true,
+ "isInitialLoading": true,
+ "isLoading": true,
+ "isLoadingError": false,
+ "isPaused": false,
+ "isPlaceholderData": false,
+ "isPreviousData": false,
+ "isRefetchError": false,
+ "isRefetching": false,
+ "isStale": true,
+ "isSuccess": false,
+ "refetch": [Function bound refetch],
+ "remove": [Function bound remove],
+ "status": "loading",
}
❯ useGetLinks src/components/Layout/index.tsx:28:5
❯ ResponsiveNav src/components/Layout/index.tsx:2166:34
❯ renderWithHooks ../node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ src/components/Layout/index.test.tsx:3736:53
❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-
|
Loading