Skip to content

Update Term Planner to use React Query #4450

Update Term Planner to use React Query

Update Term Planner to use React Query #4450

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results failed Sep 4, 2023 in 0s

34 fail, 4 skipped, 129 pass in 2m 50s

167 tests  ±0   129 ✔️ ±0   2m 50s ⏱️ -58s
  14 suites ±0       4 💤 ±0 
    2 files   ±0     34 ±0 

Results for commit 9276874. ± Comparison against earlier commit 459e331.

Annotations

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unplanned_to_term (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 500 == 200
 +  where 500 = <Response [500]>.status_code
def test_unplanned_to_term():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
    
        data = {
            'destRow': 0,
            'destTerm': 'T3',
            'destIndex': 1,
            'courseCode': 'COMP6447'
        }
        x = requests.post('http://127.0.0.1:8000/planner/unPlannedToTerm', json=data)
>       assert x.status_code == 200
E       assert 500 == 200
E        +  where 500 = <Response [500]>.status_code

server/tests/planner/test_moving_course.py:55: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unplanned_to_term_multiterm (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 400 == 200
 +  where 400 = <Response [400]>.status_code
def test_unplanned_to_term_multiterm():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["empty_year"])
        data = {'courseCode': 'ENGG2600'}
        requests.post('http://127.0.0.1:8000/planner/addToUnplanned', json=data)
    
        data = {
            'destRow': 0,
            'destTerm': 'T3',
            'destIndex': 0,
            'courseCode': 'ENGG2600'
        }
        x = requests.post('http://127.0.0.1:8000/planner/unPlannedToTerm', json=data)
>       assert x.status_code == 200
E       assert 400 == 200
E        +  where 400 = <Response [400]>.status_code

server/tests/planner/test_moving_course.py:74: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_planned_to_term (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_planned_to_term():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP2521" in data['planner']['years'][0]['T2']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:101: IndexError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_planned_to_term_multiterm (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_planned_to_term_multiterm():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "ENGG2600" in data['planner']['years'][1]['T3']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:122: IndexError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_invalid_planned_to_term (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 500 == 400
 +  where 500 = <Response [500]>.status_code
def test_invalid_planned_to_term():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
    
        data = {
            'srcRow': 1,
            'srcTerm': 'T3',
            'destRow': 0,
            'destTerm': 'T2',
            'destIndex': 0,
            'courseCode': 'ENGG2600'
        }
        x = requests.post('http://127.0.0.1:8000/planner/plannedToTerm', json=data)
>       assert x.status_code == 400
E       assert 500 == 400
E        +  where 500 = <Response [500]>.status_code

server/tests/planner/test_moving_course.py:156: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_remove_unplanned_course (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
AssertionError: assert 'COMP6447' in []
def test_remove_unplanned_course():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP6447" in data['planner']['unplanned']
E       AssertionError: assert 'COMP6447' in []

server/tests/planner/test_moving_course.py:162: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_remove_planned_course (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_remove_planned_course():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "MATH1081" in data['planner']['years'][0]['T1']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:175: IndexError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_remove_all_courses (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
AssertionError: assert 'COMP6447' in []
def test_remove_all_courses():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP6447" in data['planner']['unplanned']
E       AssertionError: assert 'COMP6447' in []

server/tests/planner/test_moving_course.py:189: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unschedule_course (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_unschedule_course():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP1531" in data['planner']['years'][0]['T2']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:205: IndexError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unschedule_unplanned_course (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
AssertionError: assert 'COMP6447' in []
def test_unschedule_unplanned_course():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP6447" in data['planner']['unplanned']
E       AssertionError: assert 'COMP6447' in []

server/tests/planner/test_moving_course.py:221: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unschedule_all (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_unschedule_all():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP1531" in data['planner']['years'][0]['T2']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:236: IndexError

Check warning on line 0 in server.tests.user.test_save_local_storage

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_saveLocalStorage_empty (server.tests.user.test_save_local_storage) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 422 == 200
 +  where 422 = <Response [422]>.status_code
def test_saveLocalStorage_empty():
        clear()
        x = requests.post(
            'http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["empty_year"])
>       assert x.status_code == 200
E       assert 422 == 200
E        +  where 422 = <Response [422]>.status_code

server/tests/user/test_save_local_storage.py:17: AssertionError

Check warning on line 0 in server.tests.user.test_save_local_storage

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_saveLocalStorage_simple (server.tests.user.test_save_local_storage) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 422 == 200
 +  where 422 = <Response [422]>.status_code
def test_saveLocalStorage_simple():
        clear()
        x = requests.post(
            'http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
>       assert x.status_code == 200
E       assert 422 == 200
E        +  where 422 = <Response [422]>.status_code

server/tests/user/test_save_local_storage.py:24: AssertionError

Check warning on line 0 in server.tests.user.test_toggle_summer_term

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_toggleSummerTerm (server.tests.user.test_toggle_summer_term) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 422 == 200
 +  where 422 = <Response [422]>.status_code
def test_toggleSummerTerm():
        clear()
        x = requests.post(
            'http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["summer_term"])
>       assert x.status_code == 200
E       assert 422 == 200
E        +  where 422 = <Response [422]>.status_code

server/tests/user/test_toggle_summer_term.py:16: AssertionError

Check warning on line 0 in server.tests.user.test_toggle_warnings

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_toggleWarning (server.tests.user.test_toggle_warnings) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 422 == 200
 +  where 422 = <Response [422]>.status_code
def test_toggleWarning():
        clear()
        x = requests.post(
            'http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["out_of_order"])
>       assert x.status_code == 200
E       assert 422 == 200
E        +  where 422 = <Response [422]>.status_code

server/tests/user/test_toggle_warnings.py:16: AssertionError

Check warning on line 0 in server.tests.user.test_toggle_warnings

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_toggleWarningMultiple (server.tests.user.test_toggle_warnings) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 422 == 200
 +  where 422 = <Response [422]>.status_code
def test_toggleWarningMultiple():
        clear()
        x = requests.post(
            'http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["out_of_order"])
>       assert x.status_code == 200
E       assert 422 == 200
E        +  where 422 = <Response [422]>.status_code

server/tests/user/test_toggle_warnings.py:28: AssertionError

Check warning on line 0 in server.tests.user.test_update_course_mark

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_updateCourseMark (server.tests.user.test_update_course_mark) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
KeyError: 'COMP1511'
def test_updateCourseMark():
        clear()
        requests.post(
            'http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        requests.put(
            'http://127.0.0.1:8000/user/updateCourseMark', json={
                'course': 'COMP1511',
                'mark': 75
            })
        user = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert user['courses']['COMP1511']['mark'] == 75
E       KeyError: 'COMP1511'

server/tests/user/test_update_course_mark.py:22: KeyError

Check warning on line 0 in server.tests.user.test_update_degree_length

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_updateDegreeLength_extend (server.tests.user.test_update_degree_length) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
AssertionError: assert {'T0': [], 'T... [], 'T3': []} == {'T0': [], 'T...1'], 'T3': []}
  Omitting 2 identical items, use -vv to show
  Differing items:
  {'T2': []} != {'T2': ['COMP1521', 'COMP1531', 'COMP2521']}
  {'T1': []} != {'T1': ['COMP1511', 'MATH1141', 'MATH1081']}
  Full diff:
    {
     'T0': [],
  +  'T1': [],
  +  'T2': [],
  -  'T1': ['COMP1511',
  -         'MATH1141',
  -         'MATH1081'],
  -  'T2': ['COMP1521',
  -         'COMP1531',
  -         'COMP2521'],
     'T3': [],
    }
def test_updateDegreeLength_extend():
        clear()
        requests.post(
            'http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        requests.put(
            f'http://127.0.0.1:8000/user/updateDegreeLength?numYears=4')
        user_after = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
        assert len(user_after['planner']['years']) == 4
>       assert user_after['planner']['years'][0] == { "T0": [], "T1": [ "COMP1511", "MATH1141", "MATH1081"], "T2": [ "COMP1521", "COMP1531", "COMP2521"], "T3": []}
E       AssertionError: assert {'T0': [], 'T... [], 'T3': []} == {'T0': [], 'T...1'], 'T3': []}
E         Omitting 2 identical items, use -vv to show
E         Differing items:
E         {'T2': []} != {'T2': ['COMP1521', 'COMP1531', 'COMP2521']}
E         {'T1': []} != {'T1': ['COMP1511', 'MATH1141', 'MATH1081']}
E         Full diff:
E           {
E            'T0': [],
E         +  'T1': [],
E         +  'T2': [],
E         -  'T1': ['COMP1511',
E         -         'MATH1141',
E         -         'MATH1081'],
E         -  'T2': ['COMP1521',
E         -         'COMP1531',
E         -         'COMP2521'],
E            'T3': [],
E           }

server/tests/user/test_update_degree_length.py:20: AssertionError

Check warning on line 0 in server.tests.user.test_update_degree_length

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_updateDegreeLength_shorten (server.tests.user.test_update_degree_length) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
AssertionError: assert {'T0': [], 'T... [], 'T3': []} == {'T0': [], 'T...1'], 'T3': []}
  Omitting 2 identical items, use -vv to show
  Differing items:
  {'T2': []} != {'T2': ['COMP1521', 'COMP1531', 'COMP2521']}
  {'T1': []} != {'T1': ['COMP1511', 'MATH1141', 'MATH1081']}
  Full diff:
    {
     'T0': [],
  +  'T1': [],
  +  'T2': [],
  -  'T1': ['COMP1511',
  -         'MATH1141',
  -         'MATH1081'],
  -  'T2': ['COMP1521',
  -         'COMP1531',
  -         'COMP2521'],
     'T3': [],
    }
def test_updateDegreeLength_shorten():
        clear()
        requests.post(
            'http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        requests.put(
            f'http://127.0.0.1:8000/user/updateDegreeLength?numYears=1')
        user_after = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
        assert len(user_after['planner']['years']) == 1
>       assert user_after['planner']['years'][0] == { "T0": [], "T1": [ "COMP1511", "MATH1141", "MATH1081"], "T2": [ "COMP1521", "COMP1531", "COMP2521"], "T3": []}
E       AssertionError: assert {'T0': [], 'T... [], 'T3': []} == {'T0': [], 'T...1'], 'T3': []}
E         Omitting 2 identical items, use -vv to show
E         Differing items:
E         {'T2': []} != {'T2': ['COMP1521', 'COMP1531', 'COMP2521']}
E         {'T1': []} != {'T1': ['COMP1511', 'MATH1141', 'MATH1081']}
E         Full diff:
E           {
E            'T0': [],
E         +  'T1': [],
E         +  'T2': [],
E         -  'T1': ['COMP1511',
E         -         'MATH1141',
E         -         'MATH1081'],
E         -  'T2': ['COMP1521',
E         -         'COMP1531',
E         -         'COMP2521'],
E            'T3': [],
E           }

server/tests/user/test_update_degree_length.py:33: AssertionError

Check warning on line 0 in src/components/ResetModal/ResetModal.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResetModal > should render (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in src/components/ResetModal/ResetModal.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResetModal > should show modal when degree wizard is complete (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in src/components/ResetModal/ResetModal.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResetModal > should reset state when reset button is clicked (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in src/components/ResetModal/ResetModal.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResetModal > should call the OnCancel callback when the Go Back button is clicked (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in src/components/ResetModal/ResetModal.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResetModal > should call the OnOk callback when the Reset button is clicked (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in src/pages/CourseSelector/CourseSelector.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseSelector > should be able to quick add and remove a course from the course menu (src/pages/CourseSelector/CourseSelector.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
expected [] to deeply equal [ 'COMP1511' ]

AssertionError: expected [] to deeply equal [ 'COMP1511' ]
 ❯ src/pages/CourseSelector/CourseSelector.test.tsx:99:48

Error at handleAddToUnplanned:  AxiosError: Request failed with status code 404
    at Function.AxiosError.from [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/AxiosError.js:89:14[90m)[39m
    at createAxiosError [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:139:29[90m)[39m
    at Object.settle [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:127:7[90m)[39m
[90m    ... 6 lines matching cause stack trace ...[39m
    at Axios.httpMethod [as post] [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:181:19[90m)[39m {
  config: {
    transitional: {
      silentJSONParsing: [33mtrue[39m,
      forcedJSONParsing: [33mtrue[39m,
      clarifyTimeoutError: [33mfalse[39m
    },
    transformRequest: [ [36m[Function: transformRequest][39m ],
    transformResponse: [ [36m[Function: transformResponse][39m ],
    timeout: [33m0[39m,
    xsrfCookieName: [32m'XSRF-TOKEN'[39m,
    xsrfHeaderName: [32m'X-XSRF-TOKEN'[39m,
    maxContentLength: [33m-1[39m,
    maxBodyLength: [33m-1[39m,
    env: { FormData: [36m[Function][39m, Blob: [36m[class Blob][39m },
    validateStatus: [36m[Function: validateStatus][39m,
    headers: AxiosHeaders {
      Accept: [32m'application/json, text/plain, */*'[39m,
      [32m'Content-Type'[39m: [32m'application/json'[39m
    },
    params: { token: [32m''[39m },
    method: [32m'post'[39m,
    url: [32m'planner/addToUnplanned'[39m,
    data: [32m'{"courseCode":"COMP1511"}'[39m
  },
  response: {
    status: [33m404[39m,
    config: {
      transitional: [36m[Object][39m,
      transformRequest: [36m[Array][39m,
      transformResponse: [36m[Array][39m,
      timeout: [33m0[39m,
      xsrfCookieName: [32m'XSRF-TOKEN'[39m,
      xsrfHeaderName: [32m'X-XSRF-TOKEN'[39m,
      maxContentLength: [33m-1[39m,
      maxBodyLength: [33m-1[39m,
      env: [36m[Object][39m,
      validateStatus: [36m[Function: validateStatus][39m,
      headers: [36m[AxiosHeaders][39m,
      params: [36m[Object][39m,
      method: [32m'post'[39m,
      url: [32m'planner/addToUnplanned'[39m,
      data: [32m'{"courseCode":"COMP1511"}'[39m
    },
    data: [90mundefined[39m,
    headers: AxiosHeaders {}
  },
  cause: Error: Request failed with status code 404
      at createAxiosError [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:139:34[90m)[39m
      at Object.settle [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:127:7[90m)[39m
      at handleRequest [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/handle_request.js:127:15[90m)[39m
      at [90m/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/index.js:23:7
      at new Promise (<anonymous>)
      at MockAdapter.<anonymous> [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/index.js:22:12[90m)[39m
      at Axios.dispatchRequest [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/dispatchRequest.js:51:10[90m)[39m
      at Axios.request [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:142:33[90m)[39m
      at Axios.httpMethod [as post] [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:181:19[90m)[39m
      at Function.wrap [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/helpers/bind.js:5:15[90m)[39m
}