fix(web): hide signed-out toast for first-time visitors #5642
Annotations
6 errors
|
unit (web)
Process completed with exit code 1.
|
|
error: expect(received).toBe(expected):
packages/web/src/billing/useTrialStatus.test.ts#L41
Expected: 0
Received: 7
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/billing/useTrialStatus.test.ts:41:37)
|
|
error: expect(received).toBe(expected):
packages/web/src/billing/useTrialStatus.test.ts#L32
Expected: 2
Received: 7
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/billing/useTrialStatus.test.ts:32:37)
|
|
error: expect(received).toBe(expected):
packages/web/src/billing/useTrialStatus.test.ts#L21
Expected: true
Received: false
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/billing/useTrialStatus.test.ts:21:45)
|
|
error: expect(received).toMatchObject(expected):
packages/web/src/billing/useAppAccess.test.tsx#L87
{
- "isExpired": true,
- "kind": "anonymous-trial",
+ "isReadOnly": false,
+ "kind": "server",
+ "status": "active",
+ "trialEndsAt": null,
}
- Expected - 2
+ Received + 4
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/billing/useAppAccess.test.tsx:87:30)
at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (/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:124:36)
at invokeTheCallbackFunction (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/jsdom@26.1.0/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js:19:26)
at notifyMutationObservers (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/jsdom@26.1.0/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js:160:22)
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/jsdom@26.1.0/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js:133:5)
|
|
error: expect(received).toBe(expected):
packages/web/src/billing/useAppAccess.test.tsx#L70
Expected: "anonymous-trial"
Received: "server"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/packages/web/src/billing/useAppAccess.test.tsx:70:35)
at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (/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:124:36)
at invokeTheCallbackFunction (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/jsdom@26.1.0/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js:19:26)
at notifyMutationObservers (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/jsdom@26.1.0/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js:160:22)
at <anonymous> (/home/runner/work/compass-calendar/compass-calendar/node_modules/.bun/jsdom@26.1.0/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js:133:5)
|