
> user-insight-tracking-ui@0.1.0 test
> cross-env NODE_OPTIONS=--experimental-vm-modules jest  --coverage --watchAll=false --silent=false --coverage --watchAll=false

node.exe : (node:56920) ExperimentalWarning: VM Modules is an experimental 
feature and might change at any time
At line:1 char:1
+ & "C:\nvm4w\nodejs/node.exe" "C:\nvm4w\nodejs/node_modules/npm/bin/np ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: ((node:56920) Ex...nge at any time 
   :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
(Use `node --trace-warnings ...` to show where the warning was created)
(node:23364) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:49952) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:54000) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:56448) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:57180) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:33352) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:56440) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:56436) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:56392) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:53728) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:56748) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 14 |[39m
     [90m 15 |[39m   test([32m'should render toggle button'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 16 |[39m     render([33m<[39m[33mToggleBtn[39m showLiveData[33m=[39m{[36mtrue[39m} onToggleData[33m=[39m{mockOnToggleData} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 17 |[39m     [36mconst[39m button [33m=[39m screen[33m.[39mgetByRole([32m'button'[39m)[33m;[39m
     [90m 18 |[39m     expect(button)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 19 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/components/ToggleBtn.test.js:16:5)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 13 |[39m
     [90m 14 |[39m   test([32m'should render select dropdown'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 15 |[39m     render([33m<[39m[33mSmartDateSelector[39m onApply[33m=[39m{mockOnApply} useSingleDate[33m=[39m{[36mfalse[39m} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 16 |[39m     [36mconst[39m select [33m=[39m screen[33m.[39mgetByRole([32m'combobox'[39m)[33m;[39m
     [90m 17 |[39m     expect(select)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 18 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/components/SmartDateSelector.test.js:15:5)

FAIL src/components/SmartDateSelector.test.js (23.651 s)
  SmartDateSelector Component
    ΓêÜ should render select dropdown (1022 ms)
    ├ù should have preset options (479 ms)
    ├ù should call onApply when Today is selected (288 ms)
    ΓêÜ should call onApply when Current Week is selected (344 ms)
    ΓêÜ should call onApply when Current Month is selected (241 ms)
    ├ù should pass date range object to onApply (202 ms)
    ├ù should set displayLabel to Today (202 ms)
    ΓêÜ should accept initialValue prop (81 ms)

  ΓùÅ SmartDateSelector Component ΓÇ║ should have preset options

    TestingLibraryElementError: Found multiple elements with the text: Today

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r1:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
      [33mrole[39m=[32m"combobox"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
    [36m</div>[39m

    Ignored nodes: comments, script, style
    [36m<li[39m
      [33maria-selected[39m=[32m"true"[39m
      [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
      [33mdata-value[39m=[32m"current_date"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
      [36m<span[39m
        [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
      [36m/>[39m
    [36m</li>[39m

    (If this is intentional, then use the `*AllBy*` variant of the query (like 
`queryAllByText`, `getAllByText`, or `findAllByText`)).

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m>[39m
        [36m<div[39m
          [33mclass[39m=[32m"smart-date-selector-wrapper MuiBox-root 
css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-dru9rs-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall smart-date-select 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
              [33mdata-testid[39m=[32m"smart-date-selector"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r1:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
                [33mrole[39m=[32m"combobox"[39m
                [33mtabindex[39m=[32m"0"[39m
              [36m>[39m
                [0mToday[0m
              [36m</div>[39m
              [36m<input[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33maria-invalid[39m=[32m"false"[39m
                [33mclass[39m=[32m"MuiSelect-nativeInput 
css-yf8vq0-MuiSelect-nativeInput"[39m
                [33mtabindex[39m=[32m"-1"[39m
                [33mvalue[39m=[32m"current_date"[39m
              [36m/>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined 
MuiSelect-iconOpen css-bpeome-MuiSvgIcon-root-MuiSelect-icon"[39m
                [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M7 10l5 5 5-5z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<fieldset[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
              [36m>[39m
                [36m<legend[39m
                  
[33mclass[39m=[32m"css-1whs34k-MuiNotchedOutlined-root"[39m
                [36m>[39m
                  [36m<span[39m
                    [33mclass[39m=[32m"notranslate"[39m
                  [36m>[39m
                    [0mΓÇï[0m
                  [36m</span>[39m
                [36m</legend>[39m
              [36m</fieldset>[39m
            [36m</div>[39m
          [36m</div>[39m
          [36m<div[39m
            [33maria-hidden[39m=[32m"true"[39m
            [33mclass[39m=[32m"MuiBackdrop-root 
css-1p8she-MuiBackdrop-root"[39m
            [33mstyle[39m=[32m"opacity: 0; visibility: hidden;"[39m
          [36m/>[39m
        [36m</div>[39m
      [36m</div>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiPopover-root MuiMenu-root MuiModal-root 
css-10nakn3-MuiModal-root-MuiPopover-root-MuiMenu-root"[39m
        [33mid[39m=[32m"menu-"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiBackdrop-invisible 
MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper 
MuiMenu-paper css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"[39m
          [33mstyle[39m=[32m"opacity: 1; transform: scale(1, 1); min-width: 
0; transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: 
-16px -16px;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<ul[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r1:"[39m
            [33mrole[39m=[32m"listbox"[39m
            [33mtabindex[39m=[32m"-1"[39m
          [36m>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"true"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_date"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mToday[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_week"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Week[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_month"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Month[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"custom"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCustom[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
          [36m</ul>[39m
        [36m</div>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelEnd"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 23 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
     [90m 24 |[39m     
    [31m[1m>[22m[39m[90m 25 |[39m     expect(screen[33m.[39mgetByText(
[32m'Today'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m    |[39m                   [31m[1m^[22m[39m
     [90m 26 |[39m     expect(screen[33m.[39mgetByText([32m'Current 
Week'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 27 |[39m     expect(screen[33m.[39mgetByText([32m'Current 
Month'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 28 |[39m     expect(screen[33m.[39mgetByText([32m'Custom'[39m))
[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
      at getMultipleElementsFoundError 
(node_modules/@testing-library/dom/dist/query-helpers.js:55:13)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByText (src/components/SmartDateSelector.test.js:25:19)

  ΓùÅ SmartDateSelector Component ΓÇ║ should call onApply when Today is 
selected

    TestingLibraryElementError: Found multiple elements with the text: Today

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r2:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
      [33mrole[39m=[32m"combobox"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
    [36m</div>[39m

    Ignored nodes: comments, script, style
    [36m<li[39m
      [33maria-selected[39m=[32m"true"[39m
      [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
      [33mdata-value[39m=[32m"current_date"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
      [36m<span[39m
        [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
      [36m/>[39m
    [36m</li>[39m

    (If this is intentional, then use the `*AllBy*` variant of the query (like 
`queryAllByText`, `getAllByText`, or `findAllByText`)).

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m>[39m
        [36m<div[39m
          [33mclass[39m=[32m"smart-date-selector-wrapper MuiBox-root 
css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-dru9rs-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall smart-date-select 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
              [33mdata-testid[39m=[32m"smart-date-selector"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r2:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
                [33mrole[39m=[32m"combobox"[39m
                [33mtabindex[39m=[32m"0"[39m
              [36m>[39m
                [0mToday[0m
              [36m</div>[39m
              [36m<input[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33maria-invalid[39m=[32m"false"[39m
                [33mclass[39m=[32m"MuiSelect-nativeInput 
css-yf8vq0-MuiSelect-nativeInput"[39m
                [33mtabindex[39m=[32m"-1"[39m
                [33mvalue[39m=[32m"current_date"[39m
              [36m/>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined 
MuiSelect-iconOpen css-bpeome-MuiSvgIcon-root-MuiSelect-icon"[39m
                [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M7 10l5 5 5-5z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<fieldset[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
              [36m>[39m
                [36m<legend[39m
                  
[33mclass[39m=[32m"css-1whs34k-MuiNotchedOutlined-root"[39m
                [36m>[39m
                  [36m<span[39m
                    [33mclass[39m=[32m"notranslate"[39m
                  [36m>[39m
                    [0mΓÇï[0m
                  [36m</span>[39m
                [36m</legend>[39m
              [36m</fieldset>[39m
            [36m</div>[39m
          [36m</div>[39m
          [36m<div[39m
            [33maria-hidden[39m=[32m"true"[39m
            [33mclass[39m=[32m"MuiBackdrop-root 
css-1p8she-MuiBackdrop-root"[39m
            [33mstyle[39m=[32m"opacity: 0; visibility: hidden;"[39m
          [36m/>[39m
        [36m</div>[39m
      [36m</div>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiPopover-root MuiMenu-root MuiModal-root 
css-10nakn3-MuiModal-root-MuiPopover-root-MuiMenu-root"[39m
        [33mid[39m=[32m"menu-"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiBackdrop-invisible 
MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper 
MuiMenu-paper css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"[39m
          [33mstyle[39m=[32m"opacity: 1; transform: scale(1, 1); min-width: 
0; transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: 
-16px -16px;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<ul[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r2:"[39m
            [33mrole[39m=[32m"listbox"[39m
            [33mtabindex[39m=[32m"-1"[39m
          [36m>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"true"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_date"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mToday[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_week"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Week[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_month"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Month[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"custom"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCustom[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
          [36m</ul>[39m
        [36m</div>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelEnd"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 34 |[39m     
     [90m 35 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
    [31m[1m>[22m[39m[90m 36 |[39m     [36mconst[39m todayOption 
[33m=[39m screen[33m.[39mgetByText([32m'Today'[39m)[33m;[39m
     [90m    |[39m                                [31m[1m^[22m[39m
     [90m 37 |[39m     fireEvent[33m.[39mclick(todayOption)[33m;[39m
     [90m 38 |[39m     
     [90m 39 |[39m     [36mawait[39m waitFor(() [33m=>[39m {[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
      at getMultipleElementsFoundError 
(node_modules/@testing-library/dom/dist/query-helpers.js:55:13)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByText (src/components/SmartDateSelector.test.js:36:32)

  ΓùÅ SmartDateSelector Component ΓÇ║ should pass date range object to onApply

    TestingLibraryElementError: Found multiple elements with the text: Today

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r5:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
      [33mrole[39m=[32m"combobox"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
    [36m</div>[39m

    Ignored nodes: comments, script, style
    [36m<li[39m
      [33maria-selected[39m=[32m"true"[39m
      [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
      [33mdata-value[39m=[32m"current_date"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
      [36m<span[39m
        [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
      [36m/>[39m
    [36m</li>[39m

    (If this is intentional, then use the `*AllBy*` variant of the query (like 
`queryAllByText`, `getAllByText`, or `findAllByText`)).

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m>[39m
        [36m<div[39m
          [33mclass[39m=[32m"smart-date-selector-wrapper MuiBox-root 
css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-dru9rs-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall smart-date-select 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
              [33mdata-testid[39m=[32m"smart-date-selector"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r5:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
                [33mrole[39m=[32m"combobox"[39m
                [33mtabindex[39m=[32m"0"[39m
              [36m>[39m
                [0mToday[0m
              [36m</div>[39m
              [36m<input[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33maria-invalid[39m=[32m"false"[39m
                [33mclass[39m=[32m"MuiSelect-nativeInput 
css-yf8vq0-MuiSelect-nativeInput"[39m
                [33mtabindex[39m=[32m"-1"[39m
                [33mvalue[39m=[32m"current_date"[39m
              [36m/>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined 
MuiSelect-iconOpen css-bpeome-MuiSvgIcon-root-MuiSelect-icon"[39m
                [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M7 10l5 5 5-5z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<fieldset[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
              [36m>[39m
                [36m<legend[39m
                  
[33mclass[39m=[32m"css-1whs34k-MuiNotchedOutlined-root"[39m
                [36m>[39m
                  [36m<span[39m
                    [33mclass[39m=[32m"notranslate"[39m
                  [36m>[39m
                    [0mΓÇï[0m
                  [36m</span>[39m
                [36m</legend>[39m
              [36m</fieldset>[39m
            [36m</div>[39m
          [36m</div>[39m
          [36m<div[39m
            [33maria-hidden[39m=[32m"true"[39m
            [33mclass[39m=[32m"MuiBackdrop-root 
css-1p8she-MuiBackdrop-root"[39m
            [33mstyle[39m=[32m"opacity: 0; visibility: hidden;"[39m
          [36m/>[39m
        [36m</div>[39m
      [36m</div>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiPopover-root MuiMenu-root MuiModal-root 
css-10nakn3-MuiModal-root-MuiPopover-root-MuiMenu-root"[39m
        [33mid[39m=[32m"menu-"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiBackdrop-invisible 
MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper 
MuiMenu-paper css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"[39m
          [33mstyle[39m=[32m"opacity: 1; transform: scale(1, 1); min-width: 
0; transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: 
-16px -16px;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<ul[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r5:"[39m
            [33mrole[39m=[32m"listbox"[39m
            [33mtabindex[39m=[32m"-1"[39m
          [36m>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"true"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_date"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mToday[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_week"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Week[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_month"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Month[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"custom"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCustom[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
          [36m</ul>[39m
        [36m</div>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelEnd"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 73 |[39m     
     [90m 74 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
    [31m[1m>[22m[39m[90m 75 |[39m     [36mconst[39m todayOption 
[33m=[39m screen[33m.[39mgetByText([32m'Today'[39m)[33m;[39m
     [90m    |[39m                                [31m[1m^[22m[39m
     [90m 76 |[39m     fireEvent[33m.[39mclick(todayOption)[33m;[39m
     [90m 77 |[39m     
     [90m 78 |[39m     [36mawait[39m waitFor(() [33m=>[39m {[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
      at getMultipleElementsFoundError 
(node_modules/@testing-library/dom/dist/query-helpers.js:55:13)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByText (src/components/SmartDateSelector.test.js:75:32)

  ΓùÅ SmartDateSelector Component ΓÇ║ should set displayLabel to Today

    TestingLibraryElementError: Found multiple elements with the text: Today

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r6:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
      [33mrole[39m=[32m"combobox"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
    [36m</div>[39m

    Ignored nodes: comments, script, style
    [36m<li[39m
      [33maria-selected[39m=[32m"true"[39m
      [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
      [33mdata-value[39m=[32m"current_date"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
      [36m<span[39m
        [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
      [36m/>[39m
    [36m</li>[39m

    (If this is intentional, then use the `*AllBy*` variant of the query (like 
`queryAllByText`, `getAllByText`, or `findAllByText`)).

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m>[39m
        [36m<div[39m
          [33mclass[39m=[32m"smart-date-selector-wrapper MuiBox-root 
css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-dru9rs-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall smart-date-select 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
              [33mdata-testid[39m=[32m"smart-date-selector"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r6:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
                [33mrole[39m=[32m"combobox"[39m
                [33mtabindex[39m=[32m"0"[39m
              [36m>[39m
                [0mToday[0m
              [36m</div>[39m
              [36m<input[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33maria-invalid[39m=[32m"false"[39m
                [33mclass[39m=[32m"MuiSelect-nativeInput 
css-yf8vq0-MuiSelect-nativeInput"[39m
                [33mtabindex[39m=[32m"-1"[39m
                [33mvalue[39m=[32m"current_date"[39m
              [36m/>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined 
MuiSelect-iconOpen css-bpeome-MuiSvgIcon-root-MuiSelect-icon"[39m
                [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M7 10l5 5 5-5z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<fieldset[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
              [36m>[39m
                [36m<legend[39m
                  
[33mclass[39m=[32m"css-1whs34k-MuiNotchedOutlined-root"[39m
                [36m>[39m
                  [36m<span[39m
                    [33mclass[39m=[32m"notranslate"[39m
                  [36m>[39m
                    [0mΓÇï[0m
                  [36m</span>[39m
                [36m</legend>[39m
              [36m</fieldset>[39m
            [36m</div>[39m
          [36m</div>[39m
          [36m<div[39m
            [33maria-hidden[39m=[32m"true"[39m
            [33mclass[39m=[32m"MuiBackdrop-root 
css-1p8she-MuiBackdrop-root"[39m
            [33mstyle[39m=[32m"opacity: 0; visibility: hidden;"[39m
          [36m/>[39m
        [36m</div>[39m
      [36m</div>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiPopover-root MuiMenu-root MuiModal-root 
css-10nakn3-MuiModal-root-MuiPopover-root-MuiMenu-root"[39m
        [33mid[39m=[32m"menu-"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiBackdrop-invisible 
MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper 
MuiMenu-paper css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"[39m
          [33mstyle[39m=[32m"opacity: 1; transform: scale(1, 1); min-width: 
0; transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: 
-16px -16px;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<ul[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r6:"[39m
            [33mrole[39m=[32m"listbox"[39m
            [33mtabindex[39m=[32m"-1"[39m
          [36m>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"true"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_date"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mToday[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_week"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Week[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_month"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Month[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"custom"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCustom[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
          [36m</ul>[39m
        [36m</div>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelEnd"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 92 |[39m     
     [90m 93 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
    [31m[1m>[22m[39m[90m 94 |[39m     [36mconst[39m todayOption 
[33m=[39m screen[33m.[39mgetByText([32m'Today'[39m)[33m;[39m
     [90m    |[39m                                [31m[1m^[22m[39m
     [90m 95 |[39m     fireEvent[33m.[39mclick(todayOption)[33m;[39m
     [90m 96 |[39m     
     [90m 97 |[39m     [36mawait[39m waitFor(() [33m=>[39m {[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
      at getMultipleElementsFoundError 
(node_modules/@testing-library/dom/dist/query-helpers.js:55:13)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByText (src/components/SmartDateSelector.test.js:94:32)

FAIL src/components/ToggleBtn.test.js (25.899 s)
  ToggleBtn Component
    ΓêÜ should render toggle button (1535 ms)
    ΓêÜ should display "Show Today's Data" when showLiveData is true (131 ms)
    ΓêÜ should display "Show Live Data" when showLiveData is false (76 ms)
    ├ù should call onToggleData when clicked (5029 ms)
    ΓêÜ should be disabled when disabled prop is true (114 ms)
    ΓêÜ should be enabled when disabled prop is false or undefined (116 ms)

  ΓùÅ ToggleBtn Component ΓÇ║ should call onToggleData when clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 31 |[39m   })[33m;[39m
     [90m 32 |[39m
    [31m[1m>[22m[39m[90m 33 |[39m   test([32m'should call onToggleData 
when clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 34 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 35 |[39m     render([33m<[39m[33mToggleBtn[39m 
showLiveData[33m=[39m{[36mtrue[39m} 
onToggleData[33m=[39m{mockOnToggleData} [33m/[39m[33m>[39m)[33m;[39m
     [90m 36 |[39m     [36mconst[39m button [33m=[39m 
screen[33m.[39mgetByRole([32m'button'[39m)[33m;[39m[0m

      at test (src/components/ToggleBtn.test.js:33:3)
      at describe (src/components/ToggleBtn.test.js:7:1)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 28 |[39m   fieldTypes[33m.[39mforEach(({ type[33m,[39m placeholder }) [33m=>[39m {
     [90m 29 |[39m     it([32m`renders ${type} input correctly`[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 30 |[39m       render(
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 31 |[39m         [33m<[39m[33mInputFactory[39m
     [90m 32 |[39m           field[33m=[39m{{
     [90m 33 |[39m             [33m...[39mbaseField[33m,[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.error
    Warning: Received `false` for a non-boolean attribute `expandable`.
    
    If you want to write it to the DOM, pass a string instead: expandable="false" or expandable={value.toString()}.
    
    If you used to conditionally omit it with expandable={condition && value}, pass expandable={condition ? value : undefined} instead.
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at FormControl (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\FormControl\FormControl.js:92:59)
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at TextField (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\TextField\TextField.js:84:59)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\TextAreaInput.js:5:26)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)

    [0m [90m 28 |[39m   fieldTypes[33m.[39mforEach(({ type[33m,[39m placeholder }) [33m=>[39m {
     [90m 29 |[39m     it([32m`renders ${type} input correctly`[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 30 |[39m       render(
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 31 |[39m         [33m<[39m[33mInputFactory[39m
     [90m 32 |[39m           field[33m=[39m{{
     [90m 33 |[39m             [33m...[39mbaseField[33m,[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateProperty$1 (node_modules/react-dom/cjs/react-dom.development.js:3767:9)
      at warnUnknownProperties (node_modules/react-dom/cjs/react-dom.development.js:3803:21)
      at validateProperties$2 (node_modules/react-dom/cjs/react-dom.development.js:3827:3)
      at validatePropertiesInDevelopment (node_modules/react-dom/cjs/react-dom.development.js:9541:5)
      at setInitialProperties (node_modules/react-dom/cjs/react-dom.development.js:9830:5)
      at finalizeInitialChildren (node_modules/react-dom/cjs/react-dom.development.js:10950:3)
      at completeWork (node_modules/react-dom/cjs/react-dom.development.js:22232:17)
      at completeUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26632:16)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26607:5)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.error
    Warning: Failed prop type: Invalid prop `field.Id` of type `number` supplied to `NumberInput`, expected `string`.
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\NumberInput.js:5:24)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)

    [0m [90m 30 |[39m
     [90m 31 |[39m   [36mreturn[39m (
    [31m[1m>[22m[39m[90m 32 |[39m     [33m<[39m[33mComponent[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 33 |[39m       field[33m=[39m{field}
     [90m 34 |[39m       disabled[33m=[39m{disabled}
     [90m 35 |[39m       onChange[33m=[39m{onChange}[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at createElement (src/pages/GlobalConfig/InputFactory.js:32:5)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.error
    Warning: Received `false` for a non-boolean attribute `error`.
    
    If you want to write it to the DOM, pass a string instead: error="false" or error={value.toString()}.
    
    If you used to conditionally omit it with error={condition && value}, pass error={condition ? value : undefined} instead.
        at input
        at inputComponent (C:\User-Insight-Tracking-UI\node_modules\input-format\source\react\Input.js:17:2)
        at onKeyDown (C:\User-Insight-Tracking-UI\node_modules\react-phone-number-input\source\InputSmart.js:21:3)
        at div
        at _classCallCheck (C:\User-Insight-Tracking-UI\node_modules\react-phone-number-input\source\PhoneInputWithCountry.js:47:21)
        at metadata (C:\User-Insight-Tracking-UI\node_modules\react-phone-number-input\source\PhoneInputWithCountryDefault.js:15:3)
        at div
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\PhoneNumberInput.js:6:29)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)

    [0m [90m 28 |[39m   fieldTypes[33m.[39mforEach(({ type[33m,[39m placeholder }) [33m=>[39m {
     [90m 29 |[39m     it([32m`renders ${type} input correctly`[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 30 |[39m       render(
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 31 |[39m         [33m<[39m[33mInputFactory[39m
     [90m 32 |[39m           field[33m=[39m{{
     [90m 33 |[39m             [33m...[39mbaseField[33m,[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateProperty$1 (node_modules/react-dom/cjs/react-dom.development.js:3767:9)
      at warnUnknownProperties (node_modules/react-dom/cjs/react-dom.development.js:3803:21)
      at validateProperties$2 (node_modules/react-dom/cjs/react-dom.development.js:3827:3)
      at validatePropertiesInDevelopment (node_modules/react-dom/cjs/react-dom.development.js:9541:5)
      at setInitialProperties (node_modules/react-dom/cjs/react-dom.development.js:9830:5)
      at finalizeInitialChildren (node_modules/react-dom/cjs/react-dom.development.js:10950:3)
      at completeWork (node_modules/react-dom/cjs/react-dom.development.js:22232:17)
      at completeUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26632:16)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26607:5)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.error
    Warning: React does not recognize the `helperText` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `helpertext` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
        at input
        at inputComponent (C:\User-Insight-Tracking-UI\node_modules\input-format\source\react\Input.js:17:2)
        at onKeyDown (C:\User-Insight-Tracking-UI\node_modules\react-phone-number-input\source\InputSmart.js:21:3)
        at div
        at _classCallCheck (C:\User-Insight-Tracking-UI\node_modules\react-phone-number-input\source\PhoneInputWithCountry.js:47:21)
        at metadata (C:\User-Insight-Tracking-UI\node_modules\react-phone-number-input\source\PhoneInputWithCountryDefault.js:15:3)
        at div
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\PhoneNumberInput.js:6:29)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)

    [0m [90m 28 |[39m   fieldTypes[33m.[39mforEach(({ type[33m,[39m placeholder }) [33m=>[39m {
     [90m 29 |[39m     it([32m`renders ${type} input correctly`[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 30 |[39m       render(
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 31 |[39m         [33m<[39m[33mInputFactory[39m
     [90m 32 |[39m           field[33m=[39m{{
     [90m 33 |[39m             [33m...[39mbaseField[33m,[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateProperty$1 (node_modules/react-dom/cjs/react-dom.development.js:3757:7)
      at warnUnknownProperties (node_modules/react-dom/cjs/react-dom.development.js:3803:21)
      at validateProperties$2 (node_modules/react-dom/cjs/react-dom.development.js:3827:3)
      at validatePropertiesInDevelopment (node_modules/react-dom/cjs/react-dom.development.js:9541:5)
      at setInitialProperties (node_modules/react-dom/cjs/react-dom.development.js:9830:5)
      at finalizeInitialChildren (node_modules/react-dom/cjs/react-dom.development.js:10950:3)
      at completeWork (node_modules/react-dom/cjs/react-dom.development.js:22232:17)
      at completeUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26632:16)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26607:5)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.error
    Warning: Failed prop type: Invalid prop `field.Id` of type `number` supplied to `DateInput`, expected `string`.
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\DateInput.js:6:22)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)

    [0m [90m 30 |[39m
     [90m 31 |[39m   [36mreturn[39m (
    [31m[1m>[22m[39m[90m 32 |[39m     [33m<[39m[33mComponent[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 33 |[39m       field[33m=[39m{field}
     [90m 34 |[39m       disabled[33m=[39m{disabled}
     [90m 35 |[39m       onChange[33m=[39m{onChange}[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at createElement (src/pages/GlobalConfig/InputFactory.js:32:5)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.error
    Warning: Failed prop type: Invalid prop `field.Id` of type `number` supplied to `SelectInput`, expected `string`.
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\SelectInput.js:5:24)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)

    [0m [90m 30 |[39m
     [90m 31 |[39m   [36mreturn[39m (
    [31m[1m>[22m[39m[90m 32 |[39m     [33m<[39m[33mComponent[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 33 |[39m       field[33m=[39m{field}
     [90m 34 |[39m       disabled[33m=[39m{disabled}
     [90m 35 |[39m       onChange[33m=[39m{onChange}[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at createElement (src/pages/GlobalConfig/InputFactory.js:32:5)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.error
    Warning: Failed prop type: Invalid prop `field.ProValue` of type `string` supplied to `CheckboxInput`, expected `boolean`.
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\CheckboxInput.js:5:28)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)

    [0m [90m 30 |[39m
     [90m 31 |[39m   [36mreturn[39m (
    [31m[1m>[22m[39m[90m 32 |[39m     [33m<[39m[33mComponent[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 33 |[39m       field[33m=[39m{field}
     [90m 34 |[39m       disabled[33m=[39m{disabled}
     [90m 35 |[39m       onChange[33m=[39m{onChange}[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at createElement (src/pages/GlobalConfig/InputFactory.js:32:5)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)
PASS src/tests/InputFactory.test.js (13.141 s)
  InputFactory

  console.error
    Warning: Failed prop type: Invalid prop `field.Id` of type `number` supplied to `RadioInput`, expected `string`.
    ΓêÜ renders text input correctly (427 ms)
    ΓêÜ renders number input correctly (89 ms)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\RadioInput.js:5:23)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)
    ΓêÜ renders email input correctly (100 ms)
    ΓêÜ renders phone input correctly (332 ms)
    ΓêÜ renders textarea input correctly (154 ms)

    [0m [90m 30 |[39m
    ΓêÜ renders date input correctly (57 ms)
    ΓêÜ renders select input correctly (282 ms)
     [90m 31 |[39m   [36mreturn[39m (
    [31m[1m>[22m[39m[90m 32 |[39m     [33m<[39m[33mComponent[39m
    ΓêÜ renders checkbox input correctly (188 ms)
    ΓêÜ renders radio input correctly (109 ms)
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 33 |[39m       field[33m=[39m{field}
    ΓêÜ returns null for unsupported field type (8 ms)

     [90m 34 |[39m       disabled[33m=[39m{disabled}
     [90m 35 |[39m       onChange[33m=[39m{onChange}[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at createElement (src/pages/GlobalConfig/InputFactory.js:32:5)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.warn
    Invalid options JSON for Test Label SyntaxError: Unexpected token 'O', "One,Two" is not valid JSON
        at JSON.parse (<anonymous>)
        at parse (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\RadioInput.js:8:34)
        at renderWithHooks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:15486:18)
        at mountIndeterminateComponent (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:20103:13)
        at beginWork (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:21626:16)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27465:14)
        at performUnitOfWork (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26599:12)
        at workLoopSync (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26505:5)
        at renderRootSync (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26473:7)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25777:74)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at Object.render (C:\User-Insight-Tracking-UI\src\tests\InputFactory.test.js:30:7)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at processTicksAndRejections (node:internal/process/task_queues:103:5)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12)

    [0m [90m  8 |[39m   options [33m=[39m field[33m.[39m[33mOptions[39m [33m?[39m [33mJSON[39m[33m.[39mparse(field[33m.[39m[33mOptions[39m) [33m:[39m [][33m;[39m
     [90m  9 |[39m } [36mcatch[39m (e) {
    [31m[1m>[22m[39m[90m 10 |[39m   console[33m.[39mwarn([32m"Invalid options JSON for"[39m[33m,[39m field[33m.[39m[33mLabel[39m[33m,[39m e)[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 11 |[39m   options [33m=[39m [][33m;[39m 
     [90m 12 |[39m }
     [90m 13 |[39m[0m

      at warn (src/pages/GlobalConfig/Inputs/RadioInput.js:10:11)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/InputFactory.test.js:30:7)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 140 |[39m   it([32m"loads data on mount and passes it to CommonTable"[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m 141 |[39m     [36mconst[39m { [36mdefault[39m[33m:[39m [33mCallDetails[39m } [33m=[39m [36mawait[39m [36mimport[39m([32m"../pages/ActivityReports/CallDetails.js"[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 142 |[39m     render([33mReact[39m[33m.[39mcreateElement([33mCallDetails[39m))[33m;[39m
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 143 |[39m
     [90m 144 |[39m     [36mawait[39m waitFor(() [33m=>[39m expect(mockPostApi)[33m.[39mtoHaveBeenCalled())[33m;[39m
     [90m 145 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/CallDetails.test.js:142:5)

  console.error
    Error fetching call details: Error: API failure
        at Object.<anonymous> (C:\User-Insight-Tracking-UI\src\tests\CallDetails.test.js:170:39)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at processTicksAndRejections (node:internal/process/task_queues:103:5)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12)

    [0m [90m 39 |[39m       setData([33mArray[39m[33m.[39misArray(result) [33m?[39m result [33m:[39m [])[33m;[39m
     [90m 40 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 41 |[39m       console[33m.[39merror([32m"Error fetching call details:"[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 42 |[39m     } [36mfinally[39m {
     [90m 43 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m 44 |[39m     }[0m

      at error (src/pages/ActivityReports/CallDetails.js:41:15)

PASS src/tests/CallDetails.test.js (9.782 s)
  CallDetails component (ESM-compatible tests)
    ΓêÜ loads data on mount and passes it to CommonTable (3533 ms)
    ΓêÜ renders CallDetails component (114 ms)
    ΓêÜ renders SmartDateSelector component (106 ms)
    ΓêÜ handles API error and hides loader (189 ms)

  console.error
    Warning: Failed prop type: Invalid prop `viewType` of type `number` supplied to `CreateEditRoleDialog`, expected `string`.
        at open (C:\User-Insight-Tracking-UI\src\pages\ManageRoles\CreateEditRoleDialog.js:24:5)

    [0m [90m 38 |[39m
     [90m 39 |[39m   test([32m'renders dialog when open prop is true'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 40 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 41 |[39m     expect(screen[33m.[39mgetByText([32m'Create Role'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 42 |[39m   })[33m;[39m
     [90m 43 |[39m[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at Object.createElement (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:40:12)

  console.error
    Warning: Failed prop type: Invalid prop `viewType` of type `number` supplied to `CreateEditRoleDialog`, expected `string`.
        at open (C:\User-Insight-Tracking-UI\src\pages\ManageRoles\CreateEditRoleDialog.js:24:5)

    [0m [90m 38 |[39m
     [90m 39 |[39m   test([32m'renders dialog when open prop is true'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 40 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 41 |[39m     
     [90m 42 |[39m     expect(screen[33m.[39mgetByText([32m'Create Role'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 43 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at Object.createElement (src/pages/ManageRoles/CreateEditRoleDialog.test.js:40:12)

  console.error
    Warning: Failed prop type: Invalid prop `oldViewtype` of type `number` supplied to `CreateEditRoleDialog`, expected `string`.
        at open (C:\User-Insight-Tracking-UI\src\pages\ManageRoles\CreateEditRoleDialog.js:24:5)

    [0m [90m 38 |[39m
     [90m 39 |[39m   test([32m'renders dialog when open prop is true'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 40 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 41 |[39m     expect(screen[33m.[39mgetByText([32m'Create Role'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 42 |[39m   })[33m;[39m
     [90m 43 |[39m[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at Object.createElement (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:40:12)

  console.error
    Warning: Failed prop type: Invalid prop `oldViewtype` of type `number` supplied to `CreateEditRoleDialog`, expected `string`.
        at open (C:\User-Insight-Tracking-UI\src\pages\ManageRoles\CreateEditRoleDialog.js:24:5)

    [0m [90m 38 |[39m
     [90m 39 |[39m   test([32m'renders dialog when open prop is true'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 40 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 41 |[39m     
     [90m 42 |[39m     expect(screen[33m.[39mgetByText([32m'Create Role'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 43 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at Object.createElement (src/pages/ManageRoles/CreateEditRoleDialog.test.js:40:12)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 38 |[39m
     [90m 39 |[39m   test([32m'renders dialog when open prop is true'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 40 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 41 |[39m     expect(screen[33m.[39mgetByText([32m'Create Role'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 42 |[39m   })[33m;[39m
     [90m 43 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:40:5)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 38 |[39m
     [90m 39 |[39m   test([32m'renders dialog when open prop is true'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 40 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 41 |[39m     
     [90m 42 |[39m     expect(screen[33m.[39mgetByText([32m'Create Role'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 43 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/pages/ManageRoles/CreateEditRoleDialog.test.js:40:5)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 60 |[39m
     [90m 61 |[39m   [36mconst[39m renderWithUser [33m=[39m () [33m=>[39m
    [31m[1m>[22m[39m[90m 62 |[39m     render(
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 63 |[39m       [33m<[39m[33mUserProvider[39m[33m>[39m
     [90m 64 |[39m         [33m<[39m[33mGlobalConfig[39m [33m/[39m[33m>[39m
     [90m 65 |[39m       [33m<[39m[33m/[39m[33mUserProvider[39m[33m>[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/GlobalConfig.test.js:62:5)
      at Object.renderWithUser (src/tests/GlobalConfig.test.js:69:5)

  console.error
    Warning: Received `false` for a non-boolean attribute `expandable`.
    
    If you want to write it to the DOM, pass a string instead: expandable="false" or expandable={value.toString()}.
    
    If you used to conditionally omit it with expandable={condition && value}, pass expandable={condition ? value : undefined} instead.
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at FormControl (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\FormControl\FormControl.js:92:59)
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at TextField (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\TextField\TextField.js:84:59)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\TextAreaInput.js:5:26)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Box (C:\User-Insight-Tracking-UI\node_modules\@mui\system\createBox.js:31:41)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Paper (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\Paper\Paper.js:70:59)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Grid (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\Grid\Grid.js:381:64)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Grid (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\Grid\Grid.js:381:64)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Box (C:\User-Insight-Tracking-UI\node_modules\@mui\system\createBox.js:31:41)
        at useState (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\GlobalConfig.js:34:39)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateProperty$1 (node_modules/react-dom/cjs/react-dom.development.js:3767:9)
      at warnUnknownProperties (node_modules/react-dom/cjs/react-dom.development.js:3803:21)
      at validateProperties$2 (node_modules/react-dom/cjs/react-dom.development.js:3827:3)
      at validatePropertiesInDevelopment (node_modules/react-dom/cjs/react-dom.development.js:9541:5)
      at setInitialProperties (node_modules/react-dom/cjs/react-dom.development.js:9830:5)
      at finalizeInitialChildren (node_modules/react-dom/cjs/react-dom.development.js:10950:3)
PASS src/tests/GlobalConfig.test.js (91.08 s)
  GlobalConfig
      at completeWork (node_modules/react-dom/cjs/react-dom.development.js:22232:17)
      at completeUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26632:16)
    ΓêÜ renders Configuration Editor title (787 ms)
    ΓêÜ loads fields from API and displays them (903 ms)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26607:5)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)

      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at recursivelyFlushAsyncActWork (node_modules/react/cjs/react.development.js:2633:9)
      at node_modules/react/cjs/react.development.js:2545:15

  console.error
    Warning: Failed prop type: Invalid prop `field.Id` of type `number` supplied to `NumberInput`, expected `string`.
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\Inputs\NumberInput.js:5:24)
        at field (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\InputFactory.js:27:25)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Box (C:\User-Insight-Tracking-UI\node_modules\@mui\system\createBox.js:31:41)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Paper (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\Paper\Paper.js:70:59)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Grid (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\Grid\Grid.js:381:64)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Grid (C:\User-Insight-Tracking-UI\node_modules\@mui\material\node\Grid\Grid.js:381:64)
        at div
        at C:\User-Insight-Tracking-UI\node_modules\@emotion\react\dist\emotion-element-25f9958c.browser.cjs.js:56:23
        at Box (C:\User-Insight-Tracking-UI\node_modules\@mui\system\createBox.js:31:41)
        at useState (C:\User-Insight-Tracking-UI\src\pages\GlobalConfig\GlobalConfig.js:34:39)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)

    [0m [90m 30 |[39m
     [90m 31 |[39m   [36mreturn[39m (
    [31m[1m>[22m[39m[90m 32 |[39m     [33m<[39m[33mComponent[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 33 |[39m       field[33m=[39m{field}
     [90m 34 |[39m       disabled[33m=[39m{disabled}
     [90m 35 |[39m       onChange[33m=[39m{onChange}[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at createElement (src/pages/GlobalConfig/InputFactory.js:32:5)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at recursivelyFlushAsyncActWork (node_modules/react/cjs/react.development.js:2633:9)
      at node_modules/react/cjs/react.development.js:2545:15

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 22 |[39m   [90m// Test 1: Component renders without crashing[39m
     [90m 23 |[39m   test([32m'renders action button'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 24 |[39m     render(
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 25 |[39m       [33m<[39m[33mActionForPermission[39m
     [90m 26 |[39m         handleModifyPermissions[33m=[39m{mockHandleModifyPermissions}
     [90m 27 |[39m         userData[33m=[39m{mockUserData}[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/pages/actionForPermission.test.js:24:5)

PASS src/pages/actionForPermission.test.js (95 s)
  ActionForPermission Component
    ΓêÜ renders action button (724 ms)
    ΓêÜ opens popover on button click (380 ms)
    ΓêÜ displays Edit option in menu (132 ms)
    ΓêÜ displays Delete option in menu (78 ms)
    ΓêÜ calls handleModifyPermissions on Edit click (102 ms)
    ΓêÜ calls handleModifyPermissions on Delete click (92 ms)
    ΓêÜ closes popover after Edit selection (98 ms)
    ΓêÜ works with different userData (30 ms)
    ΓêÜ does not call handleModifyPermissions on render (15 ms)
    ΓêÜ can open and close popover multiple times (70 ms)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 26 |[39m
     [90m 27 |[39m it([32m"renders status and role checkboxes"[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 28 |[39m render([33m<[39m[33mPopupForFilter[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m [31m[1m^[22m[39m
     [90m 29 |[39m expect(screen[33m.[39mgetByText([32m"Filters"[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 30 |[39m expect(screen[33m.[39mgetByText([32m"Active"[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 31 |[39m expect(screen[33m.[39mgetByText([32m"Deactive"[39m))[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/PopupForFilter.test.js:28:1)

  console.error
    Warning: PopupForFilter: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
        at onClose (C:\User-Insight-Tracking-UI\src\components\PopupForFilter.js:8:27)

    [0m [90m 26 |[39m
     [90m 27 |[39m it([32m"renders status and role checkboxes"[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 28 |[39m render([33m<[39m[33mPopupForFilter[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m [31m[1m^[22m[39m
     [90m 29 |[39m expect(screen[33m.[39mgetByText([32m"Filters"[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 30 |[39m expect(screen[33m.[39mgetByText([32m"Active"[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 31 |[39m expect(screen[33m.[39mgetByText([32m"Deactive"[39m))[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateFunctionComponentInDev (node_modules/react-dom/cjs/react-dom.development.js:20230:9)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20189:7)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/PopupForFilter.test.js:28:1)

PASS src/tests/PopupForFilter.test.js (8.384 s)
  PopupForFilter Component
    ΓêÜ renders status and role checkboxes (555 ms)
    ΓêÜ clears all filters when CLEAR ALL is clicked (175 ms)
    ΓêÜ calls getUsersTable and onClose when Apply Filters is clicked (167 ms)
    ΓêÜ calls onClose when Cancel is clicked (104 ms)
    ΓêÜ shows Loader while applying filters (117 ms)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 13 |[39m
     [90m 14 |[39m   it([32m'renders initials when image is not provided'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 15 |[39m     render([33m<[39m[33mProfile[39m {[33m...[39mmockProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 16 |[39m     [36mconst[39m avatar [33m=[39m screen[33m.[39mgetByText([32m'JD'[39m)[33m;[39m [90m// J from Jane, D from Doe[39m
     [90m 17 |[39m     expect(avatar)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 18 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/Profile.test.js:15:5)

  console.error
    Warning: Profile: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
        at imageSrc (C:\User-Insight-Tracking-UI\src\components\Profile.js:5:20)

    [0m [90m 13 |[39m
     [90m 14 |[39m   it([32m'renders initials when image is not provided'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 15 |[39m     render([33m<[39m[33mProfile[39m {[33m...[39mmockProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 16 |[39m     [36mconst[39m avatar [33m=[39m screen[33m.[39mgetByText([32m'JD'[39m)[33m;[39m [90m// J from Jane, D from Doe[39m
     [90m 17 |[39m     expect(avatar)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 18 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateFunctionComponentInDev (node_modules/react-dom/cjs/react-dom.development.js:20230:9)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20189:7)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/Profile.test.js:15:5)

PASS src/tests/Profile.test.js (7.269 s)
  Profile Component
    ΓêÜ renders initials when image is not provided (217 ms)
    ΓêÜ renders employee name, ID, and location (36 ms)
    ΓêÜ does not render initials when image is provided (205 ms)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 31 |[39m   [90m// Test 1: Component renders without crashing[39m
     [90m 32 |[39m   it([32m'renders without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 33 |[39m     render([33m<[39m[33mChartComponent[39m graphData[33m=[39m{mockGraphData} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 34 |[39m     expect(screen[33m.[39mgetByTestId([32m'mock-chart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 35 |[39m   })[33m;[39m
     [90m 36 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/LineChart.test.js:33:5)

  console.error
    Warning: ChartComponent: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
        at graphData (C:\User-Insight-Tracking-UI\src\components\LineChart.js:6:42)

    [0m [90m 31 |[39m   [90m// Test 1: Component renders without crashing[39m
     [90m 32 |[39m   it([32m'renders without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 33 |[39m     render([33m<[39m[33mChartComponent[39m graphData[33m=[39m{mockGraphData} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 34 |[39m     expect(screen[33m.[39mgetByTestId([32m'mock-chart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 35 |[39m   })[33m;[39m
     [90m 36 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateFunctionComponentInDev (node_modules/react-dom/cjs/react-dom.development.js:20230:9)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20189:7)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/LineChart.test.js:33:5)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m  6 |[39m describe([32m'ToggleBtn Component'[39m[33m,[39m () [33m=>[39m {
     [90m  7 |[39m   it([32m'should render the button with "Show Today\'s Data" text when showLiveData is true'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m  8 |[39m     render([33m<[39m[33mToggleBtn[39m showLiveData[33m=[39m{[36mtrue[39m} onToggleData[33m=[39m{() [33m=>[39m {}} disabled[33m=[39m{[36mfalse[39m} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m  9 |[39m     [36mconst[39m buttonElement [33m=[39m screen[33m.[39mgetByRole([32m'button'[39m[33m,[39m { name[33m:[39m [32m"Show Today's Data"[39m })[33m;[39m
     [90m 10 |[39m     expect(buttonElement)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 11 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/ToggleBtn.test.js:8:5)

PASS src/tests/LineChart.test.js
  ChartComponent
    ΓêÜ renders without crashing (147 ms)
    ΓêÜ renders with empty graphData array (15 ms)
    ΓêÜ renders with undefined graphData (26 ms)
    ΓêÜ renders with null graphData (7 ms)
    ΓêÜ uses default props when graphData is not provided (13 ms)
    ΓêÜ extracts time in HH:MM format from EndTime (13 ms)
    ΓêÜ handles data with missing EndTime gracefully (11 ms)
    ΓêÜ handles data with missing ActiveLoginCount (12 ms)
    ΓêÜ handles data with missing LoginCount (9 ms)
    ΓêÜ processes multiple data points correctly (10 ms)
    ΓêÜ re-renders correctly when graphData prop changes (16 ms)
    ΓêÜ handles single data point (7 ms)
    ΓêÜ returns chart div with correct id (6 ms)
    ΓêÜ handles data with extra properties (8 ms)
    ΓêÜ handles zero values in counts (10 ms)
    ΓêÜ validates PropTypes correctly (2 ms)
    ΓêÜ has default props set (5 ms)
    ΓêÜ handles large dataset with 100 data points (13 ms)
    ΓêÜ state updates correctly when graphData prop changes (12 ms)
    ΓêÜ handles data with various EndTime formats (9 ms)

PASS src/tests/ToggleBtn.test.js (7.148 s)
  ToggleBtn Component
    ΓêÜ should render the button with "Show Today's Data" text when 
showLiveData is true (349 ms)
    ΓêÜ should render the button with "Show Live Data" text when showLiveData 
is false (66 ms)
    ΓêÜ should call onToggleData when the button is clicked (69 ms)
    ΓêÜ should disable the button when disabled prop is true (45 ms)
    ΓêÜ should enable the button when disabled prop is false (53 ms)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 17 |[39m
     [90m 18 |[39m   it([32m"renders dialog when open is true"[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 19 |[39m     render([33m<[39m[33mRoleChangedPopup[39m open[33m=[39m{[36mtrue[39m} onLogout[33m=[39m{onLogout} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 20 |[39m     expect(
     [90m 21 |[39m       screen[33m.[39mgetByText([35m/You will be logged out automatically in/i[39m)
     [90m 22 |[39m     )[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/RoleChangedPopup.test.js:19:5)

PASS src/tests/RoleChangedPopup.test.js (7.254 s)
  RoleChangedPopup
    ΓêÜ renders dialog when open is true (396 ms)
    ΓêÜ does not render dialog when open is false (14 ms)
    ΓêÜ calls onLogout when "Logout Now" button is clicked (143 ms)
    ΓêÜ shows countdown and decrements seconds (188 ms)
    ΓêÜ calls onLogout automatically after countdown (88 ms)
    ΓêÜ resets countdown when reopened (195 ms)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m  5 |[39m describe([32m'Loader Component'[39m[33m,[39m () [33m=>[39m {
     [90m  6 |[39m   test([32m'should render loader element'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m  7 |[39m     render([33m<[39m[33mLoader[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m  8 |[39m     [36mconst[39m loaderElement [33m=[39m screen[33m.[39mgetByRole([32m'status'[39m[33m,[39m { hidden[33m:[39m [36mtrue[39m })[33m;[39m
     [90m  9 |[39m     expect(loaderElement)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 10 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/components/Loader.test.js:7:5)

PASS src/components/Loader.test.js
  Loader Component
    ΓêÜ should render loader element (101 ms)
    ΓêÜ should have loader class (18 ms)
    ΓêÜ should render without props (16 ms)
    ΓêÜ should render multiple loaders if needed (16 ms)

  console.error
    Warning: Failed prop type: Invalid prop `data` of type `array` supplied to `PieChart`, expected `object`.
        at data (C:\User-Insight-Tracking-UI\src\utils\PieCharts.js:6:21)

    [0m [90m 15 |[39m
     [90m 16 |[39m   it([32m'renders the pie chart when valid data is provided'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 17 |[39m     render([33m<[39m[33mPieChart[39m data[33m=[39m{baseData} selectedValue[33m=[39m[32m"Sessions"[39m selectedValue3[33m=[39m[32m"X"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 18 |[39m     expect(screen[33m.[39mgetByTestId([32m'mock-chart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 19 |[39m   })[33m;[39m
     [90m 20 |[39m[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at Object.createElement (src/tests/PieChart.test.js:17:12)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 15 |[39m
     [90m 16 |[39m   it([32m'renders the pie chart when valid data is provided'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 17 |[39m     render([33m<[39m[33mPieChart[39m data[33m=[39m{baseData} selectedValue[33m=[39m[32m"Sessions"[39m selectedValue3[33m=[39m[32m"X"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 18 |[39m     expect(screen[33m.[39mgetByTestId([32m'mock-chart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 19 |[39m   })[33m;[39m
     [90m 20 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/PieChart.test.js:17:5)

PASS src/tests/PieChart.test.js
  PieChart
    ΓêÜ renders the pie chart when valid data is provided (109 ms)
    ΓêÜ renders "No Data found" when data is empty (13 ms)
    ΓêÜ renders different data for "Calls" view (14 ms)
    ΓêÜ renders different data for default view (10 ms)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 42 |[39m   }[33m;[39m
     [90m 43 |[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mreturn[39m render(
     [90m    |[39m          [31m[1m^[22m[39m
     [90m 45 |[39m     [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 46 |[39m       [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 47 |[39m         [33m<[39m[33mEmployeeWorkingTime[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/EmployeeWorkingTime.test.js:44:10)
      at Object.renderComponent (src/tests/EmployeeWorkingTime.test.js:61:5)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 37 |[39m     }[33m;[39m
     [90m 38 |[39m
    [31m[1m>[22m[39m[90m 39 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 40 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 41 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 42 |[39m                 [33m<[39m[33mScreenshots[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/Screenshot.test.js:39:12)
      at Object.renderComponent (src/tests/Screenshot.test.js:61:9)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 41 |[39m     }[33m;[39m
     [90m 42 |[39m
    [31m[1m>[22m[39m[90m 43 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 44 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 45 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 46 |[39m                 [33m<[39m[33mSystemSleepDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/SystemSleepDetails.test.js:43:12)
      at Object.renderComponent (src/tests/SystemSleepDetails.test.js:65:9)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 39 |[39m     }[33m;[39m
     [90m 40 |[39m
    [31m[1m>[22m[39m[90m 41 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 42 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 43 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 44 |[39m                 [33m<[39m[33mRunningApplicationDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/RunningApplicationsDetails.test.js:41:12)
      at Object.renderComponent (src/tests/RunningApplicationsDetails.test.js:63:9)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 41 |[39m     }[33m;[39m
     [90m 42 |[39m
    [31m[1m>[22m[39m[90m 43 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 44 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 45 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 46 |[39m                 [33m<[39m[33mSystemLoginDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/SystemLoginDetails.test.js:43:12)
      at Object.renderComponent (src/tests/SystemLoginDetails.test.js:65:9)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 26 |[39m     [36mconst[39m end [33m=[39m [36mnew[39m [33mDate[39m([35m2023[39m[33m,[39m [35m0[39m[33m,[39m [35m5[39m)[33m;[39m
     [90m 27 |[39m
    [31m[1m>[22m[39m[90m 28 |[39m     render(
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 29 |[39m       [33m<[39m[33mCustomDateRangePicker[39m
     [90m 30 |[39m         onChange[33m=[39m{mockOnChange}
     [90m 31 |[39m         onApply[33m=[39m{mockOnApply}[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/DateRangePicker.test.js:28:5)

  console.error
    Warning: SystemLoginDetails: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 41 |[39m     }[33m;[39m
     [90m 42 |[39m
    [31m[1m>[22m[39m[90m 43 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 44 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 45 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 46 |[39m                 [33m<[39m[33mSystemLoginDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateFunctionComponentInDev (node_modules/react-dom/cjs/react-dom.development.js:20230:9)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20189:7)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/SystemLoginDetails.test.js:43:12)
      at Object.renderComponent (src/tests/SystemLoginDetails.test.js:65:9)

PASS src/tests/DateRangePicker.test.js
  CustomDateRangePicker Component
    ΓêÜ initializes with selDate when provided (116 ms)
    ΓêÜ calls onApply when Apply button is clicked (34 ms)
    ΓêÜ calls onClose when Close button is clicked (16 ms)
    ΓêÜ calls onChange when Clear button is clicked (25 ms)
    ΓêÜ does not call onChange if disableDefaultRange is true on mount (8 ms)
    ΓêÜ disables Apply and shows toast when range > 30 days (14 ms)

PASS src/utils/ConvertHHMMSStoHHMM.test.js
  ConvertHHMMSStoHHMM
    ΓêÜ should convert time format from HH:MM:SS to HH:MM (27 ms)
    ΓêÜ should handle 00:00:00 (1 ms)
    ΓêÜ should handle large hours (11 ms)
    ΓêÜ should handle time with leading zeros (6 ms)
    ΓêÜ should return same format when appropriate (5 ms)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.

    [0m [90m 42 |[39m   }[33m;[39m
     [90m 43 |[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mreturn[39m render(
     [90m    |[39m          [31m[1m^[22m[39m
     [90m 45 |[39m     [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 46 |[39m       [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 47 |[39m         [33m<[39m[33mEmployeeWorkingTime[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:26:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/EmployeeWorkingTime.test.js:44:10)
      at Object.renderComponent (src/tests/EmployeeWorkingTime.test.js:61:5)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath.

    [0m [90m 42 |[39m   }[33m;[39m
     [90m 43 |[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mreturn[39m render(
     [90m    |[39m          [31m[1m^[22m[39m
     [90m 45 |[39m     [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 46 |[39m       [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 47 |[39m         [33m<[39m[33mEmployeeWorkingTime[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:37:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/EmployeeWorkingTime.test.js:44:10)
      at Object.renderComponent (src/tests/EmployeeWorkingTime.test.js:61:5)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.

    [0m [90m 37 |[39m     }[33m;[39m
     [90m 38 |[39m
    [31m[1m>[22m[39m[90m 39 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 40 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 41 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 42 |[39m                 [33m<[39m[33mScreenshots[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:26:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/Screenshot.test.js:39:12)
      at Object.renderComponent (src/tests/Screenshot.test.js:61:9)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.

    [0m [90m 41 |[39m     }[33m;[39m
     [90m 42 |[39m
    [31m[1m>[22m[39m[90m 43 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 44 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 45 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 46 |[39m                 [33m<[39m[33mSystemLoginDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:26:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/SystemLoginDetails.test.js:43:12)
      at Object.renderComponent (src/tests/SystemLoginDetails.test.js:65:9)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath.

    [0m [90m 41 |[39m     }[33m;[39m
     [90m 42 |[39m
    [31m[1m>[22m[39m[90m 43 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 44 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 45 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 46 |[39m                 [33m<[39m[33mSystemLoginDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:37:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/SystemLoginDetails.test.js:43:12)
      at Object.renderComponent (src/tests/SystemLoginDetails.test.js:65:9)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.

    [0m [90m 41 |[39m     }[33m;[39m
     [90m 42 |[39m
    [31m[1m>[22m[39m[90m 43 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 44 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 45 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 46 |[39m                 [33m<[39m[33mSystemSleepDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:26:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/SystemSleepDetails.test.js:43:12)
      at Object.renderComponent (src/tests/SystemSleepDetails.test.js:65:9)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath.

    [0m [90m 41 |[39m     }[33m;[39m
     [90m 42 |[39m
    [31m[1m>[22m[39m[90m 43 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 44 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 45 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 46 |[39m                 [33m<[39m[33mSystemSleepDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:37:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/SystemSleepDetails.test.js:43:12)
      at Object.renderComponent (src/tests/SystemSleepDetails.test.js:65:9)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:65:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.

    [0m [90m 39 |[39m     }[33m;[39m
     [90m 40 |[39m
    [31m[1m>[22m[39m[90m 41 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 42 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 43 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 44 |[39m                 [33m<[39m[33mRunningApplicationDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:26:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/RunningApplicationsDetails.test.js:41:12)
      at Object.renderComponent (src/tests/RunningApplicationsDetails.test.js:63:9)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath.

    [0m [90m 39 |[39m     }[33m;[39m
     [90m 40 |[39m
    [31m[1m>[22m[39m[90m 41 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 42 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 43 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 44 |[39m                 [33m<[39m[33mRunningApplicationDetails[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:37:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/RunningApplicationsDetails.test.js:41:12)
      at Object.renderComponent (src/tests/RunningApplicationsDetails.test.js:63:9)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:49:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:59:7)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:41:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:63:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/RunningApplicationDetails.js:49:22)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 48 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 49 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(runningApplicationsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 50 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 51 |[39m     } [36mcatch[39m (error) {
     [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/RunningApplicationDetails.js:50:7)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 54 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 55 |[39m     }
     [90m 56 |[39m   }[33m;[39m
     [90m 57 |[39m   [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/RunningApplicationDetails.js:54:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:49:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:59:7)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:41:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:68:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/RunningApplicationDetails.js:49:22)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 48 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 49 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(runningApplicationsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 50 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 51 |[39m     } [36mcatch[39m (error) {
     [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/RunningApplicationDetails.js:50:7)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 54 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 55 |[39m     }
     [90m 56 |[39m   }[33m;[39m
     [90m 57 |[39m   [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/RunningApplicationDetails.js:54:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:49:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:59:7)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:41:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:73:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/RunningApplicationDetails.js:49:22)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 48 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 49 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(runningApplicationsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 50 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 51 |[39m     } [36mcatch[39m (error) {
     [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/RunningApplicationDetails.js:50:7)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 54 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 55 |[39m     }
     [90m 56 |[39m   }[33m;[39m
     [90m 57 |[39m   [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/RunningApplicationDetails.js:54:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:49:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:59:7)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:41:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:77:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/RunningApplicationDetails.js:49:22)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 48 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 49 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(runningApplicationsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 50 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 51 |[39m     } [36mcatch[39m (error) {
     [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/RunningApplicationDetails.js:50:7)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 54 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 55 |[39m     }
     [90m 56 |[39m   }[33m;[39m
     [90m 57 |[39m   [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/RunningApplicationDetails.js:54:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:49:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:59:7)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:41:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:81:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/RunningApplicationDetails.js:49:22)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 48 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 49 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(runningApplicationsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 50 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 51 |[39m     } [36mcatch[39m (error) {
     [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/RunningApplicationDetails.js:50:7)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 54 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 55 |[39m     }
     [90m 56 |[39m   }[33m;[39m
     [90m 57 |[39m   [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/RunningApplicationDetails.js:54:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:49:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:59:7)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:41:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:89:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/RunningApplicationDetails.js:49:22)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 48 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 49 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(runningApplicationsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 50 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 51 |[39m     } [36mcatch[39m (error) {
     [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/RunningApplicationDetails.js:50:7)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 54 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 55 |[39m     }
     [90m 56 |[39m   }[33m;[39m
     [90m 57 |[39m   [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/RunningApplicationDetails.js:54:7)

  console.error
    Warning: Failed prop type: Invalid prop `data` of type `array` supplied to `BarChart`, expected `object`.
        at data (C:\User-Insight-Tracking-UI\src\components\Barchart.js:6:36)

    [0m [90m 25 |[39m
     [90m 26 |[39m   it([32m'renders with Sessions and "Active" selectedValue3'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 27 |[39m     render([33m<[39m[33mBarChart[39m data[33m=[39m{mockData} selectedValue[33m=[39m[32m"Sessions"[39m selectedValue3[33m=[39m[32m"Active"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 28 |[39m     expect(screen[33m.[39mgetByTestId([32m'mock-chart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 29 |[39m   })[33m;[39m
     [90m 30 |[39m[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at Object.createElement (src/tests/BarChart.test.js:27:12)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 25 |[39m
     [90m 26 |[39m   it([32m'renders with Sessions and "Active" selectedValue3'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 27 |[39m     render([33m<[39m[33mBarChart[39m data[33m=[39m{mockData} selectedValue[33m=[39m[32m"Sessions"[39m selectedValue3[33m=[39m[32m"Active"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 28 |[39m     expect(screen[33m.[39mgetByTestId([32m'mock-chart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 29 |[39m   })[33m;[39m
     [90m 30 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/BarChart.test.js:27:5)

  console.warn
    ΓÜá∩╕Å React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath.

    [0m [90m 37 |[39m     }[33m;[39m
     [90m 38 |[39m
    [31m[1m>[22m[39m[90m 39 |[39m     [36mreturn[39m render(
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 40 |[39m         [33m<[39m[33mBrowserRouter[39m[33m>[39m
     [90m 41 |[39m             [33m<[39m[33mUserProvider[39m value[33m=[39m{mockUserContext}[33m>[39m
     [90m 42 |[39m                 [33m<[39m[33mScreenshots[39m {[33m...[39mdefaultProps} {[33m...[39mprops} [33m/[39m[33m>[39m[0m

      at warn (node_modules/react-router/lib/deprecations.ts:9:13)
      at warnOnce (node_modules/react-router/lib/deprecations.ts:14:3)
      at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (node_modules/react-router/lib/deprecations.ts:37:5)
      at logV6DeprecationWarnings (node_modules/react-router-dom/index.tsx:816:25)
      at commitHookEffectListMount (node_modules/react-dom/cjs/react-dom.development.js:23189:26)
      at commitPassiveMountOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24970:11)
      at commitPassiveMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24930:9)
      at commitPassiveMountEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24917:7)
      at commitPassiveMountEffects (node_modules/react-dom/cjs/react-dom.development.js:24905:3)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27078:3)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26115:3)
      at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26998:3)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:26020:9)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25848:7)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at render (src/tests/Screenshot.test.js:39:12)
      at Object.renderComponent (src/tests/Screenshot.test.js:61:9)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:39:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:61:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:39:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:66:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:39:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:71:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:39:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:75:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:39:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:79:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:39:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:87:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:39:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\Screenshot.test.js:93:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:61:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:66:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:71:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:75:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:79:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:87:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:93:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:101:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:106:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at Object.render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:112:26)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:48:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:40:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:65:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemLoginDetails.js:48:18)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 48 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemLoginDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 49 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 50 |[39m } [36mcatch[39m (error) {
     [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemLoginDetails.js:49:3)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m
     [90m 56 |[39m   }[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemLoginDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:48:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:40:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:70:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemLoginDetails.js:48:18)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 48 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemLoginDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 49 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 50 |[39m } [36mcatch[39m (error) {
     [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemLoginDetails.js:49:3)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m
     [90m 56 |[39m   }[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemLoginDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:48:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:40:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:75:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemLoginDetails.js:48:18)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 48 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemLoginDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 49 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 50 |[39m } [36mcatch[39m (error) {
     [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemLoginDetails.js:49:3)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m
     [90m 56 |[39m   }[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemLoginDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:48:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:40:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:79:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemLoginDetails.js:48:18)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 48 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemLoginDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 49 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 50 |[39m } [36mcatch[39m (error) {
     [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemLoginDetails.js:49:3)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m
     [90m 56 |[39m   }[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemLoginDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:48:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:40:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:83:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemLoginDetails.js:48:18)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 48 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemLoginDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 49 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 50 |[39m } [36mcatch[39m (error) {
     [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemLoginDetails.js:49:3)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m
     [90m 56 |[39m   }[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemLoginDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:48:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:40:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:91:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemLoginDetails.js:48:18)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 48 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemLoginDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 49 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 50 |[39m } [36mcatch[39m (error) {
     [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemLoginDetails.js:49:3)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m
     [90m 56 |[39m   }[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemLoginDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:48:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:40:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemLoginDetails.test.js:97:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemLoginDetails.js:48:18)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 48 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemLoginDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 49 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 50 |[39m } [36mcatch[39m (error) {
     [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemLoginDetails.js:49:3)

  console.error
    Warning: An update to SystemLoginDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemLoginDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   [36mthrow[39m [36mnew[39m [33mError[39m([32m`Failed to load system login details: ${error.message}`[39m)[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m
     [90m 56 |[39m   }[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemLoginDetails.js:53:3)

  console.error
    Warning: Failed prop type: Invalid prop `data` of type `array` supplied to `BarChartStack`, expected `object`.
        at data (C:\User-Insight-Tracking-UI\src\components\BarChartStack.js:6:26)

    [0m [90m 22 |[39m
     [90m 23 |[39m   it([32m'renders bar chart for Sessions'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 24 |[39m     render([33m<[39m[33mBarChartStack[39m data[33m=[39m{mockData} selectedValue[33m=[39m[32m"Sessions"[39m selectedValue3[33m=[39m[32m"X"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m            [31m[1m^[22m[39m
     [90m 25 |[39m     expect(screen[33m.[39mgetByTestId([32m'mock-chart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 26 |[39m   })[33m;[39m
     [90m 27 |[39m[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at Object.createElement (src/tests/BarChartStack.test.js:24:12)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m 22 |[39m
     [90m 23 |[39m   it([32m'renders bar chart for Sessions'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 24 |[39m     render([33m<[39m[33mBarChartStack[39m data[33m=[39m{mockData} selectedValue[33m=[39m[32m"Sessions"[39m selectedValue3[33m=[39m[32m"X"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 25 |[39m     expect(screen[33m.[39mgetByTestId([32m'mock-chart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 26 |[39m   })[33m;[39m
     [90m 27 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/BarChartStack.test.js:24:5)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:70:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:75:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:79:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:83:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:91:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:47:24)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:39:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:43:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\SystemSleepDetails.test.js:97:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/SystemSleepDetails.js:47:18)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 46 |[39m   setFilter(updatedFilterData)[33m;[39m
     [90m 47 |[39m   [36mconst[39m result [33m=[39m [36mawait[39m postApi(systemSleepDetailsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 48 |[39m   setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 49 |[39m } [36mcatch[39m (error) {
     [90m 50 |[39m   console[33m.[39mwarn([32m"Error fetching system sleep details:"[39m[33m,[39m error)[33m;[39m
     [90m 51 |[39m   setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/SystemSleepDetails.js:48:3)

  console.error
    Warning: An update to SystemSleepDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\SystemSleepDetails.js:16:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 51 |[39m   setData([])[33m;[39m
     [90m 52 |[39m } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 53 |[39m   setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 54 |[39m }
     [90m 55 |[39m   }[33m;[39m
     [90m 56 |[39m  [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/SystemSleepDetails.js:53:3)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:49:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:59:7)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:41:12)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\RunningApplicationsDetails.test.js:95:9)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/RunningApplicationDetails.js:49:22)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 48 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 49 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(runningApplicationsApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 50 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 51 |[39m     } [36mcatch[39m (error) {
     [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/RunningApplicationDetails.js:50:7)

  console.error
    Warning: An update to RunningApplicationDetails inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\RunningApplicationDetails.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 52 |[39m       console[33m.[39merror([32m"Error fetching data:"[39m[33m,[39m error[33m.[39mmessage)[33m;[39m
     [90m 53 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 54 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 55 |[39m     }
     [90m 56 |[39m   }[33m;[39m
     [90m 57 |[39m   [0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/RunningApplicationDetails.js:54:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:143:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:148:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:153:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:158:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:163:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:169:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:174:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:191:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:204:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:209:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:216:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
      subError: ''
    }

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m

      at error (src/services/apiService.js:87:15)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
     [90m 47 |[39m       setData([])[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)

  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }
     [90m 51 |[39m   }[33m;[39m
     [90m 52 |[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)

  console.error
    Error fetching data BrowserConfigurationAuthError: stubbed_public_client_application_called: Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors
        at createBrowserConfigurationAuthError (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\error\BrowserConfigurationAuthError.ts:60:12)
        at Object.acquireTokenSilent (C:\User-Insight-Tracking-UI\node_modules\@azure\msal-browser\src\app\IPublicClientApplication.ts:109:13)
        at acquireTokenSilent (C:\User-Insight-Tracking-UI\src\services\apiService.js:34:37)
        at createApiClient (C:\User-Insight-Tracking-UI\src\services\apiService.js:77:31)
        at postApi (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:43:28)
        at getData (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:35:5)
        at commitHookEffectListMount (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
        at commitPassiveMountOnFiber (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24970:11)
        at commitPassiveMountEffects_complete (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
        at commitPassiveMountEffects_begin (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
        at commitPassiveMountEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
        at flushPassiveEffectsImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
        at flushPassiveEffects (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27023:14)
        at performSyncWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26115:3)
        at flushSyncCallbacks (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:12042:22)
        at commitRootImpl (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26998:3)
        at commitRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26721:5)
        at finishConcurrentRender (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:26020:9)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25848:7)
        at flushActQueue (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2667:24)
        at act (C:\User-Insight-Tracking-UI\node_modules\react\cjs\react.development.js:2582:11)
        at actWithWarning (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom-test-utils.development.js:1740:10)
        at actImplementation (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\act-compat.js:63:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:159:25)
        at renderRoot (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react\dist\pure.js:246:10)
        at render (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:44:10)
        at Object.renderComponent (C:\User-Insight-Tracking-UI\src\tests\EmployeeWorkingTime.test.js:223:5)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
PASS src/tests/BarChartStack.test.js
  BarChartStack
    ΓêÜ renders bar chart for Sessions (352 ms)
    ΓêÜ renders bar chart for Calls (19 ms)
    ΓêÜ renders bar chart for default view (Applications) (19 ms)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
    ΓêÜ shows fallback when no data (13 ms)

PASS src/tests/ConvertHHMMSStoHHMM.test.js
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12) {
  convertTimeFormat
    ΓêÜ should convert time in HH:mm:ss format to HH:mm format (14 ms)
      errorCode: 'stubbed_public_client_application_called',
      errorMessage: 'Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors',
    ΓêÜ should handle midnight time correctly (1 ms)
    ΓêÜ should handle times with seconds not equal to 00 (3 ms)
      subError: ''
    }
    ΓêÜ should handle invalid time strings gracefully (43 ms)
    ΓêÜ should handle empty string input (5 ms)

    [0m [90m 85 |[39m       [36mreturn[39m requireData [33m?[39m res[33m.[39mdata [33m:[39m res[33m.[39mdata[33m?[39m[33m.[39m[33mData[39m[33m;[39m
    ΓêÜ should handle incorrect time format input (4 ms)

     [90m 86 |[39m     } [36mcatch[39m (error) {
    [31m[1m>[22m[39m[90m 87 |[39m       console[33m.[39merror([32m'Error fetching data'[39m[33m,[39m error)[33m;[39m
FAIL src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js (114.09 s)
  CreateEditRoleDialog Component
     [90m    |[39m               [31m[1m^[22m[39m
     [90m 88 |[39m       [36mif[39m (handleApiError(error)) [36mreturn[39m[33m;[39m
    ΓêÜ renders dialog when open prop is true (1574 ms)
    ΓêÜ displays Create Role title for new role (301 ms)
     [90m 89 |[39m     }
     [90m 90 |[39m   }[33m;[39m[0m
    ΓêÜ displays Edit Role title when editing (185 ms)
    ΓêÜ renders role name input field (216 ms)
    ├ù handles role name input change (5020 ms)

      at error (src/services/apiService.js:87:15)
    ΓêÜ renders all view type hierarchy options (192 ms)
    ΓêÜ renders Save button for create mode (326 ms)
    ΓêÜ renders Update button for edit mode (289 ms)
      at getData (src/pages/ActivityReports/EmployeeWorkingTime.js:43:22)

  console.error
    ΓêÜ disables save button when role name is empty (234 ms)
    ΓêÜ enables save button when role name has value (272 ms)
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    ΓêÜ renders close button (152 ms)
    ├ù calls onClose when close button is clicked (5014 ms)
    act(() => {
      /* fire events that update state */
    });
    ΓêÜ displays permissions when showPermissions is true (151 ms)
    ΓêÜ renders permission radio options (100 ms)
    /* assert on the output */
    
    ΓêÜ renders Update Permissions button when showing permissions (233 ms)
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
    ├ù calls handleRoleSave when save button clicked (5011 ms)
    ├ù calls handlePermissionSave when Update Permissions clicked (5011 ms)
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
    ΓêÜ does not show dialog when open is false (9 ms)
    ΓêÜ renders Edit Permissions button when editing existing role (122 ms)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)

    ΓêÜ does not show Edit Permissions button for new role (80 ms)
    ΓêÜ updates button disabled state for unchanged edit (131 ms)
    [0m [90m 42 |[39m       setFilter(updatedFilterData)[33m;[39m
     [90m 43 |[39m       [36mconst[39m result [33m=[39m [36mawait[39m postApi(employeeWorkingTimeApi[33m,[39m updatedFilterData)[33m;[39m
    ΓêÜ enables update button when role name changed (121 ms)

    [31m[1m>[22m[39m[90m 44 |[39m       setData(result [33m||[39m [])[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
  ΓùÅ CreateEditRoleDialog Component ΓÇ║ handles role name input change

     [90m 45 |[39m     } [36mcatch[39m (error) {
     [90m 46 |[39m       console[33m.[39mwarn([32m"Error fetching employee working time:"[39m[33m,[39m error)[33m;[39m
    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."
     [90m 47 |[39m       setData([])[33m;[39m[0m

    [0m [90m 59 |[39m   })[33m;[39m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
     [90m 60 |[39m
    [31m[1m>[22m[39m[90m 61 |[39m   test([32m'handles role name input 
change'[39m[33m,[39m [36masync[39m () [33m=>[39m {
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 62 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
     [90m 63 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 64 |[39m     [36mconst[39m input [33m=[39m 
screen[33m.[39mgetByLabelText([32m'Role Name'[39m)[33m;[39m[0m
      at setData (src/pages/ActivityReports/EmployeeWorkingTime.js:44:7)


      at test (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:61:3)
  console.error
    Warning: An update to EmployeeWorkingTime inside a test was not wrapped in act(...).
      at describe 
(src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:9:1)

    
    When testing, code that causes React state updates should be wrapped into act(...):
  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls onClose when close button is 
clicked

    
    act(() => {
    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."
      /* fire events that update state */
    });

    /* assert on the output */
    
    [0m [90m 105 |[39m   })[33m;[39m
     [90m 106 |[39m
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
    [31m[1m>[22m[39m[90m 107 |[39m   test([32m'calls onClose when close 
button is clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
        at useApiService (C:\User-Insight-Tracking-UI\src\pages\ActivityReports\EmployeeWorkingTime.js:17:23)
     [90m     |[39m   [31m[1m^[22m[39m
        at children (C:\User-Insight-Tracking-UI\src\context\UserContext.js:10:32)
     [90m 108 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
        at basenameProp (C:\User-Insight-Tracking-UI\node_modules\react-router\lib\components.tsx:421:13)
        at basename (C:\User-Insight-Tracking-UI\node_modules\react-router-dom\index.tsx:789:3)
     [90m 109 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 110 |[39m     [36mconst[39m closeButton [33m=[39m 
screen[33m.[39mgetByLabelText([32m'close'[39m)[33m;[39m[0m


      at test (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:107:3)
    [0m [90m 47 |[39m       setData([])[33m;[39m
     [90m 48 |[39m     } [36mfinally[39m {
      at describe 
(src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:9:1)

    [31m[1m>[22m[39m[90m 49 |[39m       setLoading([36mfalse[39m)[33m;[39m
  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handleRoleSave when save button 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 50 |[39m     }

     [90m 51 |[39m   }[33m;[39m
    [0m [90m 140 |[39m   })[33m;[39m
     [90m 141 |[39m
     [90m 52 |[39m[0m
    [31m[1m>[22m[39m[90m 142 |[39m   test([32m'calls handleRoleSave 
when save button clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
     [90m 143 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
     [90m 144 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} roleName[33m=[39m[32m"Admin"[39m 
[33m/[39m[33m>[39m)[33m;[39m
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
     [90m 145 |[39m     [36mconst[39m saveButton [33m=[39m 
screen[33m.[39mgetByRole([32m'button'[39m[33m,[39m { name[33m:[39m 
[35m/save/i[39m })[33m;[39m[0m

      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at test (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:142:3)
      at setLoading (src/pages/ActivityReports/EmployeeWorkingTime.js:49:7)
      at describe 
(src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:9:1)


  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handlePermissionSave when 
Update Permissions clicked
  console.error

    thrown: "Exceeded timeout of 5000 ms for a test.
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."
    [0m [90m 47 |[39m     [36mconst[39m onExpire [33m=[39m jest[33m.[39mfn()[33m;[39m
     [90m 48 |[39m

    [0m [90m 148 |[39m   })[33m;[39m
    [31m[1m>[22m[39m[90m 49 |[39m     [36mawait[39m act([36masync[39m () [33m=>[39m {
     [90m 149 |[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 50 |[39m       renderHook(() [33m=>[39m useTokenExpiryMonitor({ onExpire[33m,[39m onRenew[33m:[39m jest[33m.[39mfn() }))[33m;[39m
    [31m[1m>[22m[39m[90m 150 |[39m   test([32m'calls 
handlePermissionSave when Update Permissions clicked'[39m[33m,[39m 
[36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 51 |[39m     })[33m;[39m
     [90m 151 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 152 |[39m     [36mconst[39m permissions [33m=[39m [
     [90m 153 |[39m       { [33mFeatureSubId[39m[33m:[39m 
[35m1[39m[33m,[39m [33mSubFeatureName[39m[33m:[39m 
[32m'Dashboard'[39m[33m,[39m selectedPermission[33m:[39m [35m1[39m 
}[33m,[39m[0m
     [90m 52 |[39m[0m


      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at test (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:150:3)
      at describe 
(src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:9:1)
      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)

      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
PASS src/tests/Screenshot.test.js (114.653 s)
      at Object.act (src/tests/useTokenExpiryMonitor.test.js:49:11)
  Screenshot Component
    ΓêÜ It apply Date range & clears date range (4 ms)

    ΓêÜ renders component with default state (2429 ms)
    ΓêÜ shows loader while data is fetching (691 ms)
  console.error
    Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
    ΓêÜ renders userProfile specific columns (482 ms)
    ΓêÜ renders employee columns for default case (518 ms)

    [0m [90m 48 |[39m
    ΓêÜ handles search input (658 ms)
     [90m 49 |[39m     [36mawait[39m act([36masync[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 50 |[39m       renderHook(() [33m=>[39m useTokenExpiryMonitor({ onExpire[33m,[39m onRenew[33m:[39m jest[33m.[39mfn() }))[33m;[39m
     [90m    |[39m       [31m[1m^[22m[39m
    ΓêÜ renders SmartDateSelector component (528 ms)
    ΓêÜ renders CommonTable component (1764 ms)

     [90m 51 |[39m     })[33m;[39m
PASS src/tests/SystemSleepDetails.test.js (113.42 s)
  RunningApplicationDetails Component
    ΓêÜ It apply Date range & clears date range (4 ms)
     [90m 52 |[39m
    ΓêÜ renders component with default state (2583 ms)
    ΓêÜ shows loader while data is fetching (693 ms)
     [90m 53 |[39m     jest[33m.[39mrunOnlyPendingTimers()[33m;[39m[0m
    ΓêÜ renders userProfile specific columns (494 ms)
    ΓêÜ renders employee columns for default case (531 ms)
    ΓêÜ handles search input (696 ms)
    ΓêÜ renders SmartDateSelector component (453 ms)

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
    ΓêÜ renders CommonTable component (389 ms)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:29716:5)
      at render (node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18)
      at act (node_modules/react/cjs/react.development.js:2512:16)

PASS src/tests/SystemLoginDetails.test.js (117.683 s)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at render (node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:25)
  RunningApplicationDetails Component
      at render (node_modules/@testing-library/react-hooks/lib/core/index.js:114:5)
      at renderHook (src/tests/useTokenExpiryMonitor.test.js:50:7)
    ΓêÜ It apply Date range & clears date range (3 ms)
    ΓêÜ renders component with default state (2677 ms)
    ΓêÜ shows loader while data is fetching (806 ms)
      at act (node_modules/react/cjs/react.development.js:2512:16)
    ΓêÜ renders userProfile specific columns (620 ms)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at Object.act (src/tests/useTokenExpiryMonitor.test.js:49:11)
    ΓêÜ renders employee columns for default case (823 ms)
    ΓêÜ handles search input (552 ms)

    ΓêÜ renders SmartDateSelector component (453 ms)
    ΓêÜ renders CommonTable component (4149 ms)

PASS src/tests/RunningApplicationsDetails.test.js (113.768 s)
  RunningApplicationDetails Component
    ΓêÜ It apply Date range & clears date range (5 ms)
    ΓêÜ renders component with default state (3148 ms)
    ΓêÜ shows loader while data is fetching (580 ms)
    ΓêÜ renders userProfile specific columns (548 ms)
    ΓêÜ renders employee columns for default case (753 ms)
    ΓêÜ handles search input (494 ms)
    ΓêÜ renders SmartDateSelector component (349 ms)
    ΓêÜ renders CommonTable component (309 ms)

PASS src/tests/BarChart.test.js
  BarChart
    ΓêÜ renders with Sessions and "Active" selectedValue3 (279 ms)
    ΓêÜ renders with Sessions and "Idle" selectedValue3 (25 ms)
    ΓêÜ renders with Sessions and default selectedValue3 (37 ms)
    ΓêÜ renders with Calls (18 ms)
    ΓêÜ renders with Applications (default) (23 ms)
  console.error
    Token check failed: Error: Token error
    ΓêÜ shows fallback message when no data (20 ms)
    ΓêÜ renders with Sessions and "Sleep" selectedValue3 (22 ms)
        at Object.<anonymous> (C:\User-Insight-Tracking-UI\src\tests\useTokenExpiryMonitor.test.js:45:46)
    ΓêÜ renders with Sessions and "Login" selectedValue3 (22 ms)
    ΓêÜ renders with Sessions and "Logout" selectedValue3 (21 ms)

        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
PASS src/tests/CalculatePercentages.test.js
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
  calculatePercentages
    ΓêÜ should calculate percentages for a valid array of numbers (8 ms)
    ΓêÜ should handle an empty array (1 ms)
        at processTicksAndRejections (node:internal/process/task_queues:103:5)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)

PASS src/utils/secondsToYMDconvertor.test.js
  secondsToYMDconvertor
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
    ΓêÜ should convert 0 seconds correctly (14 ms)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
    ΓêÜ should convert 86400 seconds (1 day) (2 ms)
    ΓêÜ should return formatted date string (5 ms)

PASS src/utils/calculatePercentages.test.js
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12)

  calculatePercentages
    [0m [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {
    [31m[1m>[22m[39m[90m 54 |[39m         console[33m.[39merror([32m"Token check failed:"[39m[33m,[39m error)[33m;[39m
     [90m    |[39m                 [31m[1m^[22m[39m
    ΓêÜ should calculate percentages for array of numbers (11 ms)
     [90m 55 |[39m         onExpire[33m?[39m[33m.[39m()[33m;[39m [90m// Force logout[39m
     [90m 56 |[39m       })[33m;[39m
     [90m 57 |[39m     }[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
    ΓêÜ should handle single item (1 ms)
      at error (src/hooks/useTokenExpiryMonitor.js:54:17)

  console.error
    Token check failed: Error: Token error
        at Object.<anonymous> (C:\User-Insight-Tracking-UI\src\tests\useTokenExpiryMonitor.test.js:45:46)
    ΓêÜ should handle array of numbers (5 ms)
    ΓêÜ should return percentages as strings with fixed decimals (6 ms)

        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
PASS src/tests/apiEndPoints.test.js
  Api End Points
    ΓêÜ should have correct Api url (7 ms)
    ΓêÜ should have correct Api url for callDetailsApi (1 ms)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at processTicksAndRejections (node:internal/process/task_queues:103:5)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
    ΓêÜ should have correct Api url for employeeWorkingTimeApi (2 ms)
    ΓêÜ should have correct Api url for runningApplicationsApi (1 ms)
    ΓêÜ should have correct Api url for systemLoginDetailApi (1 ms)
    ΓêÜ should have correct Api url for systemSleepDetailsApi (1 ms)
    ΓêÜ should have correct Api url for graphApi (1 ms)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12)

    ΓêÜ should have correct Api url for users (2 ms)

FAIL src/tests/EmployeeWorkingTime.test.js (124.951 s)
    [0m [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {
    [31m[1m>[22m[39m[90m 54 |[39m         console[33m.[39merror([32m"Token check failed:"[39m[33m,[39m error)[33m;[39m
     [90m    |[39m                 [31m[1m^[22m[39m
     [90m 55 |[39m         onExpire[33m?[39m[33m.[39m()[33m;[39m [90m// Force logout[39m
  EmployeeWorkingTime Component
    ΓêÜ renders component with default state (2526 ms)
    ΓêÜ shows loader while data is fetching (814 ms)
    ΓêÜ renders userProfile specific columns (615 ms)
    ΓêÜ renders employee columns for default case (739 ms)
    ΓêÜ handles search input (655 ms)
     [90m 56 |[39m       })[33m;[39m
     [90m 57 |[39m     }[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at error (src/hooks/useTokenExpiryMonitor.js:54:17)

    ΓêÜ renders SmartDateSelector component (461 ms)
    ΓêÜ renders CommonTable component (2219 ms)
    ΓêÜ handles pagination changes (313 ms)
    ΓêÜ filter button is present and functional (779 ms)
  console.error
    Token check failed: Error: Token error
        at Object.<anonymous> (C:\User-Insight-Tracking-UI\src\tests\useTokenExpiryMonitor.test.js:45:46)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
    ├ù table responds to data updates (304 ms)
    ΓêÜ handles different filter states (341 ms)
    ΓêÜ displays correct column headers (357 ms)
    ΓêÜ renders with sorting disabled (354 ms)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at processTicksAndRejections (node:internal/process/task_queues:103:5)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
    ΓêÜ handles title prop (527 ms)
    ΓêÜ handles auto height setting (849 ms)
    ΓêÜ works with modify permissions handler (608 ms)
    ΓêÜ renders without data (3026 ms)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
    ΓêÜ handles large datasets (276 ms)
    ΓêÜ supports multiple sort columns (261 ms)
    ΓêÜ date selector changes update table (604 ms)
    ΓêÜ handles custom page sizes (401 ms)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12)
    ΓêÜ renders all required columns (303 ms)

  ΓùÅ EmployeeWorkingTime Component ΓÇ║ table responds to data updates


    [0m [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {
    [31m[1m>[22m[39m[90m 54 |[39m         console[33m.[39merror([32m"Token check failed:"[39m[33m,[39m error)[33m;[39m
     [90m    |[39m                 [31m[1m^[22m[39m
     [90m 55 |[39m         onExpire[33m?[39m[33m.[39m()[33m;[39m [90m// Force logout[39m
     [90m 56 |[39m       })[33m;[39m
    TypeError: EmployeeWorkingTimeData.slice is not a function

    [0m [90m 130 |[39m         [33m<[39m[33mUserProvider[39m 
value[33m=[39m{mockUserContext}[33m>[39m
     [90m 131 |[39m           [33m<[39m[33mEmployeeWorkingTime[39m 
{[33m...[39m{
    [31m[1m>[22m[39m[90m 132 |[39m             data[33m:[39m { 
[33mRecords[39m[33m:[39m 
[33mEmployeeWorkingTimeData[39m[33m.[39mslice([35m0[39m[33m,[39m 
[35m5[39m)[33m,[39m [33mTotalRecords[39m[33m:[39m [35m5[39m 
}[33m,[39m
     [90m     |[39m                                                      
[31m[1m^[22m[39m
     [90m 57 |[39m     }[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at error (src/hooks/useTokenExpiryMonitor.js:54:17)
     [90m 133 |[39m             columns[33m:[39m [][33m,[39m
     [90m 134 |[39m             onChange[33m:[39m jest[33m.[39mfn()
     [90m 135 |[39m           }} [33m/[39m[33m>[39m[0m

      at Object.slice (src/tests/EmployeeWorkingTime.test.js:132:54)

  console.error
    Warning: unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)

PASS src/constants/dateUtils.test.js
  dateUtils - getDefaultDateRange
    ΓêÜ should return an object with startDate and endDate (12 ms)
    ΓêÜ should return Date objects (4 ms)
    ΓêÜ should return current month range (5 ms)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:29754:7)
      at unmountComponentAtNode (node_modules/@testing-library/react-hooks/lib/dom/pure.js:92:18)
      at act (node_modules/react/cjs/react.development.js:2512:16)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at unmount (node_modules/@testing-library/react-hooks/lib/dom/pure.js:91:25)
    ΓêÜ should have endDate as today (6 ms)
    ΓêÜ should have startDate before endDate (4 ms)
    ΓêÜ should not have undefined values (1 ms)
    ΓêÜ should return valid range for current month (4 ms)

      at unmount (node_modules/@testing-library/react-hooks/lib/core/index.js:123:7)
      at callback (node_modules/@testing-library/react-hooks/lib/core/cleanup.js:14:11)
      at Object.cleanup (node_modules/@testing-library/react-hooks/lib/core/cleanup.js:42:13)

  console.error
    Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

    [0m [90m 65 |[39m     })[33m;[39m
     [90m 66 |[39m
    [31m[1m>[22m[39m[90m 67 |[39m     [36mconst[39m { result } [33m=[39m renderHook(() [33m=>[39m
     [90m    |[39m                        [31m[1m^[22m[39m
     [90m 68 |[39m       useTokenExpiryMonitor({ onExpire[33m:[39m jest[33m.[39mfn()[33m,[39m onRenew[33m:[39m jest[33m.[39mfn() })
     [90m 69 |[39m     )[33m;[39m
     [90m 70 |[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:29716:5)
      at render (node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18)
      at act (node_modules/react/cjs/react.development.js:2512:16)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at render (node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:25)
      at render (node_modules/@testing-library/react-hooks/lib/core/index.js:114:5)
      at Object.renderHook (src/tests/useTokenExpiryMonitor.test.js:67:24)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 48 |[39m         [36mconst[39m now [33m=[39m dayjs()[33m;[39m
     [90m 49 |[39m         [36mif[39m (expiry[33m.[39mdiff(now[33m,[39m [32m"minute"[39m) [33m<=[39m [33mTOKEN_EXPIRY_BUFFER_MINUTES[39m) {
    [31m[1m>[22m[39m[90m 50 |[39m           setShowDialog([36mtrue[39m)[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 51 |[39m           startCountdown()[33m;[39m
     [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setShowDialog (src/hooks/useTokenExpiryMonitor.js:50:11)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 16 |[39m   [36mconst[39m startCountdown [33m=[39m () [33m=>[39m {
     [90m 17 |[39m     clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
    [31m[1m>[22m[39m[90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
     [90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:18:5)
      at startCountdown (src/hooks/useTokenExpiryMonitor.js:51:11)

  console.error
    Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

    [0m [90m 114 |[39m     [36mconst[39m onExpire [33m=[39m jest[33m.[39mfn()[33m;[39m
     [90m 115 |[39m
    [31m[1m>[22m[39m[90m 116 |[39m     [36mconst[39m { result } [33m=[39m renderHook(() [33m=>[39m
     [90m     |[39m                        [31m[1m^[22m[39m
     [90m 117 |[39m       useTokenExpiryMonitor({ onRenew[33m:[39m jest[33m.[39mfn()[33m,[39m onExpire })
     [90m 118 |[39m     )[33m;[39m
     [90m 119 |[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:29716:5)
      at render (node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18)
      at act (node_modules/react/cjs/react.development.js:2512:16)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at render (node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:25)
      at render (node_modules/@testing-library/react-hooks/lib/core/index.js:114:5)
      at Object.renderHook (src/tests/useTokenExpiryMonitor.test.js:116:24)

  console.error
    Token check failed: Error: Force refresh failed
        at Object.<anonymous> (C:\User-Insight-Tracking-UI\src\tests\useTokenExpiryMonitor.test.js:112:46)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12)

    [0m [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {
    [31m[1m>[22m[39m[90m 54 |[39m         console[33m.[39merror([32m"Token check failed:"[39m[33m,[39m error)[33m;[39m
     [90m    |[39m                 [31m[1m^[22m[39m
     [90m 55 |[39m         onExpire[33m?[39m[33m.[39m()[33m;[39m [90m// Force logout[39m
     [90m 56 |[39m       })[33m;[39m
     [90m 57 |[39m     }[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at error (src/hooks/useTokenExpiryMonitor.js:54:17)

  console.error
    Token check failed: Error: Force refresh failed
        at Object.<anonymous> (C:\User-Insight-Tracking-UI\src\tests\useTokenExpiryMonitor.test.js:112:46)
        at Promise.then.completed (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:333:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\utils.js:259:10)
        at _callCircusTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:277:40)
        at _runTest (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:209:3)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:97:9)
        at _runTestsForDescribeBlock (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:91:9)
        at run (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\run.js:31:3)
        at runAndTransformResultsToJestFormat (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:135:21)
        at jestAdapter (C:\User-Insight-Tracking-UI\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:92:19)
        at runTestInternal (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:411:16)
        at runTest (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\runTest.js:499:34)
        at Object.worker (C:\User-Insight-Tracking-UI\node_modules\jest-runner\build\testWorker.js:133:12)

    [0m [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {
    [31m[1m>[22m[39m[90m 54 |[39m         console[33m.[39merror([32m"Token check failed:"[39m[33m,[39m error)[33m;[39m
     [90m    |[39m                 [31m[1m^[22m[39m
     [90m 55 |[39m         onExpire[33m?[39m[33m.[39m()[33m;[39m [90m// Force logout[39m
     [90m 56 |[39m       })[33m;[39m
     [90m 57 |[39m     }[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at error (src/hooks/useTokenExpiryMonitor.js:54:17)

  console.error
    Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

    [0m [90m 137 |[39m     [36mconst[39m onExpire [33m=[39m jest[33m.[39mfn()[33m;[39m
     [90m 138 |[39m
    [31m[1m>[22m[39m[90m 139 |[39m     [36mconst[39m { result } [33m=[39m renderHook(() [33m=>[39m
     [90m     |[39m                        [31m[1m^[22m[39m
     [90m 140 |[39m       useTokenExpiryMonitor({ onRenew[33m:[39m jest[33m.[39mfn()[33m,[39m onExpire })
     [90m 141 |[39m     )[33m;[39m
     [90m 142 |[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:29716:5)
      at render (node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18)
      at act (node_modules/react/cjs/react.development.js:2512:16)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at render (node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:25)
      at render (node_modules/@testing-library/react-hooks/lib/core/index.js:114:5)
      at Object.renderHook (src/tests/useTokenExpiryMonitor.test.js:139:24)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 48 |[39m         [36mconst[39m now [33m=[39m dayjs()[33m;[39m
     [90m 49 |[39m         [36mif[39m (expiry[33m.[39mdiff(now[33m,[39m [32m"minute"[39m) [33m<=[39m [33mTOKEN_EXPIRY_BUFFER_MINUTES[39m) {
    [31m[1m>[22m[39m[90m 50 |[39m           setShowDialog([36mtrue[39m)[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 51 |[39m           startCountdown()[33m;[39m
     [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setShowDialog (src/hooks/useTokenExpiryMonitor.js:50:11)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 16 |[39m   [36mconst[39m startCountdown [33m=[39m () [33m=>[39m {
     [90m 17 |[39m     clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
    [31m[1m>[22m[39m[90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
     [90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:18:5)
      at startCountdown (src/hooks/useTokenExpiryMonitor.js:51:11)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 48 |[39m         [36mconst[39m now [33m=[39m dayjs()[33m;[39m
     [90m 49 |[39m         [36mif[39m (expiry[33m.[39mdiff(now[33m,[39m [32m"minute"[39m) [33m<=[39m [33mTOKEN_EXPIRY_BUFFER_MINUTES[39m) {
    [31m[1m>[22m[39m[90m 50 |[39m           setShowDialog([36mtrue[39m)[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 51 |[39m           startCountdown()[33m;[39m
     [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setShowDialog (src/hooks/useTokenExpiryMonitor.js:50:11)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
    [31m[1m>[22m[39m[90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {
     [90m 22 |[39m           clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
     [90m 23 |[39m           setShowDialog([36mfalse[39m)[33m;[39m[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:20:7)
      at Object.runOnlyPendingTimers (src/tests/useTokenExpiryMonitor.test.js:39:10)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 48 |[39m         [36mconst[39m now [33m=[39m dayjs()[33m;[39m
     [90m 49 |[39m         [36mif[39m (expiry[33m.[39mdiff(now[33m,[39m [32m"minute"[39m) [33m<=[39m [33mTOKEN_EXPIRY_BUFFER_MINUTES[39m) {
    [31m[1m>[22m[39m[90m 50 |[39m           setShowDialog([36mtrue[39m)[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 51 |[39m           startCountdown()[33m;[39m
     [90m 52 |[39m         }
     [90m 53 |[39m       })[33m.[39m[36mcatch[39m(error [33m=>[39m {[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setShowDialog (src/hooks/useTokenExpiryMonitor.js:50:11)

  console.error
    Warning: An update to TestComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at hookProps (C:\User-Insight-Tracking-UI\node_modules\@testing-library\react-hooks\lib\helpers\createTestHarness.js:22:5)
        at Suspense
        at ErrorBoundary (C:\User-Insight-Tracking-UI\node_modules\react-error-boundary\dist\react-error-boundary.cjs.js:59:35)

    [0m [90m 16 |[39m   [36mconst[39m startCountdown [33m=[39m () [33m=>[39m {
     [90m 17 |[39m     clearInterval(countdownIntervalRef[33m.[39mcurrent)[33m;[39m
    [31m[1m>[22m[39m[90m 18 |[39m     setCountdown([33mCOUNTDOWN_SECONDS[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 19 |[39m     countdownIntervalRef[33m.[39mcurrent [33m=[39m setInterval(() [33m=>[39m {
     [90m 20 |[39m       setCountdown(prev [33m=>[39m {
     [90m 21 |[39m         [36mif[39m (prev [33m<=[39m [35m1[39m) {[0m

      at console.originalError [as error] (node_modules/@testing-library/react-hooks/lib/core/console.js:19:7)
      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27628:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25547:5)
      at dispatchSetState (node_modules/react-dom/cjs/react-dom.development.js:16708:7)
      at setCountdown (src/hooks/useTokenExpiryMonitor.js:18:5)
      at startCountdown (src/hooks/useTokenExpiryMonitor.js:51:11)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

    [0m [90m  6 |[39m describe([32m'Loader Component'[39m[33m,[39m () [33m=>[39m {
     [90m  7 |[39m   it([32m'renders the loader with role status'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m  8 |[39m     render([33m<[39m[33mLoader[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m  9 |[39m     [36mconst[39m loader [33m=[39m screen[33m.[39mgetByRole([32m'status'[39m)[33m;[39m
     [90m 10 |[39m     expect(loader)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 11 |[39m     expect(loader)[33m.[39mtoHaveClass([32m'loader'[39m)[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
PASS src/tests/Loader.test.js
  Loader Component
    ΓêÜ renders the loader with role status (150 ms)
    ΓêÜ contains the spinner element (24 ms)

PASS src/tests/PopupForAuditLogs.test.js (69.772 s)
  PopupForAuditLogs Component
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/Loader.test.js:8:5)
    ΓêÜ displays the updated by text (276 ms)
    ΓêÜ calls togglePopup when close button is clicked (95 ms)

  console.error
    Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.

PASS src/tests/DateFormat.test.js

    [0m [90m 19 |[39m
     [90m 20 |[39m   it([32m"displays the updated by text"[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 21 |[39m     render([33m<[39m[33mPopupForAuditLogs[39m togglePopup[33m=[39m{mockTogglePopup} data[33m=[39m{mockData} [33m/[39m[33m>[39m)[33m;[39m
  formatDateToLocalTime
    ΓêÜ should return an empty string when no input is provided (5 ms)
    ΓêÜ should format the ISO date string to local time (58 ms)
    ΓêÜ should handle invalid date input gracefully (7 ms)

PASS src/tests/useTokenExpiryMonitor.test.js (11.248 s)
  useTokenExpiryMonitor
    ΓêÜ should call onExpire if acquireTokenSilent fails (265 ms)
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 22 |[39m     expect(screen[33m.[39mgetByText([35m/Updated By/i[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 23 |[39m     expect(screen[33m.[39mgetByText([35m/John Doe/i[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 24 |[39m   })[33m;[39m[0m
    ΓêÜ should show dialog and start countdown if token is near expiry (4553 
ms)
    ΓêÜ should call onExpire if handleRenew fails (24 ms)
    ΓêÜ should call onExpire after countdown reaches zero (3121 ms)
    Γùï skipped should hide dialog and call onRenew after handleRenew

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)

PASS src/tests/secondsToYMDconvertor.test.js
  secondsToYMDconvertor
    ΓêÜ should convert seconds to formatted date correctly (4 ms)
    ΓêÜ should handle a leap year correctly (1 ms)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
    ΓêÜ should handle a date at the start of the year (2 ms)
    ΓêÜ should handle months and days with leading zeros correctly (1 ms)

      at Object.render (src/tests/PopupForAuditLogs.test.js:21:5)

  console.error
    Warning: PopupForAuditLogs: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
        at togglePopup (C:\User-Insight-Tracking-UI\src\components\PopupForAuditLogs.js:8:30)

    [0m [90m 19 |[39m
     [90m 20 |[39m   it([32m"displays the updated by text"[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 21 |[39m     render([33m<[39m[33mPopupForAuditLogs[39m togglePopup[33m=[39m{mockTogglePopup} data[33m=[39m{mockData} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 22 |[39m     expect(screen[33m.[39mgetByText([35m/Updated By/i[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 23 |[39m     expect(screen[33m.[39mgetByText([35m/John Doe/i[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 24 |[39m   })[33m;[39m[0m

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at validateFunctionComponentInDev (node_modules/react-dom/cjs/react-dom.development.js:20230:9)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20189:7)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25777:74)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
      at Object.render (src/tests/PopupForAuditLogs.test.js:21:5)

  console.error
    Warning: Failed prop type: Invalid prop `roleData.ViewType` of type `number` supplied to `CreateEditRoleDialog`, expected `string`.
        at open (C:\User-Insight-Tracking-UI\src\pages\ManageRoles\CreateEditRoleDialog.js:24:5)

    [0m [90m 535 |[39m
     [90m 536 |[39m     render(
    [31m[1m>[22m[39m[90m 537 |[39m       [33m<[39m[33mCreateEditRoleDialog[39m
     [90m     |[39m       [31m[1m^[22m[39m
     [90m 538 |[39m         {[33m...[39mdefaultProps}
     [90m 539 |[39m         roleData[33m=[39m{roleData}
     [90m 540 |[39m         viewType[33m=[39m{[33mUserRoleHeirarchy[39m[[35m0[39m][33m.[39mkey}[0m

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at checkPropTypes (node_modules/react/cjs/react.development.js:2074:11)
      at validatePropTypes (node_modules/react/cjs/react.development.js:2275:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:2379:5)
      at Object.createElement (src/pages/ManageRoles/CreateEditRoleDialog.test.js:537:7)

FAIL src/components/SearchInput.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 45 |[39m   [36mconst[39m mockDebounce [33m=[39m (fn) 
[33m=>[39m fn[33m;[39m
     [90m 46 |[39m   [36mreturn[39m mockDebounce[33m;[39m
    [31m[1m>[22m[39m[90m 47 |[39m })[33m;[39m
     [90m    |[39m    [31m[1m^[22m[39m
     [90m 48 |[39m
     [90m 49 |[39m describe([32m'SearchInput Component'[39m[33m,[39m () 
[33m=>[39m {
     [90m 50 |[39m   [36mconst[39m mockOnSearch [33m=[39m 
jest[33m.[39mfn()[33m;[39m[0m

      at require (src/components/SearchInput.test.js:47:4)
      at _getJestObj (src/components/SearchInput.test.js:18:1)

FAIL src/components/EditPopup.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 49 |[39m     error[33m:[39m mockError[33m,[39m
     [90m 50 |[39m   }[33m,[39m
    [31m[1m>[22m[39m[90m 51 |[39m }))[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 52 |[39m
     [90m 53 |[39m describe([32m'EditPopup Component'[39m[33m,[39m () 
[33m=>[39m {
     [90m 54 |[39m   [36mconst[39m mockOnSave [33m=[39m 
jest[33m.[39mfn()[33m;[39m[0m

      at require (src/components/EditPopup.test.js:51:5)
      at _getJestObj (src/components/EditPopup.test.js:20:1)

FAIL src/pages/ManageRoles/ManageRoles-simple.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 22 |[39m     [36mreturn[39m [33m<[39m[33mdiv[39m data[33
m-[39mtestid[33m=[39m[32m"manage-roles-popup"[39m[33m>[39m[33mPopup[39
m[33m<[39m[33m/[39m[33mdiv[39m[33m>[39m[33m;[39m
     [90m 23 |[39m   }[33m;[39m
    [31m[1m>[22m[39m[90m 24 |[39m })[33m;[39m
     [90m    |[39m    [31m[1m^[22m[39m
     [90m 25 |[39m
     [90m 26 |[39m describe([32m'ManageRoles Component'[39m[33m,[39m () 
[33m=>[39m {
     [90m 27 |[39m   [36mconst[39m mockGetApi [33m=[39m 
jest[33m.[39mfn()[33m.[39mmockResolvedValue({ [33mRecords[39m[33m:[39m 
[] })[33m;[39m[0m

      at require (src/pages/ManageRoles/ManageRoles-simple.test.js:24:4)
      at _getJestObj (src/pages/ManageRoles/ManageRoles-simple.test.js:9:1)

FAIL src/components/TableDataPopup.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 39 |[39m     postApi[33m:[39m mockPostApi[33m,[39m
     [90m 40 |[39m   })[33m,[39m
    [31m[1m>[22m[39m[90m 41 |[39m }))[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 42 |[39m
     [90m 43 |[39m describe([32m'TableDataPopup Component'[39m[33m,[39m 
() [33m=>[39m {
     [90m 44 |[39m   [36mconst[39m mockData [33m=[39m {[0m

      at require (src/components/TableDataPopup.test.js:41:5)
      at _getJestObj (src/components/TableDataPopup.test.js:18:1)

FAIL src/pages/ManageRoles/CreateEditRoleDialog.test.js (166.042 s)
  CreateEditRoleDialog Component
    ΓêÜ renders dialog when open prop is true (1555 ms)
    ΓêÜ displays Edit Role title when roleData is provided (296 ms)
    ΓêÜ renders role name input field (255 ms)
    ├ù handles role name input change (5029 ms)
    ├ù prevents special characters in role name (5026 ms)
    ├ù allows single spaces between words in role name (5026 ms)
    ΓêÜ renders view type radio buttons (164 ms)
    ├ù handles view type change (5018 ms)
    ΓêÜ renders close button (312 ms)
    ├ù calls onClose when close button is clicked (5007 ms)
    ΓêÜ renders Save button for create mode (224 ms)
    ΓêÜ renders Update button for edit mode (179 ms)
    ΓêÜ disables save button when role name is empty (163 ms)
    ΓêÜ enables save button when role name has value (179 ms)
    ΓêÜ disables update button when role data unchanged (206 ms)
    ΓêÜ enables update button when role data changed (304 ms)
    ├ù calls handleRoleSave when save button clicked (5016 ms)
    ΓêÜ renders permissions view when showPermissions is true (77 ms)
    ΓêÜ renders permission radio options (93 ms)
    ├ù calls handlePermissionChange when permission selected (5023 ms)
    ΓêÜ renders Update Permissions button in permissions view (245 ms)
    ├ù calls handlePermissionSave when Update Permissions clicked (5010 ms)
    ΓêÜ renders Edit Permissions button when editing existing role (84 ms)
    ├ù calls setShowPermissions when Edit Permissions button clicked (5016 ms)
    ΓêÜ handles multiple permission modules (158 ms)
    ΓêÜ does not render dialog when open prop is false (5 ms)
    ├ù renders information tooltip for role name constraints (152 ms)
    ΓêÜ uses Role_Id from roleData when RoleId is not present (155 ms)
    ΓêÜ validates empty role name on save (254 ms)
    ├ù trims whitespace from role name (5020 ms)
    ├ù prevents multiple consecutive spaces (5005 ms)
    ΓêÜ renders all ViewType hierarchy options (81 ms)
    ΓêÜ selects default view type for new role (69 ms)
    ΓêÜ displays role data view type in edit mode (149 ms)
    ├ù enables tooltip with role name constraints hint (231 ms)
    ΓêÜ shows clear button when role name is entered (77 ms)
    ├ù honors dialog maxWidth and fullWidth props (48 ms)
    ΓêÜ displays role name section when not showing permissions (31 ms)
    ΓêÜ hides role name section when showing permissions (25 ms)
    ΓêÜ renders permission radio options correctly (51 ms)
    ├ù updates permission when radio button clicked (5023 ms)
    ΓêÜ renders multiple permission modules with their radio groups (70 ms)
    ΓêÜ displays dialog title correctly based on mode (85 ms)
    ├ù closes dialog on close button click (5005 ms)
    ├ù handles edit button hover state (5016 ms)
    ΓêÜ edit button not rendered for new role (18 ms)
    ΓêÜ disables update button when no changes made (32 ms)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ handles role name input change

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 67 |[39m   })[33m;[39m
     [90m 68 |[39m
    [31m[1m>[22m[39m[90m 69 |[39m   test([32m'handles role name input 
change'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 70 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 71 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 72 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:69:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ prevents special characters in role 
name

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 77 |[39m   })[33m;[39m
     [90m 78 |[39m
    [31m[1m>[22m[39m[90m 79 |[39m   test([32m'prevents special 
characters in role name'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 80 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 81 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 82 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:79:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ allows single spaces between words in 
role name

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 90 |[39m   })[33m;[39m
     [90m 91 |[39m
    [31m[1m>[22m[39m[90m 92 |[39m   test([32m'allows single spaces 
between words in role name'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 93 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 94 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 95 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:92:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ handles view type change

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 109 |[39m   })[33m;[39m
     [90m 110 |[39m
    [31m[1m>[22m[39m[90m 111 |[39m   test([32m'handles view type 
change'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 112 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 113 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 114 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:111:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls onClose when close button is 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 126 |[39m   })[33m;[39m
     [90m 127 |[39m
    [31m[1m>[22m[39m[90m 128 |[39m   test([32m'calls onClose when close 
button is clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 129 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 130 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 131 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:128:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handleRoleSave when save button 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 234 |[39m   })[33m;[39m
     [90m 235 |[39m
    [31m[1m>[22m[39m[90m 236 |[39m   test([32m'calls handleRoleSave 
when save button clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 237 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 238 |[39m     render(
     [90m 239 |[39m       [33m<[39m[33mCreateEditRoleDialog[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:236:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handlePermissionChange when 
permission selected

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 292 |[39m   })[33m;[39m
     [90m 293 |[39m
    [31m[1m>[22m[39m[90m 294 |[39m   test([32m'calls 
handlePermissionChange when permission selected'[39m[33m,[39m 
[36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 295 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 296 |[39m     [36mconst[39m permissions [33m=[39m [
     [90m 297 |[39m       {[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:294:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handlePermissionSave when 
Update Permissions clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 337 |[39m   })[33m;[39m
     [90m 338 |[39m
    [31m[1m>[22m[39m[90m 339 |[39m   test([32m'calls 
handlePermissionSave when Update Permissions clicked'[39m[33m,[39m 
[36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 340 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 341 |[39m     [36mconst[39m permissions [33m=[39m [
     [90m 342 |[39m       {[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:339:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls setShowPermissions when Edit 
Permissions button clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 380 |[39m   })[33m;[39m
     [90m 381 |[39m
    [31m[1m>[22m[39m[90m 382 |[39m   test([32m'calls setShowPermissions 
when Edit Permissions button clicked'[39m[33m,[39m [36masync[39m () 
[33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 383 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 384 |[39m     [36mconst[39m roleData [33m=[39m {
     [90m 385 |[39m       [33mRole_Id[39m[33m:[39m 
[35m1[39m[33m,[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:382:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ renders information tooltip for role 
name constraints

    TestingLibraryElementError: Unable to find an element with the title: 
/Role names can only contain letters and a single space between words/i.

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m/>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiDialog-root manageRolesPopup MuiModal-root 
css-zw3mfo-MuiModal-root-MuiDialog-root"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiModal-backdrop 
css-yiavyu-MuiBackdrop-root-MuiDialog-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiDialog-container MuiDialog-scrollPaper 
css-hz1bth-MuiDialog-container"[39m
          [33mrole[39m=[32m"presentation"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<div[39m
            [33maria-labelledby[39m=[32m":r2f:"[39m
            [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper 
MuiDialog-paperScrollPaper MuiDialog-paperWidthMd MuiDialog-paperFullWidth 
css-rnmm7m-MuiPaper-root-MuiDialog-paper"[39m
            [33mrole[39m=[32m"dialog"[39m
          [36m>[39m
            [36m<h2[39m
              [33mclass[39m=[32m"MuiTypography-root MuiTypography-h6 
MuiDialogTitle-root role-title 
css-bdhsul-MuiTypography-root-MuiDialogTitle-root"[39m
              [33mid[39m=[32m":r2f:"[39m
            [36m>[39m
              [0mCreate Role[0m
            [36m</h2>[39m
            [36m<button[39m
              [33maria-label[39m=[32m"close"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiIconButton-root 
MuiIconButton-sizeMedium css-lc2yqr-MuiButtonBase-root-MuiIconButton-root"[39m
              [33mtabindex[39m=[32m"0"[39m
              [33mtype[39m=[32m"button"[39m
            [36m>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"[39m
                [33mdata-testid[39m=[32m"CloseIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 
10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</button>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiDialogContent-root role-dialog-content 
css-ypiqx9-MuiDialogContent-root"[39m
            [36m>[39m
              [36m<div[39m
                [33mclass[39m=[32m"role-name-section"[39m
              [36m>[39m
                [36m<div[39m
                  [33mclass[39m=[32m"MuiFormControl-root 
MuiFormControl-marginNormal MuiFormControl-fullWidth MuiTextField-root 
role-name-input css-17vbkzs-MuiFormControl-root-MuiTextField-root"[39m
                [36m>[39m
                  [36m<label[39m
                    [33mclass[39m=[32m"MuiFormLabel-root MuiInputLabel-root 
MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium 
MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root 
MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium 
MuiInputLabel-outlined css-14s5rfu-MuiFormLabel-root-MuiInputLabel-root"[39m
                    [33mdata-shrink[39m=[32m"false"[39m
                    [33mfor[39m=[32m":r2g:"[39m
                    [33mid[39m=[32m":r2g:-label"[39m
                  [36m>[39m
                    [0mRole Name[0m
                  [36m</label>[39m
                  [36m<div[39m
                    [33mclass[39m=[32m"MuiInputBase-root 
MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth 
MuiInputBase-formControl 
css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"[39m
                  [36m>[39m
                    [36m<input[39m
                      [33maria-invalid[39m=[32m"false"[39m
                      [33mautocomplete[39m=[32m"off"[39m
                      [33mclass[39m=[32m"MuiInputBase-input 
MuiOutlinedInput-input 
css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"[39m
                      [33mid[39m=[32m":r2g:"[39m
                      [33mtype[39m=[32m"text"[39m
                      [33mvalue[39m=[32m""[39m
                    [36m/>[39m
                    [36m<fieldset[39m
                      [33maria-hidden[39m=[32m"true"[39m
                      [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
                    [36m>[39m
                      [36m<legend[39m
                        
[33mclass[39m=[32m"css-njhac4-MuiNotchedOutlined-root"[39m
                      [36m>[39m
                        [36m<span>[39m
                          [0mRole Name[0m
                        [36m</span>[39m
                      [36m</legend>[39m
                    [36m</fieldset>[39m
                  [36m</div>[39m
                [36m</div>[39m
                [36m<div[39m
                  [33mclass[39m=[32m"role-type-section"[39m
                [36m>[39m
                  [36m<label[39m
                    [33mclass[39m=[32m"MuiFormLabel-root 
MuiFormLabel-colorPrimary css-u4tvz2-MuiFormLabel-root"[39m
                    [33mid[39m=[32m"demo-radio-buttons-group-label"[39m
                  [36m>[39m
                    [0mView Type Permission[0m
                  [36m</label>[39m
                  [36m<div[39m
                    [33mclass[39m=[32m"MuiFormGroup-root MuiFormGroup-row 
MuiRadioGroup-root MuiRadioGroup-row role-type-group 
css-qfz70r-MuiFormGroup-root"[39m
                    [33mrole[39m=[32m"radiogroup"[39m
                  [36m>[39m
                    [36m<label[39m
                      [33mclass[39m=[32m"MuiFormControlLabel-root 
MuiFormControlLabel-labelPlacementEnd css-j204z7-MuiFormControlLabel-root"[39m
                    [36m>[39m
                      [36m<span[39m
                        [33mclass[39m=[32m"MuiButtonBase-root MuiRadio-root 
MuiRadio-colorPrimary PrivateSwitchBase-root MuiRadio-root 
MuiRadio-colorPrimary MuiRadio-root MuiRadio-colorPrimary 
css-1p3cwfz-MuiButtonBase-root-MuiSwitchBase-root-MuiRadio-root"[39m
                      [36m>[39m
                        [36m<input[39m
                          [33mclass[39m=[32m"PrivateSwitchBase-input 
css-1p3z7et-MuiSwitchBase-root"[39m
                          [33mname[39m=[32m"role-...

    [0m [90m 449 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 450 |[39m
    [31m[1m>[22m[39m[90m 451 |[39m     [36mconst[39m tooltip 
[33m=[39m screen[33m.[39mgetByTitle(
     [90m     |[39m                            [31m[1m^[22m[39m
     [90m 452 |[39m       [35m/Role names can only contain letters and a 
single space between words/i[39m
     [90m 453 |[39m     )[33m;[39m
     [90m 454 |[39m     
expect(tooltip)[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:76:38)
      at allQuery 
(node_modules/@testing-library/dom/dist/query-helpers.js:52:17)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByTitle 
(src/pages/ManageRoles/CreateEditRoleDialog.test.js:451:28)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ trims whitespace from role name

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 486 |[39m   })[33m;[39m
     [90m 487 |[39m
    [31m[1m>[22m[39m[90m 488 |[39m   test([32m'trims whitespace from 
role name'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 489 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 490 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 491 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:488:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ prevents multiple consecutive spaces

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 496 |[39m   })[33m;[39m
     [90m 497 |[39m
    [31m[1m>[22m[39m[90m 498 |[39m   test([32m'prevents multiple 
consecutive spaces'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 499 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 500 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 501 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:498:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ enables tooltip with role name 
constraints hint

    TestingLibraryElementError: Unable to find an element with the title: 
/Role names can only contain letters and a single space between words/i.

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m/>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiDialog-root manageRolesPopup MuiModal-root 
css-zw3mfo-MuiModal-root-MuiDialog-root"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiModal-backdrop 
css-yiavyu-MuiBackdrop-root-MuiDialog-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiDialog-container MuiDialog-scrollPaper 
css-hz1bth-MuiDialog-container"[39m
          [33mrole[39m=[32m"presentation"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<div[39m
            [33maria-labelledby[39m=[32m":r38:"[39m
            [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper 
MuiDialog-paperScrollPaper MuiDialog-paperWidthMd MuiDialog-paperFullWidth 
css-rnmm7m-MuiPaper-root-MuiDialog-paper"[39m
            [33mrole[39m=[32m"dialog"[39m
          [36m>[39m
            [36m<h2[39m
              [33mclass[39m=[32m"MuiTypography-root MuiTypography-h6 
MuiDialogTitle-root role-title 
css-bdhsul-MuiTypography-root-MuiDialogTitle-root"[39m
              [33mid[39m=[32m":r38:"[39m
            [36m>[39m
              [0mCreate Role[0m
            [36m</h2>[39m
            [36m<button[39m
              [33maria-label[39m=[32m"close"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiIconButton-root 
MuiIconButton-sizeMedium css-lc2yqr-MuiButtonBase-root-MuiIconButton-root"[39m
              [33mtabindex[39m=[32m"0"[39m
              [33mtype[39m=[32m"button"[39m
            [36m>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"[39m
                [33mdata-testid[39m=[32m"CloseIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 
10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</button>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiDialogContent-root role-dialog-content 
css-ypiqx9-MuiDialogContent-root"[39m
            [36m>[39m
              [36m<div[39m
                [33mclass[39m=[32m"role-name-section"[39m
              [36m>[39m
                [36m<div[39m
                  [33mclass[39m=[32m"MuiFormControl-root 
MuiFormControl-marginNormal MuiFormControl-fullWidth MuiTextField-root 
role-name-input css-17vbkzs-MuiFormControl-root-MuiTextField-root"[39m
                [36m>[39m
                  [36m<label[39m
                    [33mclass[39m=[32m"MuiFormLabel-root MuiInputLabel-root 
MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink 
MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary 
MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl 
MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium 
MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"[39m
                    [33mdata-shrink[39m=[32m"true"[39m
                    [33mfor[39m=[32m":r39:"[39m
                    [33mid[39m=[32m":r39:-label"[39m
                  [36m>[39m
                    [0mRole Name[0m
                  [36m</label>[39m
                  [36m<div[39m
                    [33mclass[39m=[32m"MuiInputBase-root 
MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth 
MuiInputBase-formControl MuiInputBase-adornedEnd 
css-154xyx0-MuiInputBase-root-MuiOutlinedInput-root"[39m
                  [36m>[39m
                    [36m<input[39m
                      [33maria-invalid[39m=[32m"false"[39m
                      [33mautocomplete[39m=[32m"off"[39m
                      [33mclass[39m=[32m"MuiInputBase-input 
MuiOutlinedInput-input MuiInputBase-inputAdornedEnd 
css-nxo287-MuiInputBase-input-MuiOutlinedInput-input"[39m
                      [33mid[39m=[32m":r39:"[39m
                      [33mtype[39m=[32m"text"[39m
                      [33mvalue[39m=[32m"Admin"[39m
                    [36m/>[39m
                    [36m<span[39m
                      [33mstyle[39m=[32m"display: flex; align-items: 
center; margin-left: 4px; padding-right: 12px;"[39m
                    [36m>[39m
                      [36m<svg[39m
                        [33maria-label[39m=[32m"Role names can only contain 
letters and a single space between words."[39m
                        [33mclass[39m=[32m""[39m
                        
[33mdata-mui-internal-clone-element[39m=[32m"true"[39m
                        [33mfill[39m=[32m"none"[39m
                        [33mheight[39m=[32m"18"[39m
                        [33mid[39m=[32m"icon-sv"[39m
                        [33mstyle[39m=[32m"cursor: pointer; z-index: 
9;"[39m
                        [33mviewBox[39m=[32m"0 0 24 24"[39m
                        [33mwidth[39m=[32m"18"[39m
                      [36m>[39m
                        [36m<circle[39m
                          [33mcx[39m=[32m"12"[39m
                          [33mcy[39m=[32m"12"[39m
                          [33mfill[39m=[32m"#1976d2"[39m
                          [33mr[39m=[32m"12"[39m
                        [36m/>[39m
                        [36m<text[39m
                          [33mfill[39m=[32m"#fff"[39m
                          [33mfont-family[39m=[32m"Arial"[39m
                          [33mfont-size[39m=[32m"15"[39m
                          [33mfont-weight[39m=[32m"bold"[39m
                          [33mtext-anchor[39m=[32m"middle"[39m
                          [33mx[39m=[32m"12"[39m
                          [33my[39m=[32m"17"[39m
                        [36m>[39m
                          [0mi[0m
                        [36m</text>[39m
                      [36m</svg>[39m
                    [36m</span>[39m
                    [36m<fieldset[39m
                      [33maria-hidden[39m=[32m"true"[39m
                      [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
                    ...

    [0m [90m 553 |[39m     )[33m;[39m
     [90m 554 |[39m
    [31m[1m>[22m[39m[90m 555 |[39m     [36mconst[39m tooltip 
[33m=[39m screen[33m.[39mgetByTitle(
     [90m     |[39m                            [31m[1m^[22m[39m
     [90m 556 |[39m       [35m/Role names can only contain letters and a 
single space between words/i[39m
     [90m 557 |[39m     )[33m;[39m
     [90m 558 |[39m     
expect(tooltip)[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:76:38)
      at allQuery 
(node_modules/@testing-library/dom/dist/query-helpers.js:52:17)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByTitle 
(src/pages/ManageRoles/CreateEditRoleDialog.test.js:555:28)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ honors dialog maxWidth and fullWidth 
props

    expect(received).toBeInTheDocument()

    received value must be an HTMLElement or an SVGElement.
    Received has value: null

    [0m [90m 579 |[39m
     [90m 580 |[39m     [36mconst[39m dialog [33m=[39m 
container[33m.[39mquerySelector([32m'[role="dialog"]'[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 581 |[39m     
expect(dialog)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                    [31m[1m^[22m[39m
     [90m 582 |[39m   })[33m;[39m
     [90m 583 |[39m
     [90m 584 |[39m   test([32m'displays role name section when not showing 
permissions'[39m[33m,[39m () [33m=>[39m {[0m

      at __EXTERNAL_MATCHER_TRAP__ 
(node_modules/@jest/expect/node_modules/expect/build/index.js:346:30)
      at Object.throwingMatcher [as toBeInTheDocument] 
(node_modules/@jest/expect/node_modules/expect/build/index.js:347:15)
      at Object.toBeInTheDocument 
(src/pages/ManageRoles/CreateEditRoleDialog.test.js:581:20)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ updates permission when radio button 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 628 |[39m   })[33m;[39m
     [90m 629 |[39m
    [31m[1m>[22m[39m[90m 630 |[39m   test([32m'updates permission when 
radio button clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 631 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 632 |[39m     [36mconst[39m permissions [33m=[39m [
     [90m 633 |[39m       {[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:630:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ closes dialog on close button click

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 698 |[39m   })[33m;[39m
     [90m 699 |[39m
    [31m[1m>[22m[39m[90m 700 |[39m   test([32m'closes dialog on close 
button click'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 701 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 702 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 703 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:700:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ handles edit button hover state

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 708 |[39m   })[33m;[39m
     [90m 709 |[39m
    [31m[1m>[22m[39m[90m 710 |[39m   test([32m'handles edit button 
hover state'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 711 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 712 |[39m     [36mconst[39m roleData [33m=[39m {
     [90m 713 |[39m       [33mRole_Id[39m[33m:[39m 
[35m1[39m[33m,[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:710:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

---------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------
File                             | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                                                                   
---------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------
All files                        |   56.47 |    46.03 |   50.99 |   56.92 |                                                                                                                                                     
 components                      |   62.46 |    43.87 |   53.52 |    63.1 |                                                                                                                                                     
  ActionBtn.js                   |     100 |      100 |     100 |     100 |                                                                                                                                                     
  BarChartStack.js               |     100 |      100 |     100 |     100 |                                                                                                                                                     
  Barchart.js                    |   92.68 |      100 |    90.9 |   92.68 | 95-97                                                                                                                                               
  CommonTable.js                 |   32.35 |    10.16 |   15.78 |   33.13 | 46,53-55,77-113,122-134,139-147,152-157,161,165,169-176,180-195,200-201,205-206,210-217,223,227-234,243,254,258,266,274,280-362,381-385,390,407-547 
  DateRangePicker.js             |   97.56 |    86.66 |     100 |     100 | 38,46,69,139                                                                                                                                        
  EditPopup.js                   |     100 |      100 |     100 |     100 |                                                                                                                                                     
  Loader.js                      |     100 |      100 |     100 |     100 |                                                                                                                                                     
  PopupForAuditLogs.js           |     100 |      100 |     100 |     100 |                                                                                                                                                     
  RoleChangedPopup.js            |     100 |      100 |     100 |     100 |                                                                                                                                                     
  SearchInput.js                 |     100 |      100 |     100 |     100 |                                                                                                                                                     
  TableDataPopup.js              |     100 |      100 |     100 |     100 |                                                                                                                                                     
  ToggleBtn.js                   |     100 |      100 |     100 |     100 |                                                                                                                                                     
 constants                       |     100 |      100 |     100 |     100 |                                                                                                                                                     
  apiEndPoints.js                |     100 |      100 |     100 |     100 |                                                                                                                                                     
  dateUtils.js                   |     100 |      100 |     100 |     100 |                                                                                                                                                     
  userConstants.js               |     100 |      100 |     100 |     100 |                                                                                                                                                     
  userStatus.js                  |     100 |      100 |     100 |     100 |                                                                                                                                                     
 context                         |     100 |      100 |     100 |     100 |                                                                                                                                                     
  UserContext.js                 |     100 |      100 |     100 |     100 |                                                                                                                                                     
 pages                           |     100 |      100 |     100 |     100 |                                                                                                                                                     
  ActionForPermission.js         |     100 |      100 |     100 |     100 |                                                                                                                                                     
 pages/ActivityReports           |   70.58 |    69.33 |   63.15 |   70.58 |                                                                                                                                                     
  EmployeeWorkingTime.js         |   64.44 |    71.42 |      50 |   64.44 | 46-47,54,58-71,75-86,90-96,106                                                                                                                      
  Screenshots.js                 |       0 |      100 |     100 |       0 | 142                                                                                                                                                 
  SystemLoginDetails.js          |   81.81 |    65.62 |      80 |   81.81 | 51,80-93,110                                                                                                                                        
  SystemSleepDetails.js          |      70 |    72.72 |   66.66 |      70 | 50-51,58-71,74-87,105                                                                                                                               
 pages/GlobalConfig              |     100 |      100 |     100 |     100 |                                                                                                                                                     
  InputFactory.js                |     100 |      100 |     100 |     100 |                                                                                                                                                     
 pages/ManageRoles               |    8.99 |    24.54 |      15 |    8.83 |                                                                                                                                                     
  CreateEditRoleDialog.js        |   60.71 |    81.81 |      50 |   59.25 | 49,86-146,164-168,211                                                                                                                               
  ManageRoles.js                 |       0 |        0 |       0 |       0 | 15-146                                                                                                                                              
  ManageRolesPermissionsPopup.js |       0 |        0 |       0 |       0 | 71-326                                                                                                                                              
 utils                           |     100 |    89.47 |     100 |     100 |                                                                                                                                                     
  ConvertHHMMSStoHHMM.js         |     100 |      100 |     100 |     100 |                                                                                                                                                     
  PieCharts.js                   |     100 |    94.11 |     100 |     100 | 58                                                                                                                                                  
  calculatePercentages.js        |     100 |       50 |     100 |     100 | 5                                                                                                                                                   
  secondsToYMDconvertor.js       |     100 |      100 |     100 |     100 |                                                                                                                                                     
---------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------
Summary of all failing tests
FAIL src/components/SmartDateSelector.test.js (23.651 s)
  ΓùÅ SmartDateSelector Component ΓÇ║ should have preset options

    TestingLibraryElementError: Found multiple elements with the text: Today

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r1:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
      [33mrole[39m=[32m"combobox"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
    [36m</div>[39m

    Ignored nodes: comments, script, style
    [36m<li[39m
      [33maria-selected[39m=[32m"true"[39m
      [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
      [33mdata-value[39m=[32m"current_date"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
      [36m<span[39m
        [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
      [36m/>[39m
    [36m</li>[39m

    (If this is intentional, then use the `*AllBy*` variant of the query (like 
`queryAllByText`, `getAllByText`, or `findAllByText`)).

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m>[39m
        [36m<div[39m
          [33mclass[39m=[32m"smart-date-selector-wrapper MuiBox-root 
css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-dru9rs-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall smart-date-select 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
              [33mdata-testid[39m=[32m"smart-date-selector"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r1:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
                [33mrole[39m=[32m"combobox"[39m
                [33mtabindex[39m=[32m"0"[39m
              [36m>[39m
                [0mToday[0m
              [36m</div>[39m
              [36m<input[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33maria-invalid[39m=[32m"false"[39m
                [33mclass[39m=[32m"MuiSelect-nativeInput 
css-yf8vq0-MuiSelect-nativeInput"[39m
                [33mtabindex[39m=[32m"-1"[39m
                [33mvalue[39m=[32m"current_date"[39m
              [36m/>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined 
MuiSelect-iconOpen css-bpeome-MuiSvgIcon-root-MuiSelect-icon"[39m
                [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M7 10l5 5 5-5z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<fieldset[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
              [36m>[39m
                [36m<legend[39m
                  
[33mclass[39m=[32m"css-1whs34k-MuiNotchedOutlined-root"[39m
                [36m>[39m
                  [36m<span[39m
                    [33mclass[39m=[32m"notranslate"[39m
                  [36m>[39m
                    [0mΓÇï[0m
                  [36m</span>[39m
                [36m</legend>[39m
              [36m</fieldset>[39m
            [36m</div>[39m
          [36m</div>[39m
          [36m<div[39m
            [33maria-hidden[39m=[32m"true"[39m
            [33mclass[39m=[32m"MuiBackdrop-root 
css-1p8she-MuiBackdrop-root"[39m
            [33mstyle[39m=[32m"opacity: 0; visibility: hidden;"[39m
          [36m/>[39m
        [36m</div>[39m
      [36m</div>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiPopover-root MuiMenu-root MuiModal-root 
css-10nakn3-MuiModal-root-MuiPopover-root-MuiMenu-root"[39m
        [33mid[39m=[32m"menu-"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiBackdrop-invisible 
MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper 
MuiMenu-paper css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"[39m
          [33mstyle[39m=[32m"opacity: 1; transform: scale(1, 1); min-width: 
0; transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: 
-16px -16px;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<ul[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r1:"[39m
            [33mrole[39m=[32m"listbox"[39m
            [33mtabindex[39m=[32m"-1"[39m
          [36m>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"true"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_date"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mToday[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_week"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Week[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_month"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Month[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"custom"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCustom[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
          [36m</ul>[39m
        [36m</div>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelEnd"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 23 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
     [90m 24 |[39m     
    [31m[1m>[22m[39m[90m 25 |[39m     expect(screen[33m.[39mgetByText(
[32m'Today'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m    |[39m                   [31m[1m^[22m[39m
     [90m 26 |[39m     expect(screen[33m.[39mgetByText([32m'Current 
Week'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 27 |[39m     expect(screen[33m.[39mgetByText([32m'Current 
Month'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 28 |[39m     expect(screen[33m.[39mgetByText([32m'Custom'[39m))
[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
      at getMultipleElementsFoundError 
(node_modules/@testing-library/dom/dist/query-helpers.js:55:13)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByText (src/components/SmartDateSelector.test.js:25:19)

  ΓùÅ SmartDateSelector Component ΓÇ║ should call onApply when Today is 
selected

    TestingLibraryElementError: Found multiple elements with the text: Today

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r2:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
      [33mrole[39m=[32m"combobox"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
    [36m</div>[39m

    Ignored nodes: comments, script, style
    [36m<li[39m
      [33maria-selected[39m=[32m"true"[39m
      [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
      [33mdata-value[39m=[32m"current_date"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
      [36m<span[39m
        [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
      [36m/>[39m
    [36m</li>[39m

    (If this is intentional, then use the `*AllBy*` variant of the query (like 
`queryAllByText`, `getAllByText`, or `findAllByText`)).

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m>[39m
        [36m<div[39m
          [33mclass[39m=[32m"smart-date-selector-wrapper MuiBox-root 
css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-dru9rs-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall smart-date-select 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
              [33mdata-testid[39m=[32m"smart-date-selector"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r2:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
                [33mrole[39m=[32m"combobox"[39m
                [33mtabindex[39m=[32m"0"[39m
              [36m>[39m
                [0mToday[0m
              [36m</div>[39m
              [36m<input[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33maria-invalid[39m=[32m"false"[39m
                [33mclass[39m=[32m"MuiSelect-nativeInput 
css-yf8vq0-MuiSelect-nativeInput"[39m
                [33mtabindex[39m=[32m"-1"[39m
                [33mvalue[39m=[32m"current_date"[39m
              [36m/>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined 
MuiSelect-iconOpen css-bpeome-MuiSvgIcon-root-MuiSelect-icon"[39m
                [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M7 10l5 5 5-5z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<fieldset[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
              [36m>[39m
                [36m<legend[39m
                  
[33mclass[39m=[32m"css-1whs34k-MuiNotchedOutlined-root"[39m
                [36m>[39m
                  [36m<span[39m
                    [33mclass[39m=[32m"notranslate"[39m
                  [36m>[39m
                    [0mΓÇï[0m
                  [36m</span>[39m
                [36m</legend>[39m
              [36m</fieldset>[39m
            [36m</div>[39m
          [36m</div>[39m
          [36m<div[39m
            [33maria-hidden[39m=[32m"true"[39m
            [33mclass[39m=[32m"MuiBackdrop-root 
css-1p8she-MuiBackdrop-root"[39m
            [33mstyle[39m=[32m"opacity: 0; visibility: hidden;"[39m
          [36m/>[39m
        [36m</div>[39m
      [36m</div>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiPopover-root MuiMenu-root MuiModal-root 
css-10nakn3-MuiModal-root-MuiPopover-root-MuiMenu-root"[39m
        [33mid[39m=[32m"menu-"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiBackdrop-invisible 
MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper 
MuiMenu-paper css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"[39m
          [33mstyle[39m=[32m"opacity: 1; transform: scale(1, 1); min-width: 
0; transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: 
-16px -16px;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<ul[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r2:"[39m
            [33mrole[39m=[32m"listbox"[39m
            [33mtabindex[39m=[32m"-1"[39m
          [36m>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"true"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_date"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mToday[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_week"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Week[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_month"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Month[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"custom"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCustom[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
          [36m</ul>[39m
        [36m</div>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelEnd"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 34 |[39m     
     [90m 35 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
    [31m[1m>[22m[39m[90m 36 |[39m     [36mconst[39m todayOption 
[33m=[39m screen[33m.[39mgetByText([32m'Today'[39m)[33m;[39m
     [90m    |[39m                                [31m[1m^[22m[39m
     [90m 37 |[39m     fireEvent[33m.[39mclick(todayOption)[33m;[39m
     [90m 38 |[39m     
     [90m 39 |[39m     [36mawait[39m waitFor(() [33m=>[39m {[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
      at getMultipleElementsFoundError 
(node_modules/@testing-library/dom/dist/query-helpers.js:55:13)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByText (src/components/SmartDateSelector.test.js:36:32)

  ΓùÅ SmartDateSelector Component ΓÇ║ should pass date range object to onApply

    TestingLibraryElementError: Found multiple elements with the text: Today

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r5:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
      [33mrole[39m=[32m"combobox"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
    [36m</div>[39m

    Ignored nodes: comments, script, style
    [36m<li[39m
      [33maria-selected[39m=[32m"true"[39m
      [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
      [33mdata-value[39m=[32m"current_date"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
      [36m<span[39m
        [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
      [36m/>[39m
    [36m</li>[39m

    (If this is intentional, then use the `*AllBy*` variant of the query (like 
`queryAllByText`, `getAllByText`, or `findAllByText`)).

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m>[39m
        [36m<div[39m
          [33mclass[39m=[32m"smart-date-selector-wrapper MuiBox-root 
css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-dru9rs-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall smart-date-select 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
              [33mdata-testid[39m=[32m"smart-date-selector"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r5:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
                [33mrole[39m=[32m"combobox"[39m
                [33mtabindex[39m=[32m"0"[39m
              [36m>[39m
                [0mToday[0m
              [36m</div>[39m
              [36m<input[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33maria-invalid[39m=[32m"false"[39m
                [33mclass[39m=[32m"MuiSelect-nativeInput 
css-yf8vq0-MuiSelect-nativeInput"[39m
                [33mtabindex[39m=[32m"-1"[39m
                [33mvalue[39m=[32m"current_date"[39m
              [36m/>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined 
MuiSelect-iconOpen css-bpeome-MuiSvgIcon-root-MuiSelect-icon"[39m
                [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M7 10l5 5 5-5z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<fieldset[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
              [36m>[39m
                [36m<legend[39m
                  
[33mclass[39m=[32m"css-1whs34k-MuiNotchedOutlined-root"[39m
                [36m>[39m
                  [36m<span[39m
                    [33mclass[39m=[32m"notranslate"[39m
                  [36m>[39m
                    [0mΓÇï[0m
                  [36m</span>[39m
                [36m</legend>[39m
              [36m</fieldset>[39m
            [36m</div>[39m
          [36m</div>[39m
          [36m<div[39m
            [33maria-hidden[39m=[32m"true"[39m
            [33mclass[39m=[32m"MuiBackdrop-root 
css-1p8she-MuiBackdrop-root"[39m
            [33mstyle[39m=[32m"opacity: 0; visibility: hidden;"[39m
          [36m/>[39m
        [36m</div>[39m
      [36m</div>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiPopover-root MuiMenu-root MuiModal-root 
css-10nakn3-MuiModal-root-MuiPopover-root-MuiMenu-root"[39m
        [33mid[39m=[32m"menu-"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiBackdrop-invisible 
MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper 
MuiMenu-paper css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"[39m
          [33mstyle[39m=[32m"opacity: 1; transform: scale(1, 1); min-width: 
0; transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: 
-16px -16px;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<ul[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r5:"[39m
            [33mrole[39m=[32m"listbox"[39m
            [33mtabindex[39m=[32m"-1"[39m
          [36m>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"true"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_date"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mToday[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_week"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Week[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_month"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Month[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"custom"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCustom[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
          [36m</ul>[39m
        [36m</div>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelEnd"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 73 |[39m     
     [90m 74 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
    [31m[1m>[22m[39m[90m 75 |[39m     [36mconst[39m todayOption 
[33m=[39m screen[33m.[39mgetByText([32m'Today'[39m)[33m;[39m
     [90m    |[39m                                [31m[1m^[22m[39m
     [90m 76 |[39m     fireEvent[33m.[39mclick(todayOption)[33m;[39m
     [90m 77 |[39m     
     [90m 78 |[39m     [36mawait[39m waitFor(() [33m=>[39m {[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
      at getMultipleElementsFoundError 
(node_modules/@testing-library/dom/dist/query-helpers.js:55:13)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByText (src/components/SmartDateSelector.test.js:75:32)

  ΓùÅ SmartDateSelector Component ΓÇ║ should set displayLabel to Today

    TestingLibraryElementError: Found multiple elements with the text: Today

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r6:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
      [33mrole[39m=[32m"combobox"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
    [36m</div>[39m

    Ignored nodes: comments, script, style
    [36m<li[39m
      [33maria-selected[39m=[32m"true"[39m
      [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
      [33mdata-value[39m=[32m"current_date"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mToday[0m
      [36m<span[39m
        [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
      [36m/>[39m
    [36m</li>[39m

    (If this is intentional, then use the `*AllBy*` variant of the query (like 
`queryAllByText`, `getAllByText`, or `findAllByText`)).

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m>[39m
        [36m<div[39m
          [33mclass[39m=[32m"smart-date-selector-wrapper MuiBox-root 
css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-dru9rs-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall smart-date-select 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
              [33mdata-testid[39m=[32m"smart-date-selector"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r6:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33mclass[39m=[32m"MuiSelect-select MuiSelect-outlined 
MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall 
css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"[39m
                [33mrole[39m=[32m"combobox"[39m
                [33mtabindex[39m=[32m"0"[39m
              [36m>[39m
                [0mToday[0m
              [36m</div>[39m
              [36m<input[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33maria-invalid[39m=[32m"false"[39m
                [33mclass[39m=[32m"MuiSelect-nativeInput 
css-yf8vq0-MuiSelect-nativeInput"[39m
                [33mtabindex[39m=[32m"-1"[39m
                [33mvalue[39m=[32m"current_date"[39m
              [36m/>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined 
MuiSelect-iconOpen css-bpeome-MuiSvgIcon-root-MuiSelect-icon"[39m
                [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M7 10l5 5 5-5z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<fieldset[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
              [36m>[39m
                [36m<legend[39m
                  
[33mclass[39m=[32m"css-1whs34k-MuiNotchedOutlined-root"[39m
                [36m>[39m
                  [36m<span[39m
                    [33mclass[39m=[32m"notranslate"[39m
                  [36m>[39m
                    [0mΓÇï[0m
                  [36m</span>[39m
                [36m</legend>[39m
              [36m</fieldset>[39m
            [36m</div>[39m
          [36m</div>[39m
          [36m<div[39m
            [33maria-hidden[39m=[32m"true"[39m
            [33mclass[39m=[32m"MuiBackdrop-root 
css-1p8she-MuiBackdrop-root"[39m
            [33mstyle[39m=[32m"opacity: 0; visibility: hidden;"[39m
          [36m/>[39m
        [36m</div>[39m
      [36m</div>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiPopover-root MuiMenu-root MuiModal-root 
css-10nakn3-MuiModal-root-MuiPopover-root-MuiMenu-root"[39m
        [33mid[39m=[32m"menu-"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiBackdrop-invisible 
MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper 
MuiMenu-paper css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"[39m
          [33mstyle[39m=[32m"opacity: 1; transform: scale(1, 1); min-width: 
0; transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: 
-16px -16px;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<ul[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r6:"[39m
            [33mrole[39m=[32m"listbox"[39m
            [33mtabindex[39m=[32m"-1"[39m
          [36m>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"true"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected Mui-focusVisible MuiMenuItem-root 
MuiMenuItem-gutters Mui-selected 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_date"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mToday[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_week"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Week[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"current_month"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCurrent Month[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
            [36m<li[39m
              [33maria-selected[39m=[32m"false"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiMenuItem-root 
MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters 
css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root"[39m
              [33mdata-value[39m=[32m"custom"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mCustom[0m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</li>[39m
          [36m</ul>[39m
        [36m</div>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelEnd"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 92 |[39m     
     [90m 93 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
    [31m[1m>[22m[39m[90m 94 |[39m     [36mconst[39m todayOption 
[33m=[39m screen[33m.[39mgetByText([32m'Today'[39m)[33m;[39m
     [90m    |[39m                                [31m[1m^[22m[39m
     [90m 95 |[39m     fireEvent[33m.[39mclick(todayOption)[33m;[39m
     [90m 96 |[39m     
     [90m 97 |[39m     [36mawait[39m waitFor(() [33m=>[39m {[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
      at getMultipleElementsFoundError 
(node_modules/@testing-library/dom/dist/query-helpers.js:55:13)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByText (src/components/SmartDateSelector.test.js:94:32)

FAIL src/components/ToggleBtn.test.js (25.899 s)
  ΓùÅ ToggleBtn Component ΓÇ║ should call onToggleData when clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 31 |[39m   })[33m;[39m
     [90m 32 |[39m
    [31m[1m>[22m[39m[90m 33 |[39m   test([32m'should call onToggleData 
when clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 34 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 35 |[39m     render([33m<[39m[33mToggleBtn[39m 
showLiveData[33m=[39m{[36mtrue[39m} 
onToggleData[33m=[39m{mockOnToggleData} [33m/[39m[33m>[39m)[33m;[39m
     [90m 36 |[39m     [36mconst[39m button [33m=[39m 
screen[33m.[39mgetByRole([32m'button'[39m)[33m;[39m[0m

      at test (src/components/ToggleBtn.test.js:33:3)
      at describe (src/components/ToggleBtn.test.js:7:1)

FAIL src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js (114.09 s)
  ΓùÅ CreateEditRoleDialog Component ΓÇ║ handles role name input change

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 59 |[39m   })[33m;[39m
     [90m 60 |[39m
    [31m[1m>[22m[39m[90m 61 |[39m   test([32m'handles role name input 
change'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 62 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 63 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 64 |[39m     [36mconst[39m input [33m=[39m 
screen[33m.[39mgetByLabelText([32m'Role Name'[39m)[33m;[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:61:3)
      at describe 
(src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls onClose when close button is 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 105 |[39m   })[33m;[39m
     [90m 106 |[39m
    [31m[1m>[22m[39m[90m 107 |[39m   test([32m'calls onClose when close 
button is clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 108 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 109 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 110 |[39m     [36mconst[39m closeButton [33m=[39m 
screen[33m.[39mgetByLabelText([32m'close'[39m)[33m;[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:107:3)
      at describe 
(src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handleRoleSave when save button 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 140 |[39m   })[33m;[39m
     [90m 141 |[39m
    [31m[1m>[22m[39m[90m 142 |[39m   test([32m'calls handleRoleSave 
when save button clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 143 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 144 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} roleName[33m=[39m[32m"Admin"[39m 
[33m/[39m[33m>[39m)[33m;[39m
     [90m 145 |[39m     [36mconst[39m saveButton [33m=[39m 
screen[33m.[39mgetByRole([32m'button'[39m[33m,[39m { name[33m:[39m 
[35m/save/i[39m })[33m;[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:142:3)
      at describe 
(src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handlePermissionSave when 
Update Permissions clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 148 |[39m   })[33m;[39m
     [90m 149 |[39m
    [31m[1m>[22m[39m[90m 150 |[39m   test([32m'calls 
handlePermissionSave when Update Permissions clicked'[39m[33m,[39m 
[36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 151 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 152 |[39m     [36mconst[39m permissions [33m=[39m [
     [90m 153 |[39m       { [33mFeatureSubId[39m[33m:[39m 
[35m1[39m[33m,[39m [33mSubFeatureName[39m[33m:[39m 
[32m'Dashboard'[39m[33m,[39m selectedPermission[33m:[39m [35m1[39m 
}[33m,[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:150:3)
      at describe 
(src/pages/ManageRoles/CreateEditRoleDialog-simple.test.js:9:1)

FAIL src/tests/EmployeeWorkingTime.test.js (124.951 s)
  ΓùÅ EmployeeWorkingTime Component ΓÇ║ table responds to data updates

    TypeError: EmployeeWorkingTimeData.slice is not a function

    [0m [90m 130 |[39m         [33m<[39m[33mUserProvider[39m 
value[33m=[39m{mockUserContext}[33m>[39m
     [90m 131 |[39m           [33m<[39m[33mEmployeeWorkingTime[39m 
{[33m...[39m{
    [31m[1m>[22m[39m[90m 132 |[39m             data[33m:[39m { 
[33mRecords[39m[33m:[39m 
[33mEmployeeWorkingTimeData[39m[33m.[39mslice([35m0[39m[33m,[39m 
[35m5[39m)[33m,[39m [33mTotalRecords[39m[33m:[39m [35m5[39m 
}[33m,[39m
     [90m     |[39m                                                      
[31m[1m^[22m[39m
     [90m 133 |[39m             columns[33m:[39m [][33m,[39m
     [90m 134 |[39m             onChange[33m:[39m jest[33m.[39mfn()
     [90m 135 |[39m           }} [33m/[39m[33m>[39m[0m

      at Object.slice (src/tests/EmployeeWorkingTime.test.js:132:54)

FAIL src/components/SearchInput.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 45 |[39m   [36mconst[39m mockDebounce [33m=[39m (fn) 
[33m=>[39m fn[33m;[39m
     [90m 46 |[39m   [36mreturn[39m mockDebounce[33m;[39m
    [31m[1m>[22m[39m[90m 47 |[39m })[33m;[39m
     [90m    |[39m    [31m[1m^[22m[39m
     [90m 48 |[39m
     [90m 49 |[39m describe([32m'SearchInput Component'[39m[33m,[39m () 
[33m=>[39m {
     [90m 50 |[39m   [36mconst[39m mockOnSearch [33m=[39m 
jest[33m.[39mfn()[33m;[39m[0m

      at require (src/components/SearchInput.test.js:47:4)
      at _getJestObj (src/components/SearchInput.test.js:18:1)

FAIL src/components/EditPopup.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 49 |[39m     error[33m:[39m mockError[33m,[39m
     [90m 50 |[39m   }[33m,[39m
    [31m[1m>[22m[39m[90m 51 |[39m }))[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 52 |[39m
     [90m 53 |[39m describe([32m'EditPopup Component'[39m[33m,[39m () 
[33m=>[39m {
     [90m 54 |[39m   [36mconst[39m mockOnSave [33m=[39m 
jest[33m.[39mfn()[33m;[39m[0m

      at require (src/components/EditPopup.test.js:51:5)
      at _getJestObj (src/components/EditPopup.test.js:20:1)

FAIL src/pages/ManageRoles/ManageRoles-simple.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 22 |[39m     [36mreturn[39m [33m<[39m[33mdiv[39m data[33
m-[39mtestid[33m=[39m[32m"manage-roles-popup"[39m[33m>[39m[33mPopup[39
m[33m<[39m[33m/[39m[33mdiv[39m[33m>[39m[33m;[39m
     [90m 23 |[39m   }[33m;[39m
    [31m[1m>[22m[39m[90m 24 |[39m })[33m;[39m
     [90m    |[39m    [31m[1m^[22m[39m
     [90m 25 |[39m
     [90m 26 |[39m describe([32m'ManageRoles Component'[39m[33m,[39m () 
[33m=>[39m {
     [90m 27 |[39m   [36mconst[39m mockGetApi [33m=[39m 
jest[33m.[39mfn()[33m.[39mmockResolvedValue({ [33mRecords[39m[33m:[39m 
[] })[33m;[39m[0m

      at require (src/pages/ManageRoles/ManageRoles-simple.test.js:24:4)
      at _getJestObj (src/pages/ManageRoles/ManageRoles-simple.test.js:9:1)

FAIL src/components/TableDataPopup.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 39 |[39m     postApi[33m:[39m mockPostApi[33m,[39m
     [90m 40 |[39m   })[33m,[39m
    [31m[1m>[22m[39m[90m 41 |[39m }))[33m;[39m
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 42 |[39m
     [90m 43 |[39m describe([32m'TableDataPopup Component'[39m[33m,[39m 
() [33m=>[39m {
     [90m 44 |[39m   [36mconst[39m mockData [33m=[39m {[0m

      at require (src/components/TableDataPopup.test.js:41:5)
      at _getJestObj (src/components/TableDataPopup.test.js:18:1)

FAIL src/pages/ManageRoles/CreateEditRoleDialog.test.js (166.042 s)
  ΓùÅ CreateEditRoleDialog Component ΓÇ║ handles role name input change

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 67 |[39m   })[33m;[39m
     [90m 68 |[39m
    [31m[1m>[22m[39m[90m 69 |[39m   test([32m'handles role name input 
change'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 70 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 71 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 72 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:69:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ prevents special characters in role 
name

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 77 |[39m   })[33m;[39m
     [90m 78 |[39m
    [31m[1m>[22m[39m[90m 79 |[39m   test([32m'prevents special 
characters in role name'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 80 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 81 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 82 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:79:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ allows single spaces between words in 
role name

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 90 |[39m   })[33m;[39m
     [90m 91 |[39m
    [31m[1m>[22m[39m[90m 92 |[39m   test([32m'allows single spaces 
between words in role name'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m    |[39m   [31m[1m^[22m[39m
     [90m 93 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 94 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 95 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:92:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ handles view type change

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 109 |[39m   })[33m;[39m
     [90m 110 |[39m
    [31m[1m>[22m[39m[90m 111 |[39m   test([32m'handles view type 
change'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 112 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 113 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 114 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:111:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls onClose when close button is 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 126 |[39m   })[33m;[39m
     [90m 127 |[39m
    [31m[1m>[22m[39m[90m 128 |[39m   test([32m'calls onClose when close 
button is clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 129 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 130 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 131 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:128:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handleRoleSave when save button 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 234 |[39m   })[33m;[39m
     [90m 235 |[39m
    [31m[1m>[22m[39m[90m 236 |[39m   test([32m'calls handleRoleSave 
when save button clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 237 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 238 |[39m     render(
     [90m 239 |[39m       [33m<[39m[33mCreateEditRoleDialog[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:236:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handlePermissionChange when 
permission selected

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 292 |[39m   })[33m;[39m
     [90m 293 |[39m
    [31m[1m>[22m[39m[90m 294 |[39m   test([32m'calls 
handlePermissionChange when permission selected'[39m[33m,[39m 
[36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 295 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 296 |[39m     [36mconst[39m permissions [33m=[39m [
     [90m 297 |[39m       {[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:294:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls handlePermissionSave when 
Update Permissions clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 337 |[39m   })[33m;[39m
     [90m 338 |[39m
    [31m[1m>[22m[39m[90m 339 |[39m   test([32m'calls 
handlePermissionSave when Update Permissions clicked'[39m[33m,[39m 
[36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 340 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 341 |[39m     [36mconst[39m permissions [33m=[39m [
     [90m 342 |[39m       {[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:339:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ calls setShowPermissions when Edit 
Permissions button clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 380 |[39m   })[33m;[39m
     [90m 381 |[39m
    [31m[1m>[22m[39m[90m 382 |[39m   test([32m'calls setShowPermissions 
when Edit Permissions button clicked'[39m[33m,[39m [36masync[39m () 
[33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 383 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 384 |[39m     [36mconst[39m roleData [33m=[39m {
     [90m 385 |[39m       [33mRole_Id[39m[33m:[39m 
[35m1[39m[33m,[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:382:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ renders information tooltip for role 
name constraints

    TestingLibraryElementError: Unable to find an element with the title: 
/Role names can only contain letters and a single space between words/i.

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m/>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiDialog-root manageRolesPopup MuiModal-root 
css-zw3mfo-MuiModal-root-MuiDialog-root"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiModal-backdrop 
css-yiavyu-MuiBackdrop-root-MuiDialog-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiDialog-container MuiDialog-scrollPaper 
css-hz1bth-MuiDialog-container"[39m
          [33mrole[39m=[32m"presentation"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<div[39m
            [33maria-labelledby[39m=[32m":r2f:"[39m
            [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper 
MuiDialog-paperScrollPaper MuiDialog-paperWidthMd MuiDialog-paperFullWidth 
css-rnmm7m-MuiPaper-root-MuiDialog-paper"[39m
            [33mrole[39m=[32m"dialog"[39m
          [36m>[39m
            [36m<h2[39m
              [33mclass[39m=[32m"MuiTypography-root MuiTypography-h6 
MuiDialogTitle-root role-title 
css-bdhsul-MuiTypography-root-MuiDialogTitle-root"[39m
              [33mid[39m=[32m":r2f:"[39m
            [36m>[39m
              [0mCreate Role[0m
            [36m</h2>[39m
            [36m<button[39m
              [33maria-label[39m=[32m"close"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiIconButton-root 
MuiIconButton-sizeMedium css-lc2yqr-MuiButtonBase-root-MuiIconButton-root"[39m
              [33mtabindex[39m=[32m"0"[39m
              [33mtype[39m=[32m"button"[39m
            [36m>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"[39m
                [33mdata-testid[39m=[32m"CloseIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 
10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</button>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiDialogContent-root role-dialog-content 
css-ypiqx9-MuiDialogContent-root"[39m
            [36m>[39m
              [36m<div[39m
                [33mclass[39m=[32m"role-name-section"[39m
              [36m>[39m
                [36m<div[39m
                  [33mclass[39m=[32m"MuiFormControl-root 
MuiFormControl-marginNormal MuiFormControl-fullWidth MuiTextField-root 
role-name-input css-17vbkzs-MuiFormControl-root-MuiTextField-root"[39m
                [36m>[39m
                  [36m<label[39m
                    [33mclass[39m=[32m"MuiFormLabel-root MuiInputLabel-root 
MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium 
MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root 
MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium 
MuiInputLabel-outlined css-14s5rfu-MuiFormLabel-root-MuiInputLabel-root"[39m
                    [33mdata-shrink[39m=[32m"false"[39m
                    [33mfor[39m=[32m":r2g:"[39m
                    [33mid[39m=[32m":r2g:-label"[39m
                  [36m>[39m
                    [0mRole Name[0m
                  [36m</label>[39m
                  [36m<div[39m
                    [33mclass[39m=[32m"MuiInputBase-root 
MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth 
MuiInputBase-formControl 
css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"[39m
                  [36m>[39m
                    [36m<input[39m
                      [33maria-invalid[39m=[32m"false"[39m
                      [33mautocomplete[39m=[32m"off"[39m
                      [33mclass[39m=[32m"MuiInputBase-input 
MuiOutlinedInput-input 
css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"[39m
                      [33mid[39m=[32m":r2g:"[39m
                      [33mtype[39m=[32m"text"[39m
                      [33mvalue[39m=[32m""[39m
                    [36m/>[39m
                    [36m<fieldset[39m
                      [33maria-hidden[39m=[32m"true"[39m
                      [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
                    [36m>[39m
                      [36m<legend[39m
                        
[33mclass[39m=[32m"css-njhac4-MuiNotchedOutlined-root"[39m
                      [36m>[39m
                        [36m<span>[39m
                          [0mRole Name[0m
                        [36m</span>[39m
                      [36m</legend>[39m
                    [36m</fieldset>[39m
                  [36m</div>[39m
                [36m</div>[39m
                [36m<div[39m
                  [33mclass[39m=[32m"role-type-section"[39m
                [36m>[39m
                  [36m<label[39m
                    [33mclass[39m=[32m"MuiFormLabel-root 
MuiFormLabel-colorPrimary css-u4tvz2-MuiFormLabel-root"[39m
                    [33mid[39m=[32m"demo-radio-buttons-group-label"[39m
                  [36m>[39m
                    [0mView Type Permission[0m
                  [36m</label>[39m
                  [36m<div[39m
                    [33mclass[39m=[32m"MuiFormGroup-root MuiFormGroup-row 
MuiRadioGroup-root MuiRadioGroup-row role-type-group 
css-qfz70r-MuiFormGroup-root"[39m
                    [33mrole[39m=[32m"radiogroup"[39m
                  [36m>[39m
                    [36m<label[39m
                      [33mclass[39m=[32m"MuiFormControlLabel-root 
MuiFormControlLabel-labelPlacementEnd css-j204z7-MuiFormControlLabel-root"[39m
                    [36m>[39m
                      [36m<span[39m
                        [33mclass[39m=[32m"MuiButtonBase-root MuiRadio-root 
MuiRadio-colorPrimary PrivateSwitchBase-root MuiRadio-root 
MuiRadio-colorPrimary MuiRadio-root MuiRadio-colorPrimary 
css-1p3cwfz-MuiButtonBase-root-MuiSwitchBase-root-MuiRadio-root"[39m
                      [36m>[39m
                        [36m<input[39m
                          [33mclass[39m=[32m"PrivateSwitchBase-input 
css-1p3z7et-MuiSwitchBase-root"[39m
                          [33mname[39m=[32m"role-...

    [0m [90m 449 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 450 |[39m
    [31m[1m>[22m[39m[90m 451 |[39m     [36mconst[39m tooltip 
[33m=[39m screen[33m.[39mgetByTitle(
     [90m     |[39m                            [31m[1m^[22m[39m
     [90m 452 |[39m       [35m/Role names can only contain letters and a 
single space between words/i[39m
     [90m 453 |[39m     )[33m;[39m
     [90m 454 |[39m     
expect(tooltip)[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:76:38)
      at allQuery 
(node_modules/@testing-library/dom/dist/query-helpers.js:52:17)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByTitle 
(src/pages/ManageRoles/CreateEditRoleDialog.test.js:451:28)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ trims whitespace from role name

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 486 |[39m   })[33m;[39m
     [90m 487 |[39m
    [31m[1m>[22m[39m[90m 488 |[39m   test([32m'trims whitespace from 
role name'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 489 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 490 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 491 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:488:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ prevents multiple consecutive spaces

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 496 |[39m   })[33m;[39m
     [90m 497 |[39m
    [31m[1m>[22m[39m[90m 498 |[39m   test([32m'prevents multiple 
consecutive spaces'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 499 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 500 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 501 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:498:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ enables tooltip with role name 
constraints hint

    TestingLibraryElementError: Unable to find an element with the title: 
/Role names can only contain letters and a single space between words/i.

    Ignored nodes: comments, script, style
    [36m<body[39m
      [33mstyle[39m=[32m"padding-right: 1024px; overflow: hidden;"[39m
    [36m>[39m
      [36m<div[39m
        [33maria-hidden[39m=[32m"true"[39m
      [36m/>[39m
      [36m<div[39m
        [33mclass[39m=[32m"MuiDialog-root manageRolesPopup MuiModal-root 
css-zw3mfo-MuiModal-root-MuiDialog-root"[39m
        [33mrole[39m=[32m"presentation"[39m
      [36m>[39m
        [36m<div[39m
          [33maria-hidden[39m=[32m"true"[39m
          [33mclass[39m=[32m"MuiBackdrop-root MuiModal-backdrop 
css-yiavyu-MuiBackdrop-root-MuiDialog-backdrop"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
        [36m/>[39m
        [36m<div[39m
          [33mdata-testid[39m=[32m"sentinelStart"[39m
          [33mtabindex[39m=[32m"0"[39m
        [36m/>[39m
        [36m<div[39m
          [33mclass[39m=[32m"MuiDialog-container MuiDialog-scrollPaper 
css-hz1bth-MuiDialog-container"[39m
          [33mrole[39m=[32m"presentation"[39m
          [33mstyle[39m=[32m"opacity: 1; webkit-transition: opacity 225ms 
cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 
0, 0.2, 1) 0ms;"[39m
          [33mtabindex[39m=[32m"-1"[39m
        [36m>[39m
          [36m<div[39m
            [33maria-labelledby[39m=[32m":r38:"[39m
            [33mclass[39m=[32m"MuiPaper-root MuiPaper-elevation 
MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper 
MuiDialog-paperScrollPaper MuiDialog-paperWidthMd MuiDialog-paperFullWidth 
css-rnmm7m-MuiPaper-root-MuiDialog-paper"[39m
            [33mrole[39m=[32m"dialog"[39m
          [36m>[39m
            [36m<h2[39m
              [33mclass[39m=[32m"MuiTypography-root MuiTypography-h6 
MuiDialogTitle-root role-title 
css-bdhsul-MuiTypography-root-MuiDialogTitle-root"[39m
              [33mid[39m=[32m":r38:"[39m
            [36m>[39m
              [0mCreate Role[0m
            [36m</h2>[39m
            [36m<button[39m
              [33maria-label[39m=[32m"close"[39m
              [33mclass[39m=[32m"MuiButtonBase-root MuiIconButton-root 
MuiIconButton-sizeMedium css-lc2yqr-MuiButtonBase-root-MuiIconButton-root"[39m
              [33mtabindex[39m=[32m"0"[39m
              [33mtype[39m=[32m"button"[39m
            [36m>[39m
              [36m<svg[39m
                [33maria-hidden[39m=[32m"true"[39m
                [33mclass[39m=[32m"MuiSvgIcon-root 
MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"[39m
                [33mdata-testid[39m=[32m"CloseIcon"[39m
                [33mfocusable[39m=[32m"false"[39m
                [33mviewBox[39m=[32m"0 0 24 24"[39m
              [36m>[39m
                [36m<path[39m
                  [33md[39m=[32m"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 
10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"[39m
                [36m/>[39m
              [36m</svg>[39m
              [36m<span[39m
                [33mclass[39m=[32m"MuiTouchRipple-root 
css-8je8zh-MuiTouchRipple-root"[39m
              [36m/>[39m
            [36m</button>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiDialogContent-root role-dialog-content 
css-ypiqx9-MuiDialogContent-root"[39m
            [36m>[39m
              [36m<div[39m
                [33mclass[39m=[32m"role-name-section"[39m
              [36m>[39m
                [36m<div[39m
                  [33mclass[39m=[32m"MuiFormControl-root 
MuiFormControl-marginNormal MuiFormControl-fullWidth MuiTextField-root 
role-name-input css-17vbkzs-MuiFormControl-root-MuiTextField-root"[39m
                [36m>[39m
                  [36m<label[39m
                    [33mclass[39m=[32m"MuiFormLabel-root MuiInputLabel-root 
MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink 
MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary 
MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl 
MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium 
MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"[39m
                    [33mdata-shrink[39m=[32m"true"[39m
                    [33mfor[39m=[32m":r39:"[39m
                    [33mid[39m=[32m":r39:-label"[39m
                  [36m>[39m
                    [0mRole Name[0m
                  [36m</label>[39m
                  [36m<div[39m
                    [33mclass[39m=[32m"MuiInputBase-root 
MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth 
MuiInputBase-formControl MuiInputBase-adornedEnd 
css-154xyx0-MuiInputBase-root-MuiOutlinedInput-root"[39m
                  [36m>[39m
                    [36m<input[39m
                      [33maria-invalid[39m=[32m"false"[39m
                      [33mautocomplete[39m=[32m"off"[39m
                      [33mclass[39m=[32m"MuiInputBase-input 
MuiOutlinedInput-input MuiInputBase-inputAdornedEnd 
css-nxo287-MuiInputBase-input-MuiOutlinedInput-input"[39m
                      [33mid[39m=[32m":r39:"[39m
                      [33mtype[39m=[32m"text"[39m
                      [33mvalue[39m=[32m"Admin"[39m
                    [36m/>[39m
                    [36m<span[39m
                      [33mstyle[39m=[32m"display: flex; align-items: 
center; margin-left: 4px; padding-right: 12px;"[39m
                    [36m>[39m
                      [36m<svg[39m
                        [33maria-label[39m=[32m"Role names can only contain 
letters and a single space between words."[39m
                        [33mclass[39m=[32m""[39m
                        
[33mdata-mui-internal-clone-element[39m=[32m"true"[39m
                        [33mfill[39m=[32m"none"[39m
                        [33mheight[39m=[32m"18"[39m
                        [33mid[39m=[32m"icon-sv"[39m
                        [33mstyle[39m=[32m"cursor: pointer; z-index: 
9;"[39m
                        [33mviewBox[39m=[32m"0 0 24 24"[39m
                        [33mwidth[39m=[32m"18"[39m
                      [36m>[39m
                        [36m<circle[39m
                          [33mcx[39m=[32m"12"[39m
                          [33mcy[39m=[32m"12"[39m
                          [33mfill[39m=[32m"#1976d2"[39m
                          [33mr[39m=[32m"12"[39m
                        [36m/>[39m
                        [36m<text[39m
                          [33mfill[39m=[32m"#fff"[39m
                          [33mfont-family[39m=[32m"Arial"[39m
                          [33mfont-size[39m=[32m"15"[39m
                          [33mfont-weight[39m=[32m"bold"[39m
                          [33mtext-anchor[39m=[32m"middle"[39m
                          [33mx[39m=[32m"12"[39m
                          [33my[39m=[32m"17"[39m
                        [36m>[39m
                          [0mi[0m
                        [36m</text>[39m
                      [36m</svg>[39m
                    [36m</span>[39m
                    [36m<fieldset[39m
                      [33maria-hidden[39m=[32m"true"[39m
                      [33mclass[39m=[32m"MuiOutlinedInput-notchedOutline 
css-r01yff-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"[39m
                    ...

    [0m [90m 553 |[39m     )[33m;[39m
     [90m 554 |[39m
    [31m[1m>[22m[39m[90m 555 |[39m     [36mconst[39m tooltip 
[33m=[39m screen[33m.[39mgetByTitle(
     [90m     |[39m                            [31m[1m^[22m[39m
     [90m 556 |[39m       [35m/Role names can only contain letters and a 
single space between words/i[39m
     [90m 557 |[39m     )[33m;[39m
     [90m 558 |[39m     
expect(tooltip)[33m.[39mtoBeInTheDocument()[33m;[39m[0m

      at Object.getElementError 
(node_modules/@testing-library/dom/dist/config.js:37:19)
      at getElementError 
(node_modules/@testing-library/dom/dist/query-helpers.js:76:38)
      at allQuery 
(node_modules/@testing-library/dom/dist/query-helpers.js:52:17)
      at query (node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
      at Object.getByTitle 
(src/pages/ManageRoles/CreateEditRoleDialog.test.js:555:28)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ honors dialog maxWidth and fullWidth 
props

    expect(received).toBeInTheDocument()

    received value must be an HTMLElement or an SVGElement.
    Received has value: null

    [0m [90m 579 |[39m
     [90m 580 |[39m     [36mconst[39m dialog [33m=[39m 
container[33m.[39mquerySelector([32m'[role="dialog"]'[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 581 |[39m     
expect(dialog)[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                    [31m[1m^[22m[39m
     [90m 582 |[39m   })[33m;[39m
     [90m 583 |[39m
     [90m 584 |[39m   test([32m'displays role name section when not showing 
permissions'[39m[33m,[39m () [33m=>[39m {[0m

      at __EXTERNAL_MATCHER_TRAP__ 
(node_modules/@jest/expect/node_modules/expect/build/index.js:346:30)
      at Object.throwingMatcher [as toBeInTheDocument] 
(node_modules/@jest/expect/node_modules/expect/build/index.js:347:15)
      at Object.toBeInTheDocument 
(src/pages/ManageRoles/CreateEditRoleDialog.test.js:581:20)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ updates permission when radio button 
clicked

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 628 |[39m   })[33m;[39m
     [90m 629 |[39m
    [31m[1m>[22m[39m[90m 630 |[39m   test([32m'updates permission when 
radio button clicked'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 631 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 632 |[39m     [36mconst[39m permissions [33m=[39m [
     [90m 633 |[39m       {[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:630:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ closes dialog on close button click

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 698 |[39m   })[33m;[39m
     [90m 699 |[39m
    [31m[1m>[22m[39m[90m 700 |[39m   test([32m'closes dialog on close 
button click'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 701 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 702 |[39m     render([33m<[39m[33mCreateEditRoleDialog[39m 
{[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m 703 |[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:700:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)

  ΓùÅ CreateEditRoleDialog Component ΓÇ║ handles edit button hover state

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is 
a long-running test."

    [0m [90m 708 |[39m   })[33m;[39m
     [90m 709 |[39m
    [31m[1m>[22m[39m[90m 710 |[39m   test([32m'handles edit button 
hover state'[39m[33m,[39m [36masync[39m () [33m=>[39m {
     [90m     |[39m   [31m[1m^[22m[39m
     [90m 711 |[39m     [36mconst[39m user [33m=[39m 
userEvent[33m.[39msetup()[33m;[39m
     [90m 712 |[39m     [36mconst[39m roleData [33m=[39m {
     [90m 713 |[39m       [33mRole_Id[39m[33m:[39m 
[35m1[39m[33m,[39m[0m

      at test (src/pages/ManageRoles/CreateEditRoleDialog.test.js:710:3)
      at describe (src/pages/ManageRoles/CreateEditRoleDialog.test.js:9:1)


Test Suites: 9 failed, 30 passed, 39 total
Tests:       27 failed, 1 skipped, 252 passed, 280 total
Snapshots:   0 total
Time:        176.94 s
Ran all test suites.
