Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Updated 'renderHook' path after removeing '@testing-library/react-hooks' #521

Updated 'renderHook' path after removeing '@testing-library/react-hooks'

Updated 'renderHook' path after removeing '@testing-library/react-hooks' #521

GitHub Actions / Jest Unit Test Results failed Oct 2, 2023 in 0s

1 fail, 406 pass in 6m 57s

    1 files  ±0    74 suites  ±0   6m 57s ⏱️ + 1m 13s
407 tests ±0  406 ✔️  - 1  0 💤 ±0  1 +1 
445 runs  ±0  444 ✔️  - 1  0 💤 ±0  1 +1 

Results for commit ba89cf2. ± Comparison against earlier commit 6582c88.

Annotations

Check warning on line 0 in Automatic scheduling mutation calls put when initial data is returned

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

Automatic scheduling mutation calls put when initial data is returned (Automatic scheduling mutation calls put when initial data is returned) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

Expected: "data-export-spring/configs/foo", {"json": {"exportTypeSpecificParameters": {"bursarFeeFines": "bursar data"}, "id": "foo", "schedulingData": "is here!"}}

Number of calls: 0

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div />
  </body>
</html>
    at /home/runner/work/ui-plugin-bursar-export/ui-plugin-bursar-export/src/api/mutators/useAutomaticSchedulerMutation.test.tsx:170:23
    at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/ui-plugin-bursar-export/ui-plugin-bursar-export/node_modules/@testing-library/dom/dist/config.js:47:12)
    at checkCallback (/home/runner/work/ui-plugin-bursar-export/ui-plugin-bursar-export/node_modules/@testing-library/dom/dist/wait-for.js:123:77)
    at checkRealTimersCallback (/home/runner/work/ui-plugin-bursar-export/ui-plugin-bursar-export/node_modules/@testing-library/dom/dist/wait-for.js:117:16)
    at Timeout.task [as _onTimeout] (/home/runner/work/ui-plugin-bursar-export/ui-plugin-bursar-export/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7)