Skip to content

fix types

fix types #2081

GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Dec 31, 2023 in 0s

Test suite run failed

Failed tests: 11/181. Failed suites: 2/32.

Details

Created failed tests' annotations. To disable them, see documentation.

  ● Container component › should render a container with table

    expect(received).toBe(expected) // Object.is equality

    Expected: 3
    Received: 0

      43 |
      44 |     expect(container.html()).toMatchSnapshot();
    > 45 |     expect(config.store.getState().status).toBe(Status.Rendered);
         |                                            ^
      46 |   });
      47 |
      48 |   it('should attach styles', async () => {

      at tests/jest/view/container.test.tsx:45:44
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should render a container with table

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should render a container with table 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td class="gridjs-td">1</td><td class="gridjs-td">2</td><td class="gridjs-td">3</td></tr><tr class="gridjs-tr"><td class="gridjs-td">a</td><td class="gridjs-td">b</td><td class="gridjs-td">c</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      42 |     await flushPromises();
      43 |
    > 44 |     expect(container.html()).toMatchSnapshot();
         |                              ^
      45 |     expect(config.store.getState().status).toBe(Status.Rendered);
      46 |   });
      47 |

      at tests/jest/view/container.test.tsx:44:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should attach styles

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should attach styles 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container" style="border: 1px solid #ccc; width: 500px;"><div class="gridjs-head" style="padding: 5px;"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="font-size: 15px; height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td class="gridjs-td" style="font-weight: bold;">1</td><td class="gridjs-td" style="font-weight: bold;">2</td><td class="gridjs-td" style="font-weight: bold;">3</td></tr><tr class="gridjs-tr"><td class="gridjs-td" style="font-weight: bold;">a</td><td class="gridjs-td" style="font-weight: bold;">b</td><td class="gridjs-td" style="font-weight: bold;">c</td></tr></tbody></table></div><div class="gridjs-footer" style="margin: 2px;"><div class="gridjs-pagination"><div role="status" aria-live="polite" class="gridjs-summary" title="Page 1 of 1">Showing <b>1</b> to <b>2</b> of <b>2</b> results</div><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" class="gridjs-currentPage" title="Page 1" aria-label="Page 1">1</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container" style="border: 1px solid #ccc; width: 500px;"><div class="gridjs-head" style="padding: 5px;"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="font-size: 15px; height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div class="gridjs-footer" style="margin: 2px;"><div class="gridjs-pagination"><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      81 |     await flushPromises();
      82 |
    > 83 |     expect(container.html()).toMatchSnapshot();
         |                              ^
      84 |   });
      85 |
      86 |   it('should attach classNames', async () => {

      at tests/jest/view/container.test.tsx:83:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should attach classNames

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should attach classNames 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container test-container" style="width: 500px;"><div class="gridjs-head test-header"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table test-table" style="height: auto;"><thead class="gridjs-thead test-head"><tr class="gridjs-tr"><th data-column-id="c1" class="gridjs-th test-th"><div class="gridjs-th-content">c1</div></th><th data-column-id="c2" class="gridjs-th gridjs-th-sort test-th" tabindex="0"><div class="gridjs-th-content">c2</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral test-sort"></button></th><th data-column-id="c3" class="gridjs-th gridjs-th-sort test-th" tabindex="0"><div class="gridjs-th-content">c3</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral test-sort"></button></th></tr></thead><tbody class="gridjs-tbody test-tbody"><tr class="gridjs-tr"><td data-column-id="c1" class="gridjs-td test-td">1</td><td data-column-id="c2" class="gridjs-td test-td">2</td><td data-column-id="c3" class="gridjs-td test-td">3</td></tr><tr class="gridjs-tr"><td data-column-id="c1" class="gridjs-td test-td">a</td><td data-column-id="c2" class="gridjs-td test-td">b</td><td data-column-id="c3" class="gridjs-td test-td">c</td></tr></tbody></table></div><div class="gridjs-footer test-footer"><div class="gridjs-pagination"><div role="status" aria-live="polite" class="gridjs-summary" title="Page 1 of 1">Showing <b>1</b> to <b>2</b> of <b>2</b> results</div><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" class="gridjs-currentPage" title="Page 1" aria-label="Page 1">1</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container test-container" style="width: 500px;"><div class="gridjs-head test-header"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table test-table" style="height: auto;"><thead class="gridjs-thead test-head"><tr class="gridjs-tr"><th data-column-id="c1" class="gridjs-th test-th"><div class="gridjs-th-content">c1</div></th><th data-column-id="c2" class="gridjs-th gridjs-th-sort test-th" tabindex="0"><div class="gridjs-th-content">c2</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral test-sort"></button></th><th data-column-id="c3" class="gridjs-th gridjs-th-sort test-th" tabindex="0"><div class="gridjs-th-content">c3</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral test-sort"></button></th></tr></thead><tbody class="gridjs-tbody test-tbody"></tbody></table></div><div class="gridjs-footer test-footer"><div class="gridjs-pagination"><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      124 |     await flushPromises();
      125 |
    > 126 |     expect(container.html()).toMatchSnapshot();
          |                              ^
      127 |   });
      128 |
      129 |   it('should render a container with searchable table', async () => {

      at tests/jest/view/container.test.tsx:126:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should render a container with searchable table

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should render a container with searchable table 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-head"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td class="gridjs-td">1</td><td class="gridjs-td">2</td><td class="gridjs-td">3</td></tr><tr class="gridjs-tr"><td class="gridjs-td">a</td><td class="gridjs-td">b</td><td class="gridjs-td">c</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-head"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      140 |     await flushPromises();
      141 |
    > 142 |     expect(container.html()).toMatchSnapshot();
          |                              ^
      143 |   });
      144 |
      145 |   it('should render a container with sortable and paginated table', async () => {

      at tests/jest/view/container.test.tsx:142:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should render a container with sortable and paginated table

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should render a container with sortable and paginated table 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-head"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="c1" class="gridjs-th"><div class="gridjs-th-content">c1</div></th><th data-column-id="c2" class="gridjs-th gridjs-th-sort" tabindex="0"><div class="gridjs-th-content">c2</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral"></button></th><th data-column-id="c3" class="gridjs-th gridjs-th-sort" tabindex="0"><div class="gridjs-th-content">c3</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral"></button></th></tr></thead><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td data-column-id="c1" class="gridjs-td">1</td><td data-column-id="c2" class="gridjs-td">2</td><td data-column-id="c3" class="gridjs-td">3</td></tr><tr class="gridjs-tr"><td data-column-id="c1" class="gridjs-td">a</td><td data-column-id="c2" class="gridjs-td">b</td><td data-column-id="c3" class="gridjs-td">c</td></tr></tbody></table></div><div class="gridjs-footer"><div class="gridjs-pagination"><div role="status" aria-live="polite" class="gridjs-summary" title="Page 1 of 1">Showing <b>1</b> to <b>2</b> of <b>2</b> results</div><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" class="gridjs-currentPage" title="Page 1" aria-label="Page 1">1</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-head"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="c1" class="gridjs-th"><div class="gridjs-th-content">c1</div></th><th data-column-id="c2" class="gridjs-th gridjs-th-sort" tabindex="0"><div class="gridjs-th-content">c2</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral"></button></th><th data-column-id="c3" class="gridjs-th gridjs-th-sort" tabindex="0"><div class="gridjs-th-content">c3</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral"></button></th></tr></thead><tbody class="gridjs-tbody"></tbody></table></div><div class="gridjs-footer"><div class="gridjs-pagination"><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      173 |     await flushPromises();
      174 |
    > 175 |     expect(container.html()).toMatchSnapshot();
          |                              ^
      176 |   });
      177 |
      178 |   it('should render a container with error', async () => {

      at tests/jest/view/container.test.tsx:175:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should render a container with error

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should render a container with error 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td role="alert" colspan="0" class="gridjs-td gridjs-message gridjs-error my-error">An error happened while fetching the data</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      201 |     await flushPromises();
      202 |
    > 203 |     expect(container.html()).toMatchSnapshot();
          |                              ^
      204 |   });
      205 |
      206 |   it('should not violate accessibility test', async () => {

      at tests/jest/view/container.test.tsx:203:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should render a container with array of objects without columns input

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should render a container with array of objects without columns input 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td class="gridjs-td">1</td><td class="gridjs-td">2</td><td class="gridjs-td">3</td></tr><tr class="gridjs-tr"><td class="gridjs-td">a</td><td class="gridjs-td">b</td><td class="gridjs-td">c</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      259 |     await flushPromises();
      260 |
    > 261 |     expect(container.html()).toMatchSnapshot();
          |                              ^
      262 |   });
      263 |
      264 |   it('should render a container with array of objects with string columns', async () => {

      at tests/jest/view/container.test.tsx:261:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should render a container with array of objects with string columns

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should render a container with array of objects with string columns 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="name" class="gridjs-th"><div class="gridjs-th-content">Name</div></th><th data-column-id="phoneNumber" class="gridjs-th"><div class="gridjs-th-content">Phone Number</div></th></tr></thead><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">boo</td><td data-column-id="phoneNumber" class="gridjs-td">123</td></tr><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">foo</td><td data-column-id="phoneNumber" class="gridjs-td">456</td></tr><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">bar</td><td data-column-id="phoneNumber" class="gridjs-td">789</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="name" class="gridjs-th"><div class="gridjs-th-content">Name</div></th><th data-column-id="phoneNumber" class="gridjs-th"><div class="gridjs-th-content">Phone Number</div></th></tr></thead><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      281 |     await flushPromises();
      282 |
    > 283 |     expect(container.html()).toMatchSnapshot();
          |                              ^
      284 |   });
      285 |
      286 |   it('should render a container with array of objects with object columns', async () => {

      at tests/jest/view/container.test.tsx:283:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should render a container with array of objects with object columns

    expect(received).toMatchSnapshot()

    Snapshot name: `Container component should render a container with array of objects with object columns 1`

    - Snapshot  - 1
    + Received  + 1

    - "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="name" class="gridjs-th"><div class="gridjs-th-content">Name</div></th><th data-column-id="phone" class="gridjs-th"><div class="gridjs-th-content">Phone Number</div></th></tr></thead><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">boo</td><td data-column-id="phone" class="gridjs-td">123</td></tr><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">foo</td><td data-column-id="phone" class="gridjs-td">456</td></tr><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">bar</td><td data-column-id="phone" class="gridjs-td">789</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    + "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="name" class="gridjs-th"><div class="gridjs-th-content">Name</div></th><th data-column-id="phone" class="gridjs-th"><div class="gridjs-th-content">Phone Number</div></th></tr></thead><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"

      312 |     await flushPromises();
      313 |
    > 314 |     expect(container.html()).toMatchSnapshot();
          |                              ^
      315 |   });
      316 |
      317 |   it('should remove the EventEmitter listeners', async () => {

      at tests/jest/view/container.test.tsx:314:30
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

  ● Container component › should unregister the processors

    expect(received).toBe(expected) // Object.is equality

    Expected: 4
    Received: 5

      383 |     await flushPromises();
      384 |
    > 385 |     expect(mockUnregister.mock.calls.length).toBe(
          |                                              ^
      386 |       mockRegister.mock.calls.length,
      387 |     );
      388 |   });

      at tests/jest/view/container.test.tsx:385:46
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)


  ● Grid class › should trigger the events in the correct order

    expect(received).toHaveBeenCalledBefore(expected)

    Expected first mock to have been called before, invocationCallOrder:
      []
    Received second mock with invocationCallOrder:
      []

      26 |     await flushPromises();
      27 |
    > 28 |     expect(setLoadingDataMock).toHaveBeenCalledBefore(setDataMock);
         |                                ^
      29 |     expect(setDataMock).toHaveBeenCalledBefore(setStatusToRenderedMock);
      30 |
      31 |     expect(setLoadingDataMock).toBeCalledTimes(1);

      at tests/jest/grid.test.ts:28:32
      at step (node_modules/tslib/tslib.js:144:27)
      at Object.next (node_modules/tslib/tslib.js:125:57)
      at fulfilled (node_modules/tslib/tslib.js:115:62)

Annotations

Check failure on line 34 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should render a container with table

Error: expect(received).toBe(expected) // Object.is equality

Expected: 3
Received: 0
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:45:44
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should render a container with table 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td class="gridjs-td">1</td><td class="gridjs-td">2</td><td class="gridjs-td">3</td></tr><tr class="gridjs-tr"><td class="gridjs-td">a</td><td class="gridjs-td">b</td><td class="gridjs-td">c</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:44:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 48 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should attach styles

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should attach styles 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container" style="border: 1px solid #ccc; width: 500px;"><div class="gridjs-head" style="padding: 5px;"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="font-size: 15px; height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td class="gridjs-td" style="font-weight: bold;">1</td><td class="gridjs-td" style="font-weight: bold;">2</td><td class="gridjs-td" style="font-weight: bold;">3</td></tr><tr class="gridjs-tr"><td class="gridjs-td" style="font-weight: bold;">a</td><td class="gridjs-td" style="font-weight: bold;">b</td><td class="gridjs-td" style="font-weight: bold;">c</td></tr></tbody></table></div><div class="gridjs-footer" style="margin: 2px;"><div class="gridjs-pagination"><div role="status" aria-live="polite" class="gridjs-summary" title="Page 1 of 1">Showing <b>1</b> to <b>2</b> of <b>2</b> results</div><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" class="gridjs-currentPage" title="Page 1" aria-label="Page 1">1</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container" style="border: 1px solid #ccc; width: 500px;"><div class="gridjs-head" style="padding: 5px;"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="font-size: 15px; height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div class="gridjs-footer" style="margin: 2px;"><div class="gridjs-pagination"><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:83:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 86 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should attach classNames

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should attach classNames 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container test-container" style="width: 500px;"><div class="gridjs-head test-header"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table test-table" style="height: auto;"><thead class="gridjs-thead test-head"><tr class="gridjs-tr"><th data-column-id="c1" class="gridjs-th test-th"><div class="gridjs-th-content">c1</div></th><th data-column-id="c2" class="gridjs-th gridjs-th-sort test-th" tabindex="0"><div class="gridjs-th-content">c2</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral test-sort"></button></th><th data-column-id="c3" class="gridjs-th gridjs-th-sort test-th" tabindex="0"><div class="gridjs-th-content">c3</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral test-sort"></button></th></tr></thead><tbody class="gridjs-tbody test-tbody"><tr class="gridjs-tr"><td data-column-id="c1" class="gridjs-td test-td">1</td><td data-column-id="c2" class="gridjs-td test-td">2</td><td data-column-id="c3" class="gridjs-td test-td">3</td></tr><tr class="gridjs-tr"><td data-column-id="c1" class="gridjs-td test-td">a</td><td data-column-id="c2" class="gridjs-td test-td">b</td><td data-column-id="c3" class="gridjs-td test-td">c</td></tr></tbody></table></div><div class="gridjs-footer test-footer"><div class="gridjs-pagination"><div role="status" aria-live="polite" class="gridjs-summary" title="Page 1 of 1">Showing <b>1</b> to <b>2</b> of <b>2</b> results</div><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" class="gridjs-currentPage" title="Page 1" aria-label="Page 1">1</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container test-container" style="width: 500px;"><div class="gridjs-head test-header"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table test-table" style="height: auto;"><thead class="gridjs-thead test-head"><tr class="gridjs-tr"><th data-column-id="c1" class="gridjs-th test-th"><div class="gridjs-th-content">c1</div></th><th data-column-id="c2" class="gridjs-th gridjs-th-sort test-th" tabindex="0"><div class="gridjs-th-content">c2</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral test-sort"></button></th><th data-column-id="c3" class="gridjs-th gridjs-th-sort test-th" tabindex="0"><div class="gridjs-th-content">c3</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral test-sort"></button></th></tr></thead><tbody class="gridjs-tbody test-tbody"></tbody></table></div><div class="gridjs-footer test-footer"><div class="gridjs-pagination"><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:126:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 129 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should render a container with searchable table

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should render a container with searchable table 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-head"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td class="gridjs-td">1</td><td class="gridjs-td">2</td><td class="gridjs-td">3</td></tr><tr class="gridjs-tr"><td class="gridjs-td">a</td><td class="gridjs-td">b</td><td class="gridjs-td">c</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-head"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:142:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 145 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should render a container with sortable and paginated table

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should render a container with sortable and paginated table 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-head"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="c1" class="gridjs-th"><div class="gridjs-th-content">c1</div></th><th data-column-id="c2" class="gridjs-th gridjs-th-sort" tabindex="0"><div class="gridjs-th-content">c2</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral"></button></th><th data-column-id="c3" class="gridjs-th gridjs-th-sort" tabindex="0"><div class="gridjs-th-content">c3</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral"></button></th></tr></thead><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td data-column-id="c1" class="gridjs-td">1</td><td data-column-id="c2" class="gridjs-td">2</td><td data-column-id="c3" class="gridjs-td">3</td></tr><tr class="gridjs-tr"><td data-column-id="c1" class="gridjs-td">a</td><td data-column-id="c2" class="gridjs-td">b</td><td data-column-id="c3" class="gridjs-td">c</td></tr></tbody></table></div><div class="gridjs-footer"><div class="gridjs-pagination"><div role="status" aria-live="polite" class="gridjs-summary" title="Page 1 of 1">Showing <b>1</b> to <b>2</b> of <b>2</b> results</div><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" class="gridjs-currentPage" title="Page 1" aria-label="Page 1">1</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-head"><div class="gridjs-search"><input type="search" placeholder="Type a keyword..." aria-label="Type a keyword..." class="gridjs-input gridjs-search-input"></div></div><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="c1" class="gridjs-th"><div class="gridjs-th-content">c1</div></th><th data-column-id="c2" class="gridjs-th gridjs-th-sort" tabindex="0"><div class="gridjs-th-content">c2</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral"></button></th><th data-column-id="c3" class="gridjs-th gridjs-th-sort" tabindex="0"><div class="gridjs-th-content">c3</div><button tabindex="-1" aria-label="Sort column ascending" title="Sort column ascending" class="gridjs-sort gridjs-sort-neutral"></button></th></tr></thead><tbody class="gridjs-tbody"></tbody></table></div><div class="gridjs-footer"><div class="gridjs-pagination"><div class="gridjs-pages"><button tabindex="0" role="button" disabled="" title="Previous" aria-label="Previous" class="">Previous</button><button tabindex="0" role="button" disabled="" title="Next" aria-label="Next" class="">Next</button></div></div></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:175:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 178 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should render a container with error

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should render a container with error 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td role="alert" colspan="0" class="gridjs-td gridjs-message gridjs-error my-error">An error happened while fetching the data</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:203:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 245 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should render a container with array of objects without columns input

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should render a container with array of objects without columns input 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td class="gridjs-td">1</td><td class="gridjs-td">2</td><td class="gridjs-td">3</td></tr><tr class="gridjs-tr"><td class="gridjs-td">a</td><td class="gridjs-td">b</td><td class="gridjs-td">c</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:261:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 264 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should render a container with array of objects with string columns

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should render a container with array of objects with string columns 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="name" class="gridjs-th"><div class="gridjs-th-content">Name</div></th><th data-column-id="phoneNumber" class="gridjs-th"><div class="gridjs-th-content">Phone Number</div></th></tr></thead><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">boo</td><td data-column-id="phoneNumber" class="gridjs-td">123</td></tr><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">foo</td><td data-column-id="phoneNumber" class="gridjs-td">456</td></tr><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">bar</td><td data-column-id="phoneNumber" class="gridjs-td">789</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="name" class="gridjs-th"><div class="gridjs-th-content">Name</div></th><th data-column-id="phoneNumber" class="gridjs-th"><div class="gridjs-th-content">Phone Number</div></th></tr></thead><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:283:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 286 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should render a container with array of objects with object columns

Error: expect(received).toMatchSnapshot()

Snapshot name: `Container component should render a container with array of objects with object columns 1`

- Snapshot  - 1
+ Received  + 1

- "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="name" class="gridjs-th"><div class="gridjs-th-content">Name</div></th><th data-column-id="phone" class="gridjs-th"><div class="gridjs-th-content">Phone Number</div></th></tr></thead><tbody class="gridjs-tbody"><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">boo</td><td data-column-id="phone" class="gridjs-td">123</td></tr><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">foo</td><td data-column-id="phone" class="gridjs-td">456</td></tr><tr class="gridjs-tr"><td data-column-id="name" class="gridjs-td">bar</td><td data-column-id="phone" class="gridjs-td">789</td></tr></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
+ "<div role="complementary" class="gridjs gridjs-container" style="width: 100%;"><div class="gridjs-wrapper" style="height: auto;"><table role="grid" class="gridjs-table" style="height: auto;"><thead class="gridjs-thead"><tr class="gridjs-tr"><th data-column-id="name" class="gridjs-th"><div class="gridjs-th-content">Name</div></th><th data-column-id="phone" class="gridjs-th"><div class="gridjs-th-content">Phone Number</div></th></tr></thead><tbody class="gridjs-tbody"></tbody></table></div><div id="gridjs-temp" class="gridjs-temp"></div></div>"
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:314:30
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 342 in tests/jest/view/container.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Container component > should unregister the processors

Error: expect(received).toBe(expected) // Object.is equality

Expected: 4
Received: 5
    at /home/runner/work/gridjs/gridjs/tests/jest/view/container.test.tsx:385:46
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)

Check failure on line 13 in tests/jest/grid.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Grid class > should trigger the events in the correct order

Error: expect(received).toHaveBeenCalledBefore(expected)

Expected first mock to have been called before, invocationCallOrder:
  []
Received second mock with invocationCallOrder:
  []
    at /home/runner/work/gridjs/gridjs/tests/jest/grid.test.ts:28:32
    at step (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:144:27)
    at Object.next (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:125:57)
    at fulfilled (/home/runner/work/gridjs/gridjs/node_modules/tslib/tslib.js:115:62)