2 lines
4.8 KiB
JSON
2 lines
4.8 KiB
JSON
{"numFailedTestSuites":1,"numFailedTests":2,"numPassedTestSuites":0,"numPassedTests":2,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":4,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1794961647677,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":250,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"shows exactly Free and Pro without invented commercial terms","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794961651256,"status":"passed","title":"shows exactly Free and Pro without invented commercial terms"},{"ancestorTitles":[],"duration":111,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: \"/auth/preferences/language\", {\"language\": \"nb-NO\"}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: \"/auth/preferences/language\", {\"language\": \"nb-NO\"}\n at toHaveBeenCalled (E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\landing-local-language\\job-tracker-ui\\src\\landing-page.test.tsx:54:23)"],"fullName":"public landing language en → Norsk bokmål survives remount without an account preference write","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794961651507,"status":"failed","title":"public landing language en → Norsk bokmål survives remount without an account preference write"},{"ancestorTitles":[],"duration":117,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: \"/auth/preferences/language\", {\"language\": \"en\"}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: \"/auth/preferences/language\", {\"language\": \"en\"}\n at toHaveBeenCalled (E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\landing-local-language\\job-tracker-ui\\src\\landing-page.test.tsx:54:23)"],"fullName":"public landing language nb → English survives remount without an account preference write","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794961651623,"status":"failed","title":"public landing language nb → English survives remount without an account preference write"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an authenticated landing visitor still redirects without changing account language","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794961651741,"status":"passed","title":"an authenticated landing visitor still redirects without changing account language"}],"endTime":1794961651832,"message":" ● public landing language en → Norsk bokmål survives remount without an account preference write\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: \"/auth/preferences/language\", {\"language\": \"nb-NO\"}\n\n 52 | expect(localStorage.getItem(\"uiLanguage\")).toBe(local);\n 53 | expect(document.documentElement.lang).toBe(htmlLanguage);\n > 54 | expect(api.put).not.toHaveBeenCalled();\n | ^\n 55 |\n 56 | view.unmount();\n 57 | render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);\n\n at toHaveBeenCalled (src/landing-page.test.tsx:54:23)\n\n ● public landing language nb → English survives remount without an account preference write\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: \"/auth/preferences/language\", {\"language\": \"en\"}\n\n 52 | expect(localStorage.getItem(\"uiLanguage\")).toBe(local);\n 53 | expect(document.documentElement.lang).toBe(htmlLanguage);\n > 54 | expect(api.put).not.toHaveBeenCalled();\n | ^\n 55 |\n 56 | view.unmount();\n 57 | render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);\n\n at toHaveBeenCalled (src/landing-page.test.tsx:54:23)\n","name":"E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\landing-local-language\\job-tracker-ui\\src\\landing-page.test.tsx","startTime":1794961648624,"status":"failed","summary":""}],"wasInterrupted":false}
|