fix: multi-account sync disappearing calendar and stuck import #5613
Annotations
8 errors
|
unit (backend)
Process completed with exit code 1.
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
packages/backend/src/common/middleware/supertokens.middleware.test.ts#L664
[
- ObjectContaining {
+ {
+ "createdNewRecipeUser": false,
+ "loginMethodsLength": 1,
+ "oAuthTokens": {
+ "access_token": "access-token",
+ "refresh_token": "refresh-token",
+ },
+ "providerUser": {
+ "sub": "google-sub",
+ },
"recipeUserId": "compass-user-id",
+ },
+ {
+ "hasExistingSession": false,
},
]
- Expected - 1
+ Received + 13
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/packages/backend/src/common/middleware/supertokens.middleware.test.ts:664:50)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
packages/backend/src/common/middleware/supertokens.middleware.test.ts#L465
[
{
"providerUser": {
"id": "u1",
},
},
+ {
+ "hasExistingSession": false,
+ },
]
- Expected - 0
+ Received + 3
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/packages/backend/src/common/middleware/supertokens.middleware.test.ts:465:50)
|
|
TestingLibraryElementError: Unable to find role="heading" and name `/hey:
node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/wait-for.js#L163
Ignored nodes: comments, script, style
<body>
<div>
<button
type="button"
>
Open Modal
</button>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<button
type="button"
>
Open Modal
</button>
</div>
</body>
</html>
at waitForWrapper (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/wait-for.js:163:31)
at waitForAuthModal (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/components/AuthModal/AuthModal.test.tsx:60:3)
at /home/runner/work/compass-calendar/compass-calendar/packages/web/src/components/AuthModal/AuthModal.test.tsx:274:9
at processTicksAndRejections (native:7:39)
|
|
TestingLibraryElementError: Unable to find role="heading" and name `/hey:
node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/wait-for.js#L163
Ignored nodes: comments, script, style
<body>
<div>
<button
type="button"
>
Open Modal
</button>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<button
type="button"
>
Open Modal
</button>
</div>
</body>
</html>
at waitForWrapper (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/wait-for.js:163:31)
at waitForAuthModal (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/components/AuthModal/AuthModal.test.tsx:60:3)
at /home/runner/work/compass-calendar/compass-calendar/packages/web/src/components/AuthModal/AuthModal.test.tsx:241:8
at processTicksAndRejections (native:7:39)
|
|
TestingLibraryElementError: Unable to find role="heading" and name `/hey:
node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/wait-for.js#L163
Ignored nodes: comments, script, style
<body>
<div>
<button
type="button"
>
Open Modal
</button>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<button
type="button"
>
Open Modal
</button>
</div>
</body>
</html>
at waitForWrapper (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/wait-for.js:163:31)
at waitForAuthModal (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/components/AuthModal/AuthModal.test.tsx:60:3)
at /home/runner/work/compass-calendar/compass-calendar/packages/web/src/components/AuthModal/AuthModal.test.tsx:214:8
at processTicksAndRejections (native:7:39)
|
|
TestingLibraryElementError: Unable to find role="heading" and name `/hey:
node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/wait-for.js#L163
Ignored nodes: comments, script, style
<body>
<div>
<button
type="button"
>
Open Modal
</button>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<button
type="button"
>
Open Modal
</button>
</div>
</body>
</html>
at waitForWrapper (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/wait-for.js:163:31)
at waitForAuthModal (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/components/AuthModal/AuthModal.test.tsx:60:3)
at /home/runner/work/compass-calendar/compass-calendar/packages/web/src/components/AuthModal/AuthModal.test.tsx:203:13
at processTicksAndRejections (native:7:39)
|
|
error: expect(received).toHaveBeenCalledTimes(expected):
packages/web/src/auth/compass/user/util/user-metadata.util.test.ts#L89
Expected number of calls: 2
Received number of calls: 0
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/auth/compass/user/util/user-metadata.util.test.ts:89:25)
|