
> 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:53920) 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:53920) Ex...nge at any time 
   :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
(Use `node --trace-warnings ...` to show where the warning was created)
(node:62752) 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:59172) 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:63388) 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:32908) 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:62944) 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:61112) 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:62072) 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:52804) 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:33756) 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:22764) 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:39604) ExperimentalWarning: VM Modules is an experimental feature and 
might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
FAIL src/utils/getPageTitle.test.js (5.122 s)
  getPageTitle
    ├ù returns title for valid path (6 ms)
    ΓêÜ returns undefined for non-existent path (1 ms)
    ├ù handles home path (1 ms)
    ΓêÜ handles user profile path with pattern (1 ms)
    ΓêÜ handles user profile path with different ID
    ΓêÜ handles user profile path with large ID
    ΓêÜ does not match invalid user profile paths
    ΓêÜ handles empty string path
    ΓêÜ returns MenuName when SubMenuName equals MenuName
    ΓêÜ returns SubMenuName when different from MenuName
    ΓêÜ function returns string or undefined (1 ms)
    ├ù handles paths with trailing slash (1 ms)

  ΓùÅ getPageTitle ΓÇ║ returns title for valid path

    expect(received).toBeDefined()

    Received: undefined

    [0m [90m 4 |[39m   test([32m'returns title for valid 
path'[39m[33m,[39m () [33m=>[39m {
     [90m 5 |[39m     [36mconst[39m result [33m=[39m 
getPageTitle([32m'/dashboard'[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 6 |[39m     
expect(result)[33m.[39mtoBeDefined()[33m;[39m
     [90m   |[39m                    [31m[1m^[22m[39m
     [90m 7 |[39m   })[33m;[39m
     [90m 8 |[39m
     [90m 9 |[39m   test([32m'returns undefined for non-existent 
path'[39m[33m,[39m () [33m=>[39m {[0m

      at Object.toBeDefined (src/utils/getPageTitle.test.js:6:20)

  ΓùÅ getPageTitle ΓÇ║ handles home path

    expect(received).toBeDefined()

    Received: undefined

    [0m [90m 14 |[39m   test([32m'handles home path'[39m[33m,[39m () 
[33m=>[39m {
     [90m 15 |[39m     [36mconst[39m result [33m=[39m 
getPageTitle([32m'/'[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 16 |[39m     
expect(result)[33m.[39mtoBeDefined()[33m;[39m
     [90m    |[39m                    [31m[1m^[22m[39m
     [90m 17 |[39m   })[33m;[39m
     [90m 18 |[39m
     [90m 19 |[39m   test([32m'handles user profile path with 
pattern'[39m[33m,[39m () [33m=>[39m {[0m

      at Object.toBeDefined (src/utils/getPageTitle.test.js:16:20)

  ΓùÅ getPageTitle ΓÇ║ handles paths with trailing slash

    expect(received).toBeDefined()

    Received: undefined

    [0m [90m 63 |[39m   test([32m'handles paths with trailing 
slash'[39m[33m,[39m () [33m=>[39m {
     [90m 64 |[39m     [36mconst[39m result [33m=[39m 
getPageTitle([32m'/dashboard/'[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 65 |[39m     
expect(result)[33m.[39mtoBeDefined()[33m;[39m
     [90m    |[39m                    [31m[1m^[22m[39m
     [90m 66 |[39m   })[33m;[39m
     [90m 67 |[39m })[33m;[39m
     [90m 68 |[39m[0m

      at Object.toBeDefined (src/utils/getPageTitle.test.js:65:20)

  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 37 |[39m   test([32m'renders without crashing with Sessions data'[39m[33m,[39m () [33m=>[39m {
     [90m 38 |[39m     render(
    [31m[1m>[22m[39m[90m 39 |[39m       [33m<[39m[33mPieChart[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 40 |[39m         data[33m=[39m{mockSessionsData}
     [90m 41 |[39m         selectedValue[33m=[39m[32m"Sessions"[39m
     [90m 42 |[39m         selectedValue3[33m=[39m[32m""[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/utils/PieCharts.test.js:39: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 36 |[39m
     [90m 37 |[39m   test([32m'renders without crashing with Sessions data'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 38 |[39m     render(
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 39 |[39m       [33m<[39m[33mPieChart[39m
     [90m 40 |[39m         data[33m=[39m{mockSessionsData}
     [90m 41 |[39m         selectedValue[33m=[39m[32m"Sessions"[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/utils/PieCharts.test.js:38:5)

  console.error
    Warning: Failed prop type: The prop `data` is marked as required in `PieChart`, but its value is `null`.
        at data (C:\User-Insight-Tracking-UI\src\utils\PieCharts.js:6:21)

    [0m [90m 70 |[39m   test([32m'displays "No Data found" message when data is null'[39m[33m,[39m () [33m=>[39m {
     [90m 71 |[39m     render(
    [31m[1m>[22m[39m[90m 72 |[39m       [33m<[39m[33mPieChart[39m
     [90m    |[39m       [31m[1m^[22m[39m
     [90m 73 |[39m         data[33m=[39m{[36mnull[39m}
     [90m 74 |[39m         selectedValue[33m=[39m[32m"Sessions"[39m
     [90m 75 |[39m         selectedValue3[33m=[39m[32m""[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/utils/PieCharts.test.js:72:7)

  console.error
    Warning: Failed prop type: The prop `data` is marked as required in `PieChart`, but its value is `undefined`.
        at data (C:\User-Insight-Tracking-UI\src\utils\PieCharts.js:6:21)

    [0m [90m 231 |[39m   test([32m'handles undefined data gracefully'[39m[33m,[39m () [33m=>[39m {
     [90m 232 |[39m     render(
    [31m[1m>[22m[39m[90m 233 |[39m       [33m<[39m[33mPieChart[39m
     [90m     |[39m       [31m[1m^[22m[39m
     [90m 234 |[39m         data[33m=[39m{undefined}
     [90m 235 |[39m         selectedValue[33m=[39m[32m"Sessions"[39m
     [90m 236 |[39m         selectedValue3[33m=[39m[32m""[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/utils/PieCharts.test.js:233:7)

FAIL src/utils/PieCharts.test.js (7.841 s)
  PieChart Component
    ├ù renders without crashing with Sessions data (320 ms)
    ├ù renders without crashing with Calls data (12 ms)
    ├ù renders without crashing with Applications data (11 ms)
    ΓêÜ displays "No Data found" message when data is null (17 ms)
    ΓêÜ displays "No Data found" message when data is empty array (7 ms)
    ΓêÜ displays "No Data found" message when Results is missing (5 ms)
    ├ù displays "No Data found" message when Results is empty (6 ms)
    ΓêÜ handles Sessions selectedValue correctly (8 ms)
    ΓêÜ handles Calls selectedValue correctly (7 ms)
    ΓêÜ handles default case (Applications) correctly (7 ms)
    ΓêÜ renders chart with correct height style (10 ms)
    ΓêÜ renders chart with white background (6 ms)
    ├ù re-renders when data changes (7 ms)
    ├ù re-renders when selectedValue changes (7 ms)
    ├ù re-renders when selectedValue3 changes (6 ms)
    ΓêÜ handles undefined data gracefully (13 ms)
    ├ù processes Sessions data correctly (7 ms)
    ├ù processes Calls data correctly (7 ms)
    ├ù processes Applications data correctly (6 ms)

  ΓùÅ PieChart Component ΓÇ║ renders without crashing with Sessions data

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 43 |[39m       [33m/[39m[33m>[39m
     [90m 44 |[39m     )[33m;[39m
    [31m[1m>[22m[39m[90m 45 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m    |[39m                   [31m[1m^[22m[39m
     [90m 46 |[39m   })[33m;[39m
     [90m 47 |[39m
     [90m 48 |[39m   test([32m'renders without crashing with Calls 
data'[39m[33m,[39m () [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.getByText (src/utils/PieCharts.test.js:45:19)

  ΓùÅ PieChart Component ΓÇ║ renders without crashing with Calls data

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 54 |[39m       [33m/[39m[33m>[39m
     [90m 55 |[39m     )[33m;[39m
    [31m[1m>[22m[39m[90m 56 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m    |[39m                   [31m[1m^[22m[39m
     [90m 57 |[39m   })[33m;[39m
     [90m 58 |[39m
     [90m 59 |[39m   test([32m'renders without crashing with Applications 
data'[39m[33m,[39m () [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.getByText (src/utils/PieCharts.test.js:56:19)

  ΓùÅ PieChart Component ΓÇ║ renders without crashing with Applications data

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 65 |[39m       [33m/[39m[33m>[39m
     [90m 66 |[39m     )[33m;[39m
    [31m[1m>[22m[39m[90m 67 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m    |[39m                   [31m[1m^[22m[39m
     [90m 68 |[39m   })[33m;[39m
     [90m 69 |[39m
     [90m 70 |[39m   test([32m'displays "No Data found" message when data 
is null'[39m[33m,[39m () [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.getByText (src/utils/PieCharts.test.js:67:19)

  ΓùÅ PieChart Component ΓÇ║ displays "No Data found" message when Results is 
empty

    TestingLibraryElementError: Unable to find an element with the text: No 
Data found for selected filters. This could be because the text is broken up 
by multiple elements. In this case, you can provide a function for your text 
matcher to make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 109 |[39m       [33m/[39m[33m>[39m
     [90m 110 |[39m     )[33m;[39m
    [31m[1m>[22m[39m[90m 111 |[39m     
expect(screen[33m.[39mgetByText([32m'No Data found for selected 
filters'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                   [31m[1m^[22m[39m
     [90m 112 |[39m   })[33m;[39m
     [90m 113 |[39m
     [90m 114 |[39m   test([32m'handles Sessions selectedValue 
correctly'[39m[33m,[39m () [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.getByText (src/utils/PieCharts.test.js:111:19)

  ΓùÅ PieChart Component ΓÇ║ re-renders when data changes

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 177 |[39m       [33m/[39m[33m>[39m
     [90m 178 |[39m     )[33m;[39m
    [31m[1m>[22m[39m[90m 179 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                   [31m[1m^[22m[39m
     [90m 180 |[39m
     [90m 181 |[39m     rerender(
     [90m 182 |[39m       [33m<[39m[33mPieChart[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.getByText (src/utils/PieCharts.test.js:179:19)

  ΓùÅ PieChart Component ΓÇ║ re-renders when selectedValue changes

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 197 |[39m       [33m/[39m[33m>[39m
     [90m 198 |[39m     )[33m;[39m
    [31m[1m>[22m[39m[90m 199 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                   [31m[1m^[22m[39m
     [90m 200 |[39m
     [90m 201 |[39m     rerender(
     [90m 202 |[39m       [33m<[39m[33mPieChart[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.getByText (src/utils/PieCharts.test.js:199:19)

  ΓùÅ PieChart Component ΓÇ║ re-renders when selectedValue3 changes

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 217 |[39m       [33m/[39m[33m>[39m
     [90m 218 |[39m     )[33m;[39m
    [31m[1m>[22m[39m[90m 219 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                   [31m[1m^[22m[39m
     [90m 220 |[39m
     [90m 221 |[39m     rerender(
     [90m 222 |[39m       [33m<[39m[33mPieChart[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.getByText (src/utils/PieCharts.test.js:219:19)

  ΓùÅ PieChart Component ΓÇ║ processes Sessions data correctly

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 250 |[39m     [90m// Chart should be rendered, not the "No 
Data" message[39m
     [90m 251 |[39m     expect(screen[33m.[39mqueryByText([32m'No Data 
found for selected 
filters'[39m))[33m.[39mnot[33m.[39mtoBeInTheDocument()[33m;[39m
    [31m[1m>[22m[39m[90m 252 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                   [31m[1m^[22m[39m
     [90m 253 |[39m   })[33m;[39m
     [90m 254 |[39m
     [90m 255 |[39m   test([32m'processes Calls data 
correctly'[39m[33m,[39m () [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.getByText (src/utils/PieCharts.test.js:252:19)

  ΓùÅ PieChart Component ΓÇ║ processes Calls data correctly

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 263 |[39m     [90m// Chart should be rendered, not the "No 
Data" message[39m
     [90m 264 |[39m     expect(screen[33m.[39mqueryByText([32m'No Data 
found for selected 
filters'[39m))[33m.[39mnot[33m.[39mtoBeInTheDocument()[33m;[39m
    [31m[1m>[22m[39m[90m 265 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                   [31m[1m^[22m[39m
     [90m 266 |[39m   })[33m;[39m
     [90m 267 |[39m
     [90m 268 |[39m   test([32m'processes Applications data 
correctly'[39m[33m,[39m () [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.getByText (src/utils/PieCharts.test.js:265:19)

  ΓùÅ PieChart Component ΓÇ║ processes Applications data correctly

    TestingLibraryElementError: Unable to find an element with the text: 
Mocked ApexChart. This could be because the text is broken up by multiple 
elements. In this case, you can provide a function for your text matcher to 
make your matcher more flexible.

    Ignored nodes: comments, script, style
    [36m<body>[39m
      [36m<div>[39m
        [36m<div[39m
          [33mstyle[39m=[32m"height: calc(100vh - 160px); background: 
rgb(255, 255, 255);"[39m
        [36m>[39m
          [36m<div[39m
            [33mdata-testid[39m=[32m"mock-chart"[39m
          [36m>[39m
            [0mChart Rendered[0m
          [36m</div>[39m
        [36m</div>[39m
      [36m</div>[39m
    [36m</body>[39m

    [0m [90m 276 |[39m     [90m// Chart should be rendered, not the "No 
Data" message[39m
     [90m 277 |[39m     expect(screen[33m.[39mqueryByText([32m'No Data 
found for selected 
filters'[39m))[33m.[39mnot[33m.[39mtoBeInTheDocument()[33m;[39m
    [31m[1m>[22m[39m[90m 278 |[39m     
expect(screen[33m.[39mgetByText([32m'Mocked 
ApexChart'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                   [31m[1m^[22m[39m
     [90m 279 |[39m   })[33m;[39m
     [90m 280 |[39m })[33m;[39m
     [90m 281 |[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.getByText (src/utils/PieCharts.test.js:278:19)

  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   test([32m'renders without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 19 |[39m     render(
     [90m    |[39m     [31m[1m^[22m[39m
     [90m 20 |[39m       [33m<[39m[33mDropdown[39m
     [90m 21 |[39m         dropDownData[33m=[39m{mockDropDownData}
     [90m 22 |[39m         dropDownKeys[33m=[39m{mockDropDownKeys}[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/utils/Dropdown.test.js:19:5)

  console.error
    Error: Uncaught [TypeError: Cannot read properties of null (reading '0')]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\utils\Dropdown.test.js:105: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) {
      detail: TypeError: Cannot read properties of null (reading '0')
          at Dropdown (C:\User-Insight-Tracking-UI\src\utils\Dropdown.js:10:17)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\utils\Dropdown.test.js:105: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),
      type: 'unhandled exception'
    }

    [0m [90m 103 |[39m
     [90m 104 |[39m   test([32m'handles null dropDownData'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 105 |[39m     render(
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 106 |[39m       [33m<[39m[33mDropdown[39m
     [90m 107 |[39m         dropDownData[33m=[39m{[36mnull[39m}
     [90m 108 |[39m         dropDownKeys[33m=[39m{mockDropDownKeys}[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/utils/Dropdown.test.js:105:5)

  console.error
    Error: Uncaught [TypeError: Cannot read properties of null (reading '0')]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\utils\Dropdown.test.js:105: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) {
      detail: TypeError: Cannot read properties of null (reading '0')
          at Dropdown (C:\User-Insight-Tracking-UI\src\utils\Dropdown.js:10:17)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\utils\Dropdown.test.js:105: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),
      type: 'unhandled exception'
    }

    [0m [90m 103 |[39m
     [90m 104 |[39m   test([32m'handles null dropDownData'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 105 |[39m     render(
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 106 |[39m       [33m<[39m[33mDropdown[39m
     [90m 107 |[39m         dropDownData[33m=[39m{[36mnull[39m}
     [90m 108 |[39m         dropDownKeys[33m=[39m{mockDropDownKeys}[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/utils/Dropdown.test.js:105: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 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
    The above error occurred in the <Dropdown> component:
    
        at dropDownData (C:\User-Insight-Tracking-UI\src\utils\Dropdown.js:5:36)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 103 |[39m
     [90m 104 |[39m   test([32m'handles null dropDownData'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 105 |[39m     render(
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 106 |[39m       [33m<[39m[33mDropdown[39m
     [90m 107 |[39m         dropDownData[33m=[39m{[36mnull[39m}
     [90m 108 |[39m         dropDownKeys[33m=[39m{mockDropDownKeys}[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/utils/Dropdown.test.js:105:5)

FAIL src/utils/Dropdown.test.js (13.839 s)
  Dropdown Component
    ΓêÜ renders without crashing (573 ms)
    ΓêÜ displays default value from first item in dropDownData (59 ms)
    ΓêÜ displays custom value when value prop is provided (70 ms)
    ├ù displays title when no value is selected (58 ms)
    ├ù calls onSelectChange when option is selected (1 ms)
    ├ù renders all dropdown options (252 ms)
    ΓêÜ handles empty dropDownData array (49 ms)
    ├ù handles null dropDownData (124 ms)
    ΓêÜ handles undefined dropDownData (62 ms)
    ├ù uses activityType special handling when key is activityType (83 ms)
    ΓêÜ does not call onSelectChange when it is null (193 ms)
    ΓêÜ updates value when dropdown selection changes (84 ms)
    ΓêÜ renders FormControl with correct size (27 ms)
    ├ù handles items with string IDs (99 ms)
    ΓêÜ renders with Box wrapper (24 ms)

  ΓùÅ Dropdown Component ΓÇ║ displays title when no value is selected

    expect(element).toHaveTextContent()

    Expected element to have text content:
      Select Option
    Received:
      ΓÇï

    [0m [90m 54 |[39m       [33m/[39m[33m>[39m
     [90m 55 |[39m     )[33m;[39m
    [31m[1m>[22m[39m[90m 56 |[39m     expect(screen[33m.[39mgetByRole(
[32m'combobox'[39m))[33m.[39mtoHaveTextContent([32m'Select 
Option'[39m)[33m;[39m
     [90m    |[39m                                          
[31m[1m^[22m[39m
     [90m 57 |[39m   })[33m;[39m
     [90m 58 |[39m
     [90m 59 |[39m   test([32m'calls onSelectChange when option is 
selected'[39m[33m,[39m () [33m=>[39m {[0m

      at Object.toHaveTextContent (src/utils/Dropdown.test.js:56:42)

  ΓùÅ Dropdown Component ΓÇ║ calls onSelectChange when option is selected

    ReferenceError: jest is not defined

    [0m [90m 58 |[39m
     [90m 59 |[39m   test([32m'calls onSelectChange when option is 
selected'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 60 |[39m     [36mconst[39m mockOnSelectChange 
[33m=[39m jest[33m.[39mfn()[33m;[39m
     [90m    |[39m                                [31m[1m^[22m[39m
     [90m 61 |[39m     render(
     [90m 62 |[39m       [33m<[39m[33mDropdown[39m
     [90m 63 |[39m         dropDownData[33m=[39m{mockDropDownData}[0m

      at Object.jest (src/utils/Dropdown.test.js:60:32)

  ΓùÅ Dropdown Component ΓÇ║ renders all dropdown options

    TestingLibraryElementError: Found multiple elements with the text: Option 1

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":r4:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33maria-labelledby[39m=[32m"select-label"[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
      [0mOption 1[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"Option 1"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mOption 1[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"MuiBox-root css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-1o9bz88-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":r4:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33maria-labelledby[39m=[32m"select-label"[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
                [0mOption 1[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"Option 1"[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
      [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
            [33maria-labelledby[39m=[32m"select-label"[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":r4:"[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"Option 1"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mOption 1[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"Option 2"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mOption 2[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"Option 3"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mOption 3[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 87 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
     [90m 88 |[39m
    [31m[1m>[22m[39m[90m 89 |[39m     
expect(screen[33m.[39mgetByText([32m'Option 
1'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m    |[39m                   [31m[1m^[22m[39m
     [90m 90 |[39m     expect(screen[33m.[39mgetByText([32m'Option 
2'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 91 |[39m     expect(screen[33m.[39mgetByText([32m'Option 
3'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 92 |[39m   })[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/utils/Dropdown.test.js:89:19)

  ΓùÅ Dropdown Component ΓÇ║ handles null dropDownData

    TypeError: Cannot read properties of null (reading '0')

    [0m [90m  8 |[39m
     [90m  9 |[39m   [36mconst[39m [selectedValue[33m,[39m 
setSelectedValue] [33m=[39m [33mReact[39m[33m.[39museState(
    [31m[1m>[22m[39m[90m 10 |[39m     
dropDownData[[35m0[39m][33m?[39m[33m.[39m[33mName[39m [33m||[39m 
[32m""[39m
     [90m    |[39m                 [31m[1m^[22m[39m
     [90m 11 |[39m   )[33m;[39m
     [90m 12 |[39m
     [90m 13 |[39m  [33mReact[39m[33m.[39museEffect(() [33m=>[39m {[0m

      at Dropdown (src/utils/Dropdown.js:10:17)
      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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/utils/Dropdown.test.js:105:5)

  ΓùÅ Dropdown Component ΓÇ║ uses activityType special handling when key is 
activityType

    expect(element).toHaveTextContent()

    Expected element to have text content:
      Option 3
    Received:
      Option 1

    [0m [90m 134 |[39m     )[33m;[39m
     [90m 135 |[39m
    [31m[1m>[22m[39m[90m 136 |[39m     expect(screen[33m.[39mgetByRole(
[32m'combobox'[39m))[33m.[39mtoHaveTextContent([32m'Option 
3'[39m)[33m;[39m
     [90m     |[39m                                          
[31m[1m^[22m[39m
     [90m 137 |[39m   })[33m;[39m
     [90m 138 |[39m
     [90m 139 |[39m   test([32m'does not call onSelectChange when it is 
null'[39m[33m,[39m () [33m=>[39m {[0m

      at Object.toHaveTextContent (src/utils/Dropdown.test.js:136:42)

  ΓùÅ Dropdown Component ΓÇ║ handles items with string IDs

    TestingLibraryElementError: Found multiple elements with the text: String 
Option 1

    Here are the matching elements:

    Ignored nodes: comments, script, style
    [36m<div[39m
      [33maria-controls[39m=[32m":rb:"[39m
      [33maria-expanded[39m=[32m"true"[39m
      [33maria-haspopup[39m=[32m"listbox"[39m
      [33maria-labelledby[39m=[32m"select-label"[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
      [0mString Option 1[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"String Option 1"[39m
      [33mrole[39m=[32m"option"[39m
      [33mtabindex[39m=[32m"0"[39m
    [36m>[39m
      [0mString Option 1[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"MuiBox-root css-0"[39m
        [36m>[39m
          [36m<div[39m
            [33mclass[39m=[32m"MuiFormControl-root 
css-1o9bz88-MuiFormControl-root"[39m
          [36m>[39m
            [36m<div[39m
              [33mclass[39m=[32m"MuiInputBase-root MuiOutlinedInput-root 
MuiInputBase-colorPrimary Mui-focused MuiInputBase-formControl 
MuiInputBase-sizeSmall 
css-1yk1gt9-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"[39m
            [36m>[39m
              [36m<div[39m
                [33maria-controls[39m=[32m":rb:"[39m
                [33maria-expanded[39m=[32m"true"[39m
                [33maria-haspopup[39m=[32m"listbox"[39m
                [33maria-labelledby[39m=[32m"select-label"[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
                [0mString Option 1[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"String Option 1"[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
      [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
            [33maria-labelledby[39m=[32m"select-label"[39m
            [33mclass[39m=[32m"MuiList-root MuiList-padding MuiMenu-list 
css-6hp17o-MuiList-root-MuiMenu-list"[39m
            [33mid[39m=[32m":rb:"[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"String Option 1"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"0"[39m
            [36m>[39m
              [0mString Option 1[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"String Option 2"[39m
              [33mrole[39m=[32m"option"[39m
              [33mtabindex[39m=[32m"-1"[39m
            [36m>[39m
              [0mString Option 2[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 206 |[39m     fireEvent[33m.[39mmouseDown(select)[33m;[39m
     [90m 207 |[39m
    [31m[1m>[22m[39m[90m 208 |[39m     
expect(screen[33m.[39mgetByText([32m'String Option 
1'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m     |[39m                   [31m[1m^[22m[39m
     [90m 209 |[39m     expect(screen[33m.[39mgetByText([32m'String 
Option 2'[39m))[33m.[39mtoBeInTheDocument()[33m;[39m
     [90m 210 |[39m   })[33m;[39m
     [90m 211 |[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/utils/Dropdown.test.js:208:19)

  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 (15.59 s)
  SmartDateSelector Component
    ΓêÜ should render select dropdown (493 ms)
    ├ù should have preset options (266 ms)
    ├ù should call onApply when Today is selected (144 ms)
    ΓêÜ should call onApply when Current Week is selected (166 ms)
    ΓêÜ should call onApply when Current Month is selected (144 ms)
    ├ù should pass date range object to onApply (119 ms)
    ├ù should set displayLabel to Today (116 ms)
    ΓêÜ should accept initialValue prop (46 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)

  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)

FAIL src/components/ToggleBtn.test.js (18.658 s)
  ToggleBtn Component
    ΓêÜ should render toggle button (425 ms)
    ΓêÜ should display "Show Today's Data" when showLiveData is true (49 ms)
    ΓêÜ should display "Show Live Data" when showLiveData is false (42 ms)
    ├ù should call onToggleData when clicked (5006 ms)
    ΓêÜ should be disabled when disabled prop is true (38 ms)
    ΓêÜ should be enabled when disabled prop is false or undefined (30 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: 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)

  console.error
    Warning: Failed prop type: Invalid prop `field.Id` of type `number` supplied to `RadioInput`, expected `string`.
        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)

    [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.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)

PASS src/tests/InputFactory.test.js (5.094 s)
  InputFactory
    ΓêÜ renders text input correctly (240 ms)
    ΓêÜ renders number input correctly (45 ms)
    ΓêÜ renders email input correctly (19 ms)
    ΓêÜ renders phone input correctly (207 ms)
    ΓêÜ renders textarea input correctly (77 ms)
    ΓêÜ renders date input correctly (46 ms)
    ΓêÜ renders select input correctly (104 ms)
    ΓêÜ renders checkbox input correctly (83 ms)
    ΓêÜ renders radio input correctly (55 ms)
    ΓêÜ returns null for unsupported field type (4 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 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
  CallDetails component (ESM-compatible tests)
    ΓêÜ loads data on mount and passes it to CommonTable (2000 ms)
    ΓêÜ renders CallDetails component (52 ms)
    ΓêÜ renders SmartDateSelector component (56 ms)
    ΓêÜ handles API error and hides loader (149 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
  Profile Component
    ΓêÜ renders initials when image is not provided (135 ms)
    ΓêÜ renders employee name, ID, and location (31 ms)
    ΓêÜ does not render initials when image is provided (60 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
  PopupForFilter Component
    ΓêÜ renders status and role checkboxes (217 ms)
    ΓêÜ clears all filters when CLEAR ALL is clicked (104 ms)
    ΓêÜ calls getUsersTable and onClose when Apply Filters is clicked (95 ms)
    ΓêÜ calls onClose when Cancel is clicked (62 ms)
    ΓêÜ shows Loader while applying filters (68 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
  RoleChangedPopup
    ΓêÜ renders dialog when open is true (264 ms)
    ΓêÜ does not render dialog when open is false (20 ms)
    ΓêÜ calls onLogout when "Logout Now" button is clicked (95 ms)
    ΓêÜ shows countdown and decrements seconds (64 ms)
    ΓêÜ calls onLogout automatically after countdown (47 ms)
    ΓêÜ resets countdown when reopened (94 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 47 |[39m     [36mconst[39m onExpire [33m=[39m jest[33m.[39mfn()[33m;[39m
     [90m 48 |[39m
    [31m[1m>[22m[39m[90m 49 |[39m     [36mawait[39m act([36masync[39m () [33m=>[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
     [90m 51 |[39m     })[33m;[39m
     [90m 52 |[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-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 Object.act (src/tests/useTokenExpiryMonitor.test.js:49: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 48 |[39m
     [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
     [90m 51 |[39m     })[33m;[39m
     [90m 52 |[39m
     [90m 53 |[39m     jest[33m.[39mrunOnlyPendingTimers()[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 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 renderHook (src/tests/useTokenExpiryMonitor.test.js:50:7)
      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 Object.act (src/tests/useTokenExpiryMonitor.test.js:49:11)

  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>)
        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 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: 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>)
        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 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: 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>)
        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 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: 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)
      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)
      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)

PASS src/tests/useTokenExpiryMonitor.test.js
  useTokenExpiryMonitor
    ΓêÜ should call onExpire if acquireTokenSilent fails (117 ms)
    ΓêÜ should show dialog and start countdown if token is near expiry (439 ms)
    ΓêÜ should call onExpire if handleRenew fails (41 ms)
    ΓêÜ should call onExpire after countdown reaches zero (413 ms)
    Γùï skipped should hide dialog and call onRenew after handleRenew

  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)

  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)

PASS src/tests/ToggleBtn.test.js
  ToggleBtn Component
    ΓêÜ should render the button with "Show Today's Data" text when 
showLiveData is true (158 ms)
    ΓêÜ should render the button with "Show Live Data" text when showLiveData 
is false (40 ms)
    ΓêÜ should call onToggleData when the button is clicked (49 ms)
    ΓêÜ should disable the button when disabled prop is true (32 ms)
    ΓêÜ should enable the button when disabled prop is false (34 ms)

PASS src/tests/BarChart.test.js
  BarChart
    ΓêÜ renders with Sessions and "Active" selectedValue3 (91 ms)
    ΓêÜ renders with Sessions and "Idle" selectedValue3 (8 ms)
    ΓêÜ renders with Sessions and default selectedValue3 (7 ms)
    ΓêÜ renders with Calls (7 ms)
    ΓêÜ renders with Applications (default) (6 ms)
    ΓêÜ shows fallback message when no data (7 ms)
    ΓêÜ renders with Sessions and "Sleep" selectedValue3 (6 ms)
    ΓêÜ renders with Sessions and "Login" selectedValue3 (5 ms)
    ΓêÜ renders with Sessions and "Logout" selectedValue3 (6 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 (56 ms)
    ΓêÜ should have loader class (7 ms)
    ΓêÜ should render without props (6 ms)
    ΓêÜ should render multiple loaders if needed (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 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: 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)

PASS src/tests/BarChartStack.test.js
  BarChartStack
    ΓêÜ renders bar chart for Sessions (136 ms)
    ΓêÜ renders bar chart for Calls (9 ms)
    ΓêÜ renders bar chart for default view (Applications) (24 ms)
    ΓêÜ shows fallback when no data (9 ms)

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

PASS src/tests/DateRangePicker.test.js
  CustomDateRangePicker Component
    ΓêÜ initializes with selDate when provided (68 ms)
    ΓêÜ calls onApply when Apply button is clicked (21 ms)
    ΓêÜ calls onClose when Close button is clicked (9 ms)
    ΓêÜ calls onChange when Clear button is clicked (17 ms)
    ΓêÜ does not call onChange if disableDefaultRange is true on mount (7 ms)
    ΓêÜ disables Apply and shows toast when range > 30 days (9 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  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)
      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)

  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/Loader.test.js
  Loader Component
    ΓêÜ renders the loader with role status (86 ms)
    ΓêÜ contains the spinner element (14 ms)

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

PASS src/constants/dateUtils.test.js
  dateUtils - getDefaultDateRange
    ΓêÜ should return an object with startDate and endDate (6 ms)
    ΓêÜ should return Date objects (2 ms)
    ΓêÜ should return current month range (1 ms)
    ΓêÜ should have endDate as today
    ΓêÜ should have startDate before endDate (1 ms)
    ΓêÜ should not have undefined values (1 ms)
    ΓêÜ should return valid range for current month (2 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  6 |[39m describe([32m'Unauthorized Component'[39m[33m,[39m () [33m=>[39m {
     [90m  7 |[39m   test([32m'renders without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m  8 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mUnauthorized[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m  9 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 10 |[39m   })[33m;[39m
     [90m 11 |[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/Unauthorized.test.js:8:27)

PASS src/pages/Unauthorized.test.js
  Unauthorized Component
    ΓêÜ renders without crashing (55 ms)
    ΓêÜ displays unauthorized message (12 ms)
    ΓêÜ renders unauthorized icon image (7 ms)
    ΓêÜ has correct container class (7 ms)
    ΓêÜ image has correct alt text (7 ms)
    ΓêÜ renders span with permission message (6 ms)
    ΓêÜ component structure has image and span (10 ms)
    ΓêÜ renders as a functional component (4 ms)
    ΓêÜ does not have any interactive elements (7 ms)
    ΓêÜ image src is defined (4 ms)
    ΓêÜ message is descriptive (5 ms)

PASS src/tests/ConvertHHMMSStoHHMM.test.js
  convertTimeFormat
    ΓêÜ should convert time in HH:mm:ss format to HH:mm format (9 ms)
    ΓêÜ should handle midnight time correctly (1 ms)
    ΓêÜ should handle times with seconds not equal to 00 (1 ms)
    ΓêÜ should handle invalid time strings gracefully (22 ms)
    ΓêÜ should handle empty string input (2 ms)
    ΓêÜ should handle incorrect time format input (2 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  6 |[39m describe([32m'PageNotFound Component'[39m[33m,[39m () [33m=>[39m {
     [90m  7 |[39m   test([32m'renders without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m  8 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mPageNotFound[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m  9 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 10 |[39m   })[33m;[39m
     [90m 11 |[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/PageNotFound.test.js:8:27)

PASS src/pages/PageNotFound.test.js
  PageNotFound Component
    ΓêÜ renders without crashing (51 ms)
    ΓêÜ displays page not found text (16 ms)
    ΓêÜ renders error icon image (10 ms)
    ΓêÜ has correct container class (6 ms)
    ΓêÜ image has correct alt text (9 ms)
    ΓêÜ renders span with text (6 ms)
    ΓêÜ component structure has image and span (9 ms)
    ΓêÜ renders as a functional component (5 ms)
    ΓêÜ does not have any buttons (5 ms)
    ΓêÜ image src is defined (5 ms)

PASS src/constants/apiEndPoints.test.js
  API Endpoints
    ΓêÜ callDetailsApi is defined and starts with /api/ (5 ms)
    ΓêÜ employeeWorkingTimeApi is defined and starts with /api/ (1 ms)
    ΓêÜ runningApplicationsApi is defined and starts with /api/ (1 ms)
    ΓêÜ systemLoginDetailsApi is defined and starts with /api/ (1 ms)
    ΓêÜ systemSleepDetailsApi is defined and starts with /api/ (1 ms)
    ΓêÜ graphApi is defined and starts with /api/ (1 ms)
    ΓêÜ dashboardTableApi is defined and starts with /api/ (1 ms)
    ΓêÜ UsersApi is defined and starts with /api/ (1 ms)
    ΓêÜ activityPageDropdown is defined and starts with /api/ (1 ms)
    ΓêÜ activityPage is defined and starts with /api/ (20 ms)
    ΓêÜ activityChartsReport is defined and starts with /api/
    ΓêÜ CallAcivityReports is defined and starts with /api/
    ΓêÜ sessionReports is defined and starts with /api/ (1 ms)
    ΓêÜ logActivityReport is defined and starts with /api/ (1 ms)
    ΓêÜ getActivityReportFilterDrodowns is defined and starts with /api/
    ΓêÜ getAllUsers is defined and starts with /api/
    ΓêÜ createModifyRoles is defined and starts with /api/ (1 ms)
    ΓêÜ UserActiveInactive is defined and starts with /api/ (1 ms)
    ΓêÜ deleteUser is defined and starts with /api/
    ΓêÜ addUser is defined and starts with /api/
    ΓêÜ updateUser is defined and starts with /api/ (2 ms)
    ΓêÜ userRolesPermissions is defined and starts with /api/ (1 ms)
    ΓêÜ getUserSummaryDetails is defined and starts with /api/
    ΓêÜ getBrowsingDetails is defined and starts with /api/
    ΓêÜ top10bottom10 is defined and starts with /api/ (1 ms)
    ΓêÜ userLocation is defined and starts with /api/ (1 ms)
    ΓêÜ getRunningApplicationDetails is defined and starts with /api/ (1 ms)
    ΓêÜ getUserPermissions is defined and starts with /api/ (1 ms)
    ΓêÜ getScreenshots is defined and starts with /api/
    ΓêÜ getAllMenu is defined and starts with /api/
    ΓêÜ getRoleDetails is defined and starts with /api/ (1 ms)
    ΓêÜ getManageRole is defined and starts with /api/ (1 ms)
    ΓêÜ updateRolePermission is defined and starts with /api/
    ΓêÜ getAuditLogs is defined and starts with /api/
    ΓêÜ deleteRole is defined and starts with /api/
    ΓêÜ smartSearch is defined and starts with /api/ (2 ms)
    ΓêÜ getGlobalConfig is defined and starts with /api/ (1 ms)
    ΓêÜ updateGlobalConfig is defined and starts with /api/
    ΓêÜ setGlobalConfigFieldStatus is defined and starts with /api/
    ΓêÜ all exported endpoints are strings (10 ms)
    ΓêÜ all endpoints start with /api/ (5 ms)

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

PASS src/constants/userStatus.test.js
  User Status Constants
    UserStatus object
      ΓêÜ is defined (4 ms)
      ΓêÜ has Active property with value 22 (1 ms)
      ΓêÜ has Deleted property with value 24
      ΓêÜ has Deactive property with value 23
      ΓêÜ only has three properties (1 ms)
    UserStatusValues array
      ΓêÜ is defined and is an array (1 ms)
      ΓêÜ has three elements (1 ms)
      ΓêÜ contains Active status (1 ms)
      ΓêÜ contains Deleted status (1 ms)
      ΓêÜ contains Deactive status
      ΓêÜ all elements have key and value properties (3 ms)
    UserRoles array
      ΓêÜ is defined and is an array (1 ms)
      ΓêÜ has four elements (1 ms)
      ΓêÜ contains Admin role (1 ms)
      ΓêÜ contains Super Admin role (1 ms)
      ΓêÜ contains System Admin role (1 ms)
      ΓêÜ contains User role (1 ms)
      ΓêÜ all elements have key and value properties (3 ms)
      ΓêÜ all role keys are unique (4 ms)
    UserRoleHeirarchy array
      ΓêÜ is defined and is an array (1 ms)
      ΓêÜ has three elements
      ΓêÜ contains Full View (1 ms)
      ΓêÜ contains Hierarchical View (1 ms)
      ΓêÜ contains Individual View (1 ms)
      ΓêÜ all elements have key and value properties (2 ms)
      ΓêÜ keys are sequential starting from 1 (1 ms)
    Integration tests
      ΓêÜ user status values match UserStatus object (1 ms)
      ΓêÜ all arrays are non-empty (2 ms)
      ΓêÜ no overlapping keys between status and roles

PASS src/utils/dateFormat.test.js
  formatDateToLocalTime
    ΓêÜ returns empty string for null input (4 ms)
    ΓêÜ returns empty string for undefined input (1 ms)
    ΓêÜ returns empty string for empty string input
    ΓêÜ formats a valid ISO string (47 ms)
    ΓêÜ result contains time components (2 ms)
    ΓêÜ handles date without time (2 ms)
    ΓêÜ handles current date (2 ms)
    ΓêÜ result contains AM or PM (1 ms)
    ΓêÜ result contains year (1 ms)
    ΓêÜ handles midnight time (1 ms)
    ΓêÜ handles noon time (1 ms)
    ΓêÜ formatted output is a string (1 ms)

PASS src/constants/userConstants.test.js
  User Constants
    saveType object
      ΓêÜ is defined (5 ms)
      ΓêÜ has Save property with value 1 (1 ms)
      ΓêÜ has Update property with value 2 (1 ms)
      ΓêÜ only has two properties (1 ms)
      ΓêÜ all values are numbers (1 ms)
    consentType object
      ΓêÜ is defined (1 ms)
      ΓêÜ has DeleteRole property with value 1 (1 ms)
      ΓêÜ has Consent property with value 2
      ΓêÜ only has two properties
      ΓêÜ all values are numbers
    userRoles object
      ΓêÜ is defined
      ΓêÜ has SuperAdmin with correct structure (1 ms)
      ΓêÜ has Admin with correct structure (1 ms)
      ΓêÜ has User with correct structure (2 ms)
    userStatus object
      ΓêÜ is defined (1 ms)
      ΓêÜ has Active with correct structure (1 ms)
      ΓêÜ has Deactive with correct structure (1 ms)
      ΓêÜ has Deleted with correct structure (1 ms)
    userListStatusFilter array
      ΓêÜ is defined and is an array
      ΓêÜ has two elements (1 ms)
      ΓêÜ first element is All Users (2 ms)
      ΓêÜ second element is Active Users (1 ms)
    permissionTypes array
      ΓêÜ is defined and is an array (1 ms)
      ΓêÜ has three elements (1 ms)
      ΓêÜ first element is Full Access (1 ms)
      ΓêÜ second element is Read Only (2 ms)
      ΓêÜ third element is No Access (1 ms)
      ΓêÜ all elements have key and value properties (3 ms)
    Integration tests
      ΓêÜ saveType and consentType values are unique (2 ms)
      ΓêÜ all exported constants are defined (1 ms)

PASS src/utils/secondToTime.test.js
  secondToTimeConverter
    ΓêÜ converts 0 seconds correctly (5 ms)
    ΓêÜ converts 60 seconds to 1 minute (1 ms)
    ΓêÜ converts 3600 seconds to 1 hour (1 ms)
    ΓêÜ converts 3661 seconds correctly (1 ms)
    ΓêÜ converts 7200 seconds to 2 hours (1 ms)
    ΓêÜ converts 3599 seconds correctly (1 ms)
    ΓêÜ converts 86400 seconds (24 hours) correctly (1 ms)
    ΓêÜ converts 1 second correctly (1 ms)
    ΓêÜ converts 59 seconds correctly (1 ms)
    ΓêÜ converts 3723 seconds (1h 2m 3s) correctly (1 ms)
    ΓêÜ pads single digit hours (1 ms)
    ΓêÜ pads single digit minutes (1 ms)
    ΓêÜ pads single digit seconds
    ΓêÜ handles large numbers correctly (1 ms)
    ΓêÜ converts 120 seconds to 2 minutes

PASS src/tests/apiEndPoints.test.js
  Api End Points
    ΓêÜ should have correct Api url (5 ms)
    ΓêÜ should have correct Api url for callDetailsApi (1 ms)
    ΓêÜ should have correct Api url for employeeWorkingTimeApi (1 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
    ΓêÜ should have correct Api url for graphApi (1 ms)
    ΓêÜ should have correct Api url for users (1 ms)

PASS src/utils/calculatePercentages.test.js
  calculatePercentages
    ΓêÜ should calculate percentages for array of numbers (7 ms)
    ΓêÜ should handle single item (2 ms)
    ΓêÜ should handle array of numbers (2 ms)
    ΓêÜ should return percentages as strings with fixed decimals (2 ms)

PASS src/tests/CalculatePercentages.test.js
  calculatePercentages
    ΓêÜ should calculate percentages for a valid array of numbers (6 ms)
    ΓêÜ should handle an empty array (1 ms)

PASS src/tests/DateFormat.test.js
  formatDateToLocalTime
    ΓêÜ should return an empty string when no input is provided (3 ms)
    ΓêÜ should format the ISO date string to local time (1 ms)
    ΓêÜ should handle invalid date input gracefully (1 ms)

PASS src/tests/secondsToYMDconvertor.test.js
  secondsToYMDconvertor
    ΓêÜ should convert seconds to formatted date correctly (4 ms)
    ΓêÜ should handle a leap year correctly (1 ms)
    ΓêÜ should handle a date at the start of the year (1 ms)
    ΓêÜ should handle months and days with leading zeros correctly (1 ms)

PASS src/utils/secondsToYMDconvertor.test.js
  secondsToYMDconvertor
    ΓêÜ should convert 0 seconds correctly (5 ms)
    ΓêÜ should convert 86400 seconds (1 day)
    ΓêÜ should return formatted date string (2 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 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: `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 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-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/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: `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)

  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)
      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 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

PASS src/tests/GlobalConfig.test.js (39.27 s)
  GlobalConfig
    ΓêÜ renders Configuration Editor title (395 ms)
    ΓêÜ loads fields from API and displays them (419 ms)

PASS src/tests/PopupForAuditLogs.test.js (36.545 s)
  PopupForAuditLogs Component
    ΓêÜ displays the updated by text (192 ms)
    ΓêÜ calls togglePopup when close button is clicked (195 ms)

PASS src/pages/actionForPermission.test.js (44.935 s)
  ActionForPermission Component
    ΓêÜ renders action button (411 ms)
    ΓêÜ opens popover on button click (178 ms)
    ΓêÜ displays Edit option in menu (62 ms)
    ΓêÜ displays Delete option in menu (51 ms)
    ΓêÜ calls handleModifyPermissions on Edit click (52 ms)
    ΓêÜ calls handleModifyPermissions on Delete click (37 ms)
    ΓêÜ closes popover after Edit selection (47 ms)
    ΓêÜ works with different userData (15 ms)
    ΓêÜ does not call handleModifyPermissions on render (16 ms)
    ΓêÜ can open and close popover multiple times (37 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 34 |[39m
     [90m 35 |[39m   test([32m'Renders CommonTable without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 36 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 37 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 38 |[39m   })[33m;[39m
     [90m 39 |[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/CommonTable.test.js:36:27)

  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[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 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 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
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:36:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:36:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 34 |[39m
     [90m 35 |[39m   test([32m'Renders CommonTable without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 36 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 37 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 38 |[39m   })[33m;[39m
     [90m 39 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:36:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:36:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:36:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 34 |[39m
     [90m 35 |[39m   test([32m'Renders CommonTable without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 36 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 37 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 38 |[39m   })[33m;[39m
     [90m 39 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:36:27)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 34 |[39m
     [90m 35 |[39m   test([32m'Renders CommonTable without crashing'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 36 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 37 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 38 |[39m   })[33m;[39m
     [90m 39 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:36:27)

  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)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:45:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:45:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 43 |[39m       data[33m:[39m { [33mRecords[39m[33m:[39m [][33m,[39m [33mTotalRecords[39m[33m:[39m [35m0[39m }[33m,[39m
     [90m 44 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 45 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 46 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 47 |[39m   })[33m;[39m
     [90m 48 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:45:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:45:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:45:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 43 |[39m       data[33m:[39m { [33mRecords[39m[33m:[39m [][33m,[39m [33mTotalRecords[39m[33m:[39m [35m0[39m }[33m,[39m
     [90m 44 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 45 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 46 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 47 |[39m   })[33m;[39m
     [90m 48 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:45:27)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 43 |[39m       data[33m:[39m { [33mRecords[39m[33m:[39m [][33m,[39m [33mTotalRecords[39m[33m:[39m [35m0[39m }[33m,[39m
     [90m 44 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 45 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 46 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 47 |[39m   })[33m;[39m
     [90m 48 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:45:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:54:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:54:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 52 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mPageSize[39m[33m:[39m [35m25[39m }[33m,[39m
     [90m 53 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 54 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 55 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 56 |[39m   })[33m;[39m
     [90m 57 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:54:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:54:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:54:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 52 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mPageSize[39m[33m:[39m [35m25[39m }[33m,[39m
     [90m 53 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 54 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 55 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 56 |[39m   })[33m;[39m
     [90m 57 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:54:27)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 52 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mPageSize[39m[33m:[39m [35m25[39m }[33m,[39m
     [90m 53 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 54 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 55 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 56 |[39m   })[33m;[39m
     [90m 57 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:54:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:63:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:63:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 61 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mSortType[39m[33m:[39m [32m'DESC'[39m }[33m,[39m
     [90m 62 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 63 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 64 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 65 |[39m   })[33m;[39m
     [90m 66 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:63:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:63:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:63:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 61 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mSortType[39m[33m:[39m [32m'DESC'[39m }[33m,[39m
     [90m 62 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 63 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 64 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 65 |[39m   })[33m;[39m
     [90m 66 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:63:27)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 61 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mSortType[39m[33m:[39m [32m'DESC'[39m }[33m,[39m
     [90m 62 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 63 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 64 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 65 |[39m   })[33m;[39m
     [90m 66 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:63:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:72:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:72:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 70 |[39m       data[33m:[39m [36mnull[39m[33m,[39m
     [90m 71 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 72 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 73 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 74 |[39m   })[33m;[39m
     [90m 75 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:72:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:72:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:72:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 70 |[39m       data[33m:[39m [36mnull[39m[33m,[39m
     [90m 71 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 72 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 73 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 74 |[39m   })[33m;[39m
     [90m 75 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:72:27)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 70 |[39m       data[33m:[39m [36mnull[39m[33m,[39m
     [90m 71 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 72 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 73 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 74 |[39m   })[33m;[39m
     [90m 75 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:72:27)

  console.error
    Warning: Failed prop type: The prop `columns` is marked as required in `CommonTable`, but its value is `undefined`.
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)

    [0m [90m 79 |[39m       columns[33m:[39m undefined[33m,[39m
     [90m 80 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 81 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                                  [31m[1m^[22m[39m
     [90m 82 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 83 |[39m   })[33m;[39m
     [90m 84 |[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/components/CommonTable.test.js:81:34)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:81:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:81:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 79 |[39m       columns[33m:[39m undefined[33m,[39m
     [90m 80 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 81 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 82 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 83 |[39m   })[33m;[39m
     [90m 84 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:81:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:81:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:81:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 79 |[39m       columns[33m:[39m undefined[33m,[39m
     [90m 80 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 81 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 82 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 83 |[39m   })[33m;[39m
     [90m 84 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:81:27)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 79 |[39m       columns[33m:[39m undefined[33m,[39m
     [90m 80 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 81 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                           [31m[1m^[22m[39m
     [90m 82 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 83 |[39m   })[33m;[39m
     [90m 84 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:81:27)

  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: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:86:37)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:86:37)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 84 |[39m
     [90m 85 |[39m   test([32m'Handles component prop changes'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 86 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} component[33m=[39m[32m"Test1"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                                     [31m[1m^[22m[39m
     [90m 87 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 88 |[39m     rerender([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} component[33m=[39m[32m"Test2"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m 89 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:86:37)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:86:37)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:86:37)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 84 |[39m
     [90m 85 |[39m   test([32m'Handles component prop changes'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 86 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} component[33m=[39m[32m"Test1"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                                     [31m[1m^[22m[39m
     [90m 87 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 88 |[39m     rerender([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} component[33m=[39m[32m"Test2"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m 89 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:86:37)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 84 |[39m
     [90m 85 |[39m   test([32m'Handles component prop changes'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 86 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} component[33m=[39m[32m"Test1"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                                     [31m[1m^[22m[39m
     [90m 87 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 88 |[39m     rerender([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} component[33m=[39m[32m"Test2"[39m [33m/[39m[33m>[39m)[33m;[39m
     [90m 89 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:86:37)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:93:37)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:93:37)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 91 |[39m
     [90m 92 |[39m   test([32m'Handles data updates'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 93 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                                     [31m[1m^[22m[39m
     [90m 94 |[39m     [36mconst[39m newProps [33m=[39m {
     [90m 95 |[39m       [33m...[39mdefaultProps[33m,[39m
     [90m 96 |[39m       data[33m:[39m {[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:93:37)

  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.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:93:37)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:93:37)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 91 |[39m
     [90m 92 |[39m   test([32m'Handles data updates'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 93 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                                     [31m[1m^[22m[39m
     [90m 94 |[39m     [36mconst[39m newProps [33m=[39m {
     [90m 95 |[39m       [33m...[39mdefaultProps[33m,[39m
     [90m 96 |[39m       data[33m:[39m {[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:93:37)

  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
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 91 |[39m
     [90m 92 |[39m   test([32m'Handles data updates'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 93 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m    |[39m                                     [31m[1m^[22m[39m
     [90m 94 |[39m     [36mconst[39m newProps [33m=[39m {
     [90m 95 |[39m       [33m...[39mdefaultProps[33m,[39m
     [90m 96 |[39m       data[33m:[39m {[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:93:37)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:106:37)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:106:37)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 104 |[39m
     [90m 105 |[39m   test([32m'Handles filter updates'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 106 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                                     [31m[1m^[22m[39m
     [90m 107 |[39m     [36mconst[39m newProps [33m=[39m {
     [90m 108 |[39m       [33m...[39mdefaultProps[33m,[39m
     [90m 109 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mPageNumber[39m[33m:[39m [35m2[39m }[33m,[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:106:37)

  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 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.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:106:37)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:106:37)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 104 |[39m
     [90m 105 |[39m   test([32m'Handles filter updates'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 106 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                                     [31m[1m^[22m[39m
     [90m 107 |[39m     [36mconst[39m newProps [33m=[39m {
     [90m 108 |[39m       [33m...[39mdefaultProps[33m,[39m
     [90m 109 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mPageNumber[39m[33m:[39m [35m2[39m }[33m,[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:106:37)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 104 |[39m
     [90m 105 |[39m   test([32m'Handles filter updates'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 106 |[39m     [36mconst[39m { rerender[33m,[39m container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                                     [31m[1m^[22m[39m
     [90m 107 |[39m     [36mconst[39m newProps [33m=[39m {
     [90m 108 |[39m       [33m...[39mdefaultProps[33m,[39m
     [90m 109 |[39m       filters[33m:[39m { [33m...[39mdefaultProps[33m.[39mfilters[33m,[39m [33mPageNumber[39m[33m:[39m [35m2[39m }[33m,[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:106:37)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:120:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:120:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 118 |[39m       columns[33m:[39m [{ field[33m:[39m [32m'id'[39m[33m,[39m headerName[33m:[39m [32m'ID'[39m[33m,[39m width[33m:[39m [35m90[39m}][33m,[39m
     [90m 119 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 120 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                           [31m[1m^[22m[39m
     [90m 121 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 122 |[39m   })[33m;[39m
     [90m 123 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:120:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:120:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:120:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 118 |[39m       columns[33m:[39m [{ field[33m:[39m [32m'id'[39m[33m,[39m headerName[33m:[39m [32m'ID'[39m[33m,[39m width[33m:[39m [35m90[39m}][33m,[39m
     [90m 119 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 120 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                           [31m[1m^[22m[39m
     [90m 121 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 122 |[39m   })[33m;[39m
     [90m 123 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:120:27)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 118 |[39m       columns[33m:[39m [{ field[33m:[39m [32m'id'[39m[33m,[39m headerName[33m:[39m [32m'ID'[39m[33m,[39m width[33m:[39m [35m90[39m}][33m,[39m
     [90m 119 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 120 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                           [31m[1m^[22m[39m
     [90m 121 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 122 |[39m   })[33m;[39m
     [90m 123 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:120:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:136:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:136:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 134 |[39m       }[33m,[39m
     [90m 135 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 136 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                           [31m[1m^[22m[39m
     [90m 137 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 138 |[39m   })[33m;[39m
     [90m 139 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:136:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:136:27)
        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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:136:27)
          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),
      type: 'unhandled exception'
    }

    [0m [90m 134 |[39m       }[33m,[39m
     [90m 135 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 136 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                           [31m[1m^[22m[39m
     [90m 137 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 138 |[39m   })[33m;[39m
     [90m 139 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:136:27)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 134 |[39m       }[33m,[39m
     [90m 135 |[39m     }[33m;[39m
    [31m[1m>[22m[39m[90m 136 |[39m     [36mconst[39m { container } [33m=[39m render([33m<[39m[33mCommonTable[39m {[33m...[39mprops} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m                           [31m[1m^[22m[39m
     [90m 137 |[39m     expect(container)[33m.[39mtoBeDefined()[33m;[39m
     [90m 138 |[39m   })[33m;[39m
     [90m 139 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:136:27)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:141: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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:141: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),
      type: 'unhandled exception'
    }

    [0m [90m 139 |[39m
     [90m 140 |[39m   test([32m'onChange callback is defined'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 141 |[39m     render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 142 |[39m     expect(mockOnChange)[33m.[39mtoBeDefined()[33m;[39m
     [90m 143 |[39m   })[33m;[39m
     [90m 144 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:141:5)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:141: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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:141: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),
      type: 'unhandled exception'
    }

    [0m [90m 139 |[39m
     [90m 140 |[39m   test([32m'onChange callback is defined'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 141 |[39m     render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 142 |[39m     expect(mockOnChange)[33m.[39mtoBeDefined()[33m;[39m
     [90m 143 |[39m   })[33m;[39m
     [90m 144 |[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:141:5)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 139 |[39m
     [90m 140 |[39m   test([32m'onChange callback is defined'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 141 |[39m     render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 142 |[39m     expect(mockOnChange)[33m.[39mtoBeDefined()[33m;[39m
     [90m 143 |[39m   })[33m;[39m
     [90m 144 |[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:141:5)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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\components\CommonTable.test.js:146: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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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\components\CommonTable.test.js:146: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),
      type: 'unhandled exception'
    }

    [0m [90m 144 |[39m
     [90m 145 |[39m   test([32m'handleAction callback is defined'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 146 |[39m     render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 147 |[39m     expect(mockHandleAction)[33m.[39mtoBeDefined()[33m;[39m
     [90m 148 |[39m   })[33m;[39m
     [90m 149 |[39m })[33m;[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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/components/CommonTable.test.js:146:5)

  console.error
    Error: Uncaught [TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.]
        at reportException (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:353:9)
        at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
        at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
        at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
        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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
        at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
        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\components\CommonTable.test.js:146: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) {
      detail: TypeError: Cannot destructure property 'permissions' of '((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.
          at permissions (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:44:11)
          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 HTMLUnknownElement.callCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventListener.js:26:30)
          at innerInvokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:350:25)
          at invokeEventListeners (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\events\EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (C:\User-Insight-Tracking-UI\node_modules\jsdom\lib\jsdom\living\generated\EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4213:16)
          at invokeGuardedCallback (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:4277:31)
          at beginWork$1 (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:27490:7)
          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 recoverFromConcurrentError (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25889:20)
          at performConcurrentWorkOnRoot (C:\User-Insight-Tracking-UI\node_modules\react-dom\cjs\react-dom.development.js:25789:22)
          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\components\CommonTable.test.js:146: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),
      type: 'unhandled exception'
    }

    [0m [90m 144 |[39m
     [90m 145 |[39m   test([32m'handleAction callback is defined'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 146 |[39m     render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 147 |[39m     expect(mockHandleAction)[33m.[39mtoBeDefined()[33m;[39m
     [90m 148 |[39m   })[33m;[39m
     [90m 149 |[39m })[33m;[39m[0m

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27490:7)
      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 recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:146:5)

  console.error
    The above error occurred in the <CommonTable> component:
    
        at data (C:\User-Insight-Tracking-UI\src\components\CommonTable.js:21:5)
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

    [0m [90m 144 |[39m
     [90m 145 |[39m   test([32m'handleAction callback is defined'[39m[33m,[39m () [33m=>[39m {
    [31m[1m>[22m[39m[90m 146 |[39m     render([33m<[39m[33mCommonTable[39m {[33m...[39mdefaultProps} [33m/[39m[33m>[39m)[33m;[39m
     [90m     |[39m     [31m[1m^[22m[39m
     [90m 147 |[39m     expect(mockHandleAction)[33m.[39mtoBeDefined()[33m;[39m
     [90m 148 |[39m   })[33m;[39m
     [90m 149 |[39m })[33m;[39m[0m

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18704:23)
      at update.callback (node_modules/react-dom/cjs/react-dom.development.js:18737:5)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:15036:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:15057:9)
      at commitLayoutEffectOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23430:13)
      at commitLayoutMountEffects_complete (node_modules/react-dom/cjs/react-dom.development.js:24727:9)
      at commitLayoutEffects_begin (node_modules/react-dom/cjs/react-dom.development.js:24713:7)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:24651:3)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26862:5)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
      at finishConcurrentRender (node_modules/react-dom/cjs/react-dom.development.js:25931: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 Object.render (src/components/CommonTable.test.js:146: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\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
    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 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: 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)

FAIL src/components/CommonTable.test.js (51.074 s)
  CommonTable Component Tests
    ├ù Renders CommonTable without crashing (251 ms)
    ├ù Renders with empty data array (53 ms)
    ├ù Handles different page sizes (88 ms)
    ├ù Handles different sort configurations (44 ms)
    ├ù Renders with null data (50 ms)
    ├ù Renders with undefined columns (55 ms)
    ├ù Handles component prop changes (53 ms)
    ├ù Handles data updates (45 ms)
    ├ù Handles filter updates (44 ms)
    ├ù Renders with single column (38 ms)
    ├ù Renders with large dataset (59 ms)
    ├ù onChange callback is defined (38 ms)
    ├ù handleAction callback is defined (36 ms)

  ΓùÅ CommonTable Component Tests ΓÇ║ Renders CommonTable without crashing

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:36:27)

  ΓùÅ CommonTable Component Tests ΓÇ║ Renders with empty data array

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:45:27)

  ΓùÅ CommonTable Component Tests ΓÇ║ Handles different page sizes

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:54:27)

  ΓùÅ CommonTable Component Tests ΓÇ║ Handles different sort configurations

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:63:27)

  ΓùÅ CommonTable Component Tests ΓÇ║ Renders with null data

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:72:27)

  ΓùÅ CommonTable Component Tests ΓÇ║ Renders with undefined columns

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:81:27)

  ΓùÅ CommonTable Component Tests ΓÇ║ Handles component prop changes

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:86:37)

  ΓùÅ CommonTable Component Tests ΓÇ║ Handles data updates

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:93:37)

  ΓùÅ CommonTable Component Tests ΓÇ║ Handles filter updates

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:106:37)

  ΓùÅ CommonTable Component Tests ΓÇ║ Renders with single column

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:120:27)

  ΓùÅ CommonTable Component Tests ΓÇ║ Renders with large dataset

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44:11)
  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 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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:136:27)

  ΓùÅ CommonTable Component Tests ΓÇ║ onChange callback is defined

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

        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 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
    [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 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/components/CommonTable.test.js:141:5)

  ΓùÅ CommonTable Component Tests ΓÇ║ handleAction callback is defined

    TypeError: Cannot destructure property 'permissions' of 
'((cov_7bh2u0av6(...).s[15]++) , useUser(...))' as it is undefined.

    [0m [90m 42 |[39m   [36mconst[39m [selectedImage[33m,[39m 
setSelectedImage] [33m=[39m useState([36mnull[39m)[33m;[39m
     [90m 43 |[39m   [36mconst[39m [openImage[33m,[39m setOpenImage] 
[33m=[39m useState([36mfalse[39m)[33m;[39m
    [31m[1m>[22m[39m[90m 44 |[39m   [36mconst[39m { permissions } 
[33m=[39m useUser()[33m;[39m
     [90m    |[39m           [31m[1m^[22m[39m
     [90m 45 |[39m   [36mconst[39m isProfileAccess [33m=[39m 
permissions[33m?[39m[33m.[39msome((permission) [33m=>[39m {
     [90m 46 |[39m     [36mreturn[39m permission[33m.[39m[33mPath[39m 
[33m===[39m [32m"/user-profile"[39m [33m&&[39m 
permission[33m.[39m[33mPermission_Id[39m [33m!==[39m 
[32m`${permissionTypes[2].key}`[39m[33m;[39m
     [90m 47 |[39m   })[33m;[39m[0m

      at permissions (src/components/CommonTable.js:44: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 recoverFromConcurrentError 
(node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot 
(node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      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/components/CommonTable.test.js:146:5)

        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\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\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\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\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\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\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\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\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\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
    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 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: 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\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\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\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\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\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
    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 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
    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\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
    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\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\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\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)

PASS src/tests/SystemSleepDetails.test.js (52.502 s)
  RunningApplicationDetails Component
    ΓêÜ It apply Date range & clears date range (2 ms)
    ΓêÜ renders component with default state (1188 ms)
    ΓêÜ shows loader while data is fetching (323 ms)
    ΓêÜ renders userProfile specific columns (201 ms)
    ΓêÜ renders employee columns for default case (173 ms)
    ΓêÜ handles search input (236 ms)
    ΓêÜ renders SmartDateSelector component (212 ms)
    ΓêÜ renders CommonTable component (229 ms)

  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)

PASS src/tests/RunningApplicationsDetails.test.js (52.568 s)
  RunningApplicationDetails Component
    ΓêÜ It apply Date range & clears date range (1 ms)
    ΓêÜ renders component with default state (1162 ms)
    ΓêÜ shows loader while data is fetching (306 ms)
    ΓêÜ renders userProfile specific columns (223 ms)
    ΓêÜ renders employee columns for default case (215 ms)
    ΓêÜ handles search input (249 ms)
    ΓêÜ renders SmartDateSelector component (242 ms)
    ΓêÜ renders CommonTable component (227 ms)

  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\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\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
    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)

PASS src/tests/SystemLoginDetails.test.js (52.939 s)
  RunningApplicationDetails Component
    ΓêÜ It apply Date range & clears date range
    ΓêÜ renders component with default state (1345 ms)
    ΓêÜ shows loader while data is fetching (304 ms)
    ΓêÜ renders userProfile specific columns (268 ms)
    ΓêÜ renders employee columns for default case (309 ms)
    ΓêÜ handles search input (286 ms)
    ΓêÜ renders SmartDateSelector component (233 ms)
    ΓêÜ renders CommonTable component (257 ms)

  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\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)
        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)

PASS src/tests/EmployeeWorkingTime.test.js (54.648 s)
  EmployeeWorkingTime Component
    ΓêÜ renders component with default state (1248 ms)
    ΓêÜ shows loader while data is fetching (307 ms)
    ΓêÜ renders userProfile specific columns (230 ms)
    ΓêÜ renders employee columns for default case (249 ms)
    ΓêÜ handles search input (269 ms)
    ΓêÜ renders SmartDateSelector component (252 ms)
    ΓêÜ renders CommonTable component (244 ms)
    ΓêÜ handles pagination changes (185 ms)
    ΓêÜ filter button is present and functional (309 ms)
    ΓêÜ table responds to data updates (185 ms)
    ΓêÜ handles different filter states (93 ms)
    ΓêÜ displays correct column headers (91 ms)
    ΓêÜ renders with sorting disabled (81 ms)
    ΓêÜ handles title prop (93 ms)
    ΓêÜ handles auto height setting (102 ms)
    ΓêÜ works with modify permissions handler (84 ms)
    ΓêÜ renders without data (87 ms)
    ΓêÜ handles large datasets (101 ms)
    ΓêÜ supports multiple sort columns (107 ms)
    ΓêÜ date selector changes update table (98 ms)
    ΓêÜ handles custom page sizes (130 ms)
    ΓêÜ renders all required columns (117 ms)

FAIL src/tests/Screenshot.test.js
  ΓùÅ Test suite failed to run

    ReferenceError: require is not defined

    [0m [90m 70 |[39m [90m// ΓöÇΓöÇΓöÇ Shared mock reference ΓöÇΓöÇΓöÇΓöÇΓö
ÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ[39m
     [90m 71 |[39m [90m// Must be declared before jest.mock calls that 
reference it, but because jest[39m
    [31m[1m>[22m[39m[90m 72 |[39m [90m// hoists mock factories we 
declare it at module scope and assign in beforeEach.[39m
     [90m    |[39m [31m[1m^[22m[39m
     [90m 73 |[39m
     [90m 74 |[39m [36mlet[39m mockPostApi[33m;[39m
     [90m 75 |[39m[0m

      at require (src/tests/Screenshot.test.js:72:1)
      at _getJestObj (src/tests/Screenshot.test.js:8:1)

---------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------
File                             | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                                                                   
---------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------
All files                        |   68.81 |    48.62 |   57.72 |   69.15 |                                                                                                                                                     
 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               |       0 |        0 |       0 |       0 |                                                                                                                                                     
  CreateEditRoleDialog.js        |       0 |        0 |       0 |       0 | 22-242                                                                                                                                              
  ManageRoles.js                 |       0 |      100 |     100 |       0 | 148                                                                                                                                                 
  ManageRolesPermissionsPopup.js |       0 |      100 |     100 |       0 | 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/utils/getPageTitle.test.js (5.122 s)
  ΓùÅ getPageTitle ΓÇ║ returns title for valid path

    expect(received).toBeDefined()
