Skip to content

Instantly share code, notes, and snippets.

@ljmotta
Created December 30, 2021 18:54
Show Gist options
  • Save ljmotta/718b26938caacd8803cd85c36b77d663 to your computer and use it in GitHub Desktop.
Save ljmotta/718b26938caacd8803cd85c36b77d663 to your computer and use it in GitHub Desktop.
errooooooooooooooooooooooooooooooooooooooooo
➜ boxed-expression-component git:(migration) ✗ yarn test
yarn run v1.18.0
$ yarn run run-script-if --bool "$(build-env global.build.test)" --then "jest --silent --verbose --passWithNoTests"
$ /home/lmotta/Documents/redhat/kogito-tooling/node_modules/.bin/run-script-if --bool true --then 'jest --silent --verbose --passWithNoTests'
[run-script-if] Boolean condition supplied.
[run-script-if] Condition is 'true'. Running _then_ command(s).
[run-script-if] Running 1 command(s): ['jest --silent --verbose --passWithNoTests']
[run-script-if] Running 'jest --silent --verbose --passWithNoTests'
FAIL tests/components/Table/EditableCell.test.tsx
● Test suite failed to run
tests/components/Table/EditableCell.test.tsx:40:51 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
40 expect(container.querySelector("textarea")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:41:82 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
41 expect((container.querySelector("textarea") as HTMLTextAreaElement).value).toBe(initialValue);
~~~~
tests/components/Table/EditableCell.test.tsx:45:85 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
45 expect(container.querySelector(CELL_SELECTOR)?.classList.contains(READ_MODE)).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:61:85 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
61 expect(container.querySelector(CELL_SELECTOR)?.classList.contains(EDIT_MODE)).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:77:85 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
77 expect(container.querySelector(CELL_SELECTOR)?.classList.contains(EDIT_MODE)).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:93:50 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
93 expect(document.querySelector("textarea")).toEqual(document.activeElement);
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/EditableCell.test.tsx:97:101 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
97 expect(container.querySelector(CELL_SELECTOR)?.classList.contains("editable-cell--selected")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:132:34 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
132 expect(mockedOnCellUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:133:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
133 expect(mockedOnCellUpdate).toHaveBeenCalledWith(rowIndex, columnId, newValue);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/Resizer/Resizer.test.tsx
● Test suite failed to run
tests/components/Resizer/Resizer.test.tsx:36:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
36 expect(getWidth(resizable.item(0))).toBe("250px");
~~~~
tests/components/Resizer/Resizer.test.tsx:37:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
37 expect(getWidth(resizable.item(1))).toBe("250px");
~~~~
tests/components/Resizer/Resizer.test.tsx:38:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
38 expect(getWidth(resizable.item(2))).toBe("400px");
~~~~
tests/components/Resizer/Resizer.test.tsx:39:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
39 expect(getWidth(resizable.item(3))).toBe("250px");
~~~~
tests/components/Resizer/Resizer.test.tsx:40:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
40 expect(getWidth(resizable.item(4))).toBe("250px");
~~~~
tests/components/Resizer/Resizer.test.tsx:41:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
41 expect(getWidth(resizable.item(5))).toBe("400px");
~~~~
FAIL tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts
● Test suite failed to run
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:29:52 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
29 expect(fakeCells[0].spyRefreshWidthAsParent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:30:52 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
30 expect(fakeCells[1].spyRefreshWidthAsParent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:31:52 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
31 expect(fakeCells[2].spyRefreshWidthAsParent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:32:52 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
32 expect(fakeCells[3].spyRefreshWidthAsParent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:37:56 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
37 expect(fakeCells[0].spyRefreshWidthAsLastColumn).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:38:56 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
38 expect(fakeCells[1].spyRefreshWidthAsLastColumn).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:39:56 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
39 expect(fakeCells[2].spyRefreshWidthAsLastColumn).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:40:56 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
40 expect(fakeCells[3].spyRefreshWidthAsLastColumn).toBeCalled();
~~~~~~~~~~
FAIL tests/components/Resizer/dom/DOMSession.test.tsx
● Test suite failed to run
tests/components/Resizer/dom/DOMSession.test.tsx:52:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
52 expect(cells[4].element.dataset.testId).toBe("cell-0");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:53:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
53 expect(cells[4].depth).toBe(0);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:54:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
54 expect(cells[5].element.dataset.testId).toBe("cell-5");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:55:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
55 expect(cells[5].depth).toBe(0);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:56:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
56 expect(cells[6].element.dataset.testId).toBe("cell-6");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:57:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
57 expect(cells[6].depth).toBe(0);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:59:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
59 expect(cells[2].element.dataset.testId).toBe("cell-1");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:60:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
60 expect(cells[2].depth).toBe(1);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:61:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
61 expect(cells[3].element.dataset.testId).toBe("cell-4");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:62:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
62 expect(cells[3].depth).toBe(1);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:64:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
64 expect(cells[0].element.dataset.testId).toBe("cell-2");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:65:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
65 expect(cells[0].depth).toBe(2);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:66:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
66 expect(cells[1].element.dataset.testId).toBe("cell-3");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:67:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
67 expect(cells[1].depth).toBe(2);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:71:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
71 expect(cells[0].children).toHaveLength(0);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:72:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
72 expect(cells[1].children).toHaveLength(0);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:73:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
73 expect(cells[2].children).toHaveLength(2);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:74:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
74 expect(cells[3].children).toHaveLength(0);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:75:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
75 expect(cells[4].children).toHaveLength(2);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:76:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
76 expect(cells[5].children).toHaveLength(0);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:77:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
77 expect(cells[6].children).toHaveLength(0);
~~~~~~~~~~~~
FAIL tests/components/RelationExpression/RelationExpression.test.tsx
● Test suite failed to run
tests/components/RelationExpression/RelationExpression.test.tsx:33:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
33 expect(container.querySelector(".relation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:34:82 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
34 expect(container.querySelectorAll(".relation-expression table thead tr th")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:35:95 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
35 expect(container.querySelectorAll(".relation-expression table thead tr th")[1].innerHTML).toContain("column-1");
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/RelationExpression/RelationExpression.test.tsx:36:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
36 expect(container.querySelectorAll(".relation-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:57:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
57 expect(container.querySelector(".relation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:58:82 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
58 expect(container.querySelectorAll(".relation-expression table thead tr th")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:59:95 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
59 expect(container.querySelectorAll(".relation-expression table thead tr th")[1].innerHTML).toContain(columnName);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/RelationExpression/RelationExpression.test.tsx:60:95 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
60 expect(container.querySelectorAll(".relation-expression table thead tr th")[1].innerHTML).toContain(columnDataType);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/RelationExpression/RelationExpression.test.tsx:71:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
71 expect(container.querySelector(".relation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:72:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
72 expect(container.querySelectorAll(".relation-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:73:82 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
73 expect(container.querySelectorAll(".relation-expression table tbody tr td")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:74:95 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
74 expect(container.querySelectorAll(".relation-expression table tbody tr td")[1].innerHTML).toContain(rowValue);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/RelationExpression/RelationExpression.test.tsx:85:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
85 expect(container.querySelector(".relation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:86:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
86 expect(container.querySelectorAll(".relation-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:87:82 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
87 expect(container.querySelectorAll(".relation-expression table tbody tr td")).toHaveLength(2);
~~~~~~~~~~~~
FAIL tests/components/SelectionBox/CellSelectionBox.test.tsx
● Test suite failed to run
tests/components/SelectionBox/CellSelectionBox.test.tsx:35:30 - error TS2551: Property 'toMatch' does not exist on type 'Assertion'. Did you mean 'match'?
35 expect(selectionValue).toMatch("Cell 1\tCell 2\tCell 3\tCell 4\tCell 5\tCell 6");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:218:9
218 match: Match;
~~~~~
'match' is declared here.
FAIL tests/components/PopoverMenu/PopoverMenu.test.tsx
● Test suite failed to run
tests/components/PopoverMenu/PopoverMenu.test.tsx:44:23 - error TS2339: Property 'toMatchSnapshot' does not exist on type 'Assertion'.
44 expect(container).toMatchSnapshot();
~~~~~~~~~~~~~~~
tests/components/PopoverMenu/PopoverMenu.test.tsx:65:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
65 expect(container.querySelector(".selector-menu-title")).toBeTruthy();
~~~~~~~~~~
tests/components/PopoverMenu/PopoverMenu.test.tsx:66:72 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
66 expect(container.querySelector(".selector-menu-title")!.innerHTML).toBe(title);
~~~~
FAIL tests/components/SelectionBox/SelectionBox.test.tsx
● Test suite failed to run
tests/components/SelectionBox/SelectionBox.test.tsx:34:39 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
34 expect(selectionBoxStyle.width).toEqual("290px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:35:40 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
35 expect(selectionBoxStyle.height).toEqual("380px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:36:37 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
36 expect(selectionBoxStyle.top).toEqual("20px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:37:38 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
37 expect(selectionBoxStyle.left).toEqual("10px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:51:39 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
51 expect(selectionBoxStyle.width).toEqual("");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:52:40 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
52 expect(selectionBoxStyle.height).toEqual("");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:53:37 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
53 expect(selectionBoxStyle.top).toEqual("");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:54:38 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
54 expect(selectionBoxStyle.left).toEqual("");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
FAIL tests/components/Table/TableHandlerMenu.test.tsx
● Test suite failed to run
tests/components/Table/TableHandlerMenu.test.tsx:48:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
48 expect(container.querySelector("div.table-handler-menu")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/TableHandlerMenu.test.tsx:49:66 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
49 expect(container.querySelector("h1.pf-c-menu__group-title")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/TableHandlerMenu.test.tsx:50:77 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
50 expect(container.querySelector("h1.pf-c-menu__group-title")!.innerHTML).toContain(groupName);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/TableHandlerMenu.test.tsx:51:62 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
51 expect(container.querySelector(menuItem(operationName))).toBeTruthy();
~~~~~~~~~~
tests/components/Table/TableHandlerMenu.test.tsx:52:73 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
52 expect(container.querySelector(menuItem(operationName))!.innerHTML).toContain(operationName);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/TableHandlerMenu.test.tsx:75:31 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
75 expect(mockedOnOperation).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/TableHandlerMenu.test.tsx:76:31 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
76 expect(mockedOnOperation).toHaveBeenCalledWith(TableOperation.ColumnInsertLeft);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/Table/common/CopyAndPasteUtils.test.tsx
● Test suite failed to run
tests/components/Table/common/CopyAndPasteUtils.test.tsx:53:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
53 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:54:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
54 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:72:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
72 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:73:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
73 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:91:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
91 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:92:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
92 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:110:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
110 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:111:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
111 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:129:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
129 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:130:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
130 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:144:35 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
144 expect(iterableValue("")).toEqual([[]]);
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:150:42 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
150 expect(iterableValue("A\tB\tC")).toEqual([["A", "B", "C"]]);
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:156:51 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
156 expect(iterableValue("A\tB\tC\nD\tE\tF")).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:198:43 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
198 expect(document.body.dispatchEvent).toBeCalled();
~~~~~~~~~~
FAIL tests/components/Table/common/TableUtils.test.tsx
● Test suite failed to run
tests/components/Table/common/TableUtils.test.tsx:54:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
54 expect(getCellCoordinates(cells[0])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:58:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
58 expect(getCellCoordinates(cells[1])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:62:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
62 expect(getCellCoordinates(cells[2])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:67:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
67 expect(getCellCoordinates(cells[3])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:71:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
71 expect(getCellCoordinates(cells[4])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:75:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
75 expect(getCellCoordinates(cells[5])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:79:40 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
79 expect(getCellCoordinates(null)).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:115:40 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
115 expect(getCellTableId(cells[0])).toEqual("table-event-0");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
FAIL tests/components/Resizer/dom/Cell.test.tsx
● Test suite failed to run
tests/components/Resizer/dom/Cell.test.tsx:39:28 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
39 expect(cell.getId()).toBe("uuid-0000-1111-2222-3333");
~~~~
tests/components/Resizer/dom/Cell.test.tsx:46:30 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
46 expect(cell.getRect()).toEqual(element.getBoundingClientRect());
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Resizer/dom/Cell.test.tsx:55:35 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
55 expect(element.style.width).toEqual("150px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Resizer/dom/Cell.test.tsx:56:43 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
56 expect(document.body.dispatchEvent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/Cell.test.tsx:61:35 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
61 expect(element.style.width).toEqual("100px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Resizer/dom/Cell.test.tsx:62:43 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
62 expect(document.body.dispatchEvent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/Cell.test.tsx:81:35 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
81 expect(element.style.width).toBe("713px");
~~~~
tests/components/Resizer/dom/Cell.test.tsx:99:35 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
99 expect(element.style.width).toBe("1468px");
~~~~
tests/components/Resizer/dom/Cell.test.tsx:107:35 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
107 expect(element.style.width).toBe("250px");
~~~~
tests/components/Resizer/dom/Cell.test.tsx:115:35 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
115 expect(cell.isLastColumn()).toBeTruthy();
~~~~~~~~~~
tests/components/Resizer/dom/Cell.test.tsx:120:35 - error TS2339: Property 'toBeFalsy' does not exist on type 'Assertion'.
120 expect(cell.isLastColumn()).toBeFalsy();
~~~~~~~~~
FAIL tests/components/Table/Table.test.tsx
● Test suite failed to run
tests/components/Table/Table.test.tsx:69:67 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
69 expect(container.querySelector(".table-component table thead")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:70:70 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
70 expect(container.querySelector(".table-component table thead tr")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:71:71 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
71 expect(container.querySelectorAll(EXPRESSION_COLUMN_HEADER).length).toBe(expectedCells);
~~~~
tests/components/Table/Table.test.tsx:72:93 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
72 expect(container.querySelectorAll(EXPRESSION_COLUMN_HEADER)[expectedCells - 1].innerHTML).toContain(content);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/Table.test.tsx:95:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
95 expect(container.querySelector(".table-component table")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:176:71 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
176 expect(container.querySelector(".table-component table tbody")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:177:74 - error TS2339: Property 'toBeFalsy' does not exist on type 'Assertion'.
177 expect(container.querySelector(".table-component table tbody tr")).toBeFalsy();
~~~~~~~~~
tests/components/Table/Table.test.tsx:200:71 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
200 expect(container.querySelector(".table-component table tbody")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:201:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
201 expect(container.querySelector(expressionRow(0))).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:202:68 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
202 expect(container.querySelectorAll(expressionRow(0) + " td")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:203:72 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
203 expect(container.querySelector(expressionCell(0, 0))!.innerHTML).toContain("1");
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/Table.test.tsx:204:72 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
204 expect(container.querySelector(expressionCell(0, 1))!.innerHTML).toContain(cellValue);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/Table.test.tsx:230:66 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
230 expect(baseElement.querySelector(EXPRESSION_POPOVER_MENU)).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:231:83 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
231 expect(baseElement.querySelector(EXPRESSION_POPOVER_MENU_TITLE)?.innerHTML).toBe(editRelationLabel);
~~~~
tests/components/Table/Table.test.tsx:232:92 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
232 expect((baseElement.querySelector(EDIT_EXPRESSION_NAME)! as HTMLInputElement).value).toBe(columnName);
~~~~
tests/components/Table/Table.test.tsx:233:97 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
233 expect((baseElement.querySelector(EDIT_EXPRESSION_DATA_TYPE)! as HTMLInputElement).value).toBe(DataType.Boolean);
~~~~
tests/components/Table/Table.test.tsx:264:36 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
264 expect(mockedOnColumnUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:265:36 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
265 expect(mockedOnColumnUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:307:34 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
307 expect(mockedOnRowsUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:308:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
308 expect(mockedOnRowsUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:309:23 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
309 rows: [expect.objectContaining(newRow)],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:347:34 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
347 expect(mockedOnRowsUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:390:36 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
390 expect(mockedOnColumnUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:391:26 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
391 columns: [expect.objectContaining(secondColumn), firstColumn],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:435:36 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
435 expect(mockedOnColumnUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:436:39 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
436 columns: [firstColumn, expect.objectContaining(secondColumn)],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:471:36 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
471 expect(mockedOnColumnUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:511:36 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
511 expect(mockedOnColumnUpdate).toHaveBeenCalledTimes(0);
~~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:545:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
545 expect(mockedOnRowsUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:546:23 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
546 rows: [expect.objectContaining({ width: DEFAULT_MIN_WIDTH }), expect.objectContaining(row)],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:546:78 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
546 rows: [expect.objectContaining({ width: DEFAULT_MIN_WIDTH }), expect.objectContaining(row)],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:583:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
583 expect(mockedOnRowsUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:584:23 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
584 rows: [expect.objectContaining(row), expect.objectContaining({ width: DEFAULT_MIN_WIDTH })],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:584:53 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
584 rows: [expect.objectContaining(row), expect.objectContaining({ width: DEFAULT_MIN_WIDTH })],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:623:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
623 expect(mockedOnRowsUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:635:70 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
635 expect(baseElement.querySelector(EXPRESSION_TABLE_HANDLER_MENU)).toBeTruthy();
~~~~~~~~~~
FAIL tests/components/LiteralExpression/LiteralExpression.test.tsx
● Test suite failed to run
tests/components/LiteralExpression/LiteralExpression.test.tsx:42:59 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
42 expect(container.querySelector(".expression-name")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:43:70 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
43 expect(container.querySelector(".expression-name")!.innerHTML).toBe(expressionName);
~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:55:64 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
55 expect(container.querySelector(".expression-data-type")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:56:75 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
56 expect(container.querySelector(".expression-data-type")!.innerHTML).toBe("(" + dataType + ")");
~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:72:69 - error TS2339: Property 'toBeFalsy' does not exist on type 'Assertion'.
72 expect(container.querySelector(".literal-expression-header")).toBeFalsy();
~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:87:69 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
87 expect(container.querySelector(".literal-expression-header")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:112:62 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
112 expect(document.querySelector(".selector-menu-title")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:132:76 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
132 expect(container.querySelector(".literal-expression-body textarea")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:133:87 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
133 expect(container.querySelector(".literal-expression-body textarea")!.innerHTML).toBe(content);
~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:149:76 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
149 expect(container.querySelector(".literal-expression-body textarea")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:150:87 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
150 expect(container.querySelector(".literal-expression-body textarea")!.innerHTML).toBe("");
~~~~
FAIL tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx
● Test suite failed to run
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:51:73 - error TS2339: Property 'toBeDisabled' does not exist on type 'Assertion'.
51 expect(baseElement.querySelector(".context-menu-container button")).toBeDisabled();
~~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:52:73 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
52 expect(baseElement.querySelector(".context-menu-container button")).toHaveTextContent("Clear");
~~~~~~~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:73:77 - error TS2339: Property 'toBeDisabled' does not exist on type 'Assertion'.
73 expect(baseElement.querySelector(".context-menu-container button")).not.toBeDisabled();
~~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:74:73 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
74 expect(baseElement.querySelector(".context-menu-container button")).toBeTruthy();
~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:75:73 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
75 expect(baseElement.querySelector(".context-menu-container button")).toHaveTextContent("Clear");
~~~~~~~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:96:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
96 expect(baseElement.querySelector(".logic-type-selector")).toBeTruthy();
~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:97:63 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
97 expect(baseElement.querySelector(".logic-type-selector")).toHaveClass("logic-type-selected");
~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:129:70 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
129 expect(screen.baseElement.querySelector(".logic-type-selector")).toBeTruthy();
~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:130:70 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
130 expect(screen.baseElement.querySelector(".logic-type-selector")).toHaveClass("logic-type-not-present");
~~~~~~~~~~~
FAIL tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx
● Test suite failed to run
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:37:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
37 expect(container.querySelector(".pmml-literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:38:72 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
38 expect(container.querySelector(".pmml-literal-expression button")).toContainHTML(noOptionsLabel);
~~~~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:55:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
55 expect(container.querySelector(".pmml-literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:56:72 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
56 expect(container.querySelector(".pmml-literal-expression button")).toContainHTML(noOptionsLabel);
~~~~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:73:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
73 expect(container.querySelector(".pmml-literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:74:72 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
74 expect(container.querySelector(".pmml-literal-expression button")).toContainHTML(selectedOption);
~~~~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:95:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
95 expect(container.querySelector(".pmml-literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:96:72 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
96 expect(container.querySelector(".pmml-literal-expression button")).toContainHTML(changedOption);
~~~~~~~~~~~~~
FAIL tests/components/InvocationExpression/InvocationExpression.test.tsx
● Test suite failed to run
tests/components/InvocationExpression/InvocationExpression.test.tsx:37:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
37 expect(container.querySelector(".invocation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:38:69 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
38 expect(container.querySelector(".invocation-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:39:75 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
39 expect(container.querySelector(".invocation-expression table thead")).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:40:81 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
40 expect(container.querySelectorAll(".invocation-expression table thead tr")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:41:81 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
41 expect(container.querySelectorAll(".invocation-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:42:91 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
42 expect(container.querySelectorAll(".invocation-expression table tbody td.data-cell")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:54:7 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
54 ).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:57:7 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
57 ).toContainHTML(
~~~~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:73:112 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
73 expect((container.querySelector(".invocation-expression .function-definition") as HTMLInputElement).value).toBe(
~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:105:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
105 expect(container.querySelector(".invocation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:106:81 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
106 expect(container.querySelectorAll(".invocation-expression table tbody tr")).toHaveLength(2);
~~~~~~~~~~~~
FAIL tests/components/ListExpression/ListExpression.test.tsx
● Test suite failed to run
tests/components/ListExpression/ListExpression.test.tsx:32:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
32 expect(container.querySelector(".list-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:33:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
33 expect(container.querySelector(".list-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:34:69 - error TS2339: Property 'toBeNull' does not exist on type 'Assertion'.
34 expect(container.querySelector(".list-expression table thead")).toBeNull();
~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:35:75 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
35 expect(container.querySelectorAll(".list-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:36:85 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
36 expect(container.querySelectorAll(".list-expression table tbody td.data-cell")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:46:102 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
46 expect(container.querySelector(".list-expression table tbody td.data-cell .literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:51:7 - error TS2339: Property 'toBeEmpty' does not exist on type 'Assertion'.
51 ).toBeEmpty();
~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:63:60 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
63 expect(container.querySelectorAll(".list-expression")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:64:108 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
64 expect(container.querySelector(".list-expression .table-component.id1 td.data-cell .list-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:69:7 - error TS2339: Property 'toBeEmpty' does not exist on type 'Assertion'.
69 ).toBeEmpty();
~~~~~~~~~
FAIL tests/components/FunctionExpression/FunctionKindSelector.test.tsx
● Test suite failed to run
tests/components/FunctionExpression/FunctionKindSelector.test.tsx:36:64 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
36 expect(container.querySelector(".selected-function-kind")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionKindSelector.test.tsx:37:64 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
37 expect(container.querySelector(".selected-function-kind")).toContainHTML("F");
~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionKindSelector.test.tsx:56:38 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
56 expect(mockedFunctionKindSelect).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionKindSelector.test.tsx:57:38 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
57 expect(mockedFunctionKindSelect).toHaveBeenCalledWith(FunctionKind.Java);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ExpressionContainer/ExpressionContainer.test.tsx
● Test suite failed to run
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:35:23 - error TS2339: Property 'toMatchSnapshot' does not exist on type 'Assertion'.
35 expect(container).toMatchSnapshot();
~~~~~~~~~~~~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:49:58 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
49 expect(container.querySelector(".expression-title")).toBeTruthy();
~~~~~~~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:50:69 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
50 expect(container.querySelector(".expression-title")!.innerHTML).toBe(expressionTitle);
~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:63:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
63 expect(container.querySelector(".expression-type")).toBeTruthy();
~~~~~~~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:64:68 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
64 expect(container.querySelector(".expression-type")!.innerHTML).toBe("(" + LogicType.LiteralExpression + ")");
~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:77:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
77 expect(container.querySelector(".expression-type")).toBeTruthy();
~~~~~~~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:78:68 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
78 expect(container.querySelector(".expression-type")!.innerHTML).toBe("(<Undefined>)");
~~~~
FAIL tests/components/EditExpressionMenu/EditTextInline.test.tsx
● Test suite failed to run
tests/components/EditExpressionMenu/EditTextInline.test.tsx:31:42 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
31 expect(container.querySelector("p")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:32:42 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
32 expect(container.querySelector("p")).toHaveTextContent(value);
~~~~~~~~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:43:46 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
43 expect(container.querySelector("input")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:44:46 - error TS2339: Property 'toHaveValue' does not exist on type 'Assertion'.
44 expect(container.querySelector("input")).toHaveValue(value);
~~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:62:32 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
62 expect(mockedOnTextChange).toHaveBeenCalledWith(newValue);
~~~~~~~~~~~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:80:32 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
80 expect(mockedOnTextChange).toHaveBeenCalledWith(newValue);
~~~~~~~~~~~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:98:32 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
98 expect(mockedOnTextChange).toHaveBeenCalledTimes(0);
~~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextEntryInfoCell.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:49:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
49 expect(container.querySelector(".context-entry-info-cell")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:50:77 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
50 expect(container.querySelector(".context-entry-info-cell .entry-info")).toHaveClass(id);
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:51:77 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
51 expect(container.querySelector(".context-entry-info-cell .entry-info")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:52:95 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
52 expect(container.querySelector(".context-entry-info-cell .entry-info .entry-definition")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:53:107 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
53 expect(container.querySelector(".context-entry-info-cell .entry-info .entry-definition .entry-name")).toContainHTML(
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:58:7 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
58 ).toContainHTML(dataType);
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:83:31 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
83 expect(mockedOnRowUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:84:31 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
84 expect(mockedOnRowUpdate).toHaveBeenCalledWith(0, {
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextExpression.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextExpression.test.tsx:43:60 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
43 expect(container.querySelector(".context-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:44:66 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
44 expect(container.querySelector(".context-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:45:78 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
45 expect(container.querySelectorAll(".context-expression table tbody tr")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:46:89 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
46 expect(container.querySelector(".context-expression table tbody tr:first-of-type")).toContainHTML("ContextEntry-1");
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:47:88 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
47 expect(container.querySelector(".context-expression table tbody tr:last-of-type")).toContainHTML("result");
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:103:60 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
103 expect(container.querySelector(".context-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:104:66 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
104 expect(container.querySelector(".context-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:105:78 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
105 expect(container.querySelectorAll(".context-expression table tbody tr")).toHaveLength(3);
~~~~~~~~~~~~
FAIL tests/components/DecisionTableExpression/HitPolicySelector.test.tsx
● Test suite failed to run
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:39:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
39 expect(baseElement.querySelector(".selected-hit-policy")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:40:63 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
40 expect(baseElement.querySelector(".selected-hit-policy")).toHaveTextContent("C");
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:54:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
54 expect(baseElement.querySelector(".selected-hit-policy")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:55:63 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
55 expect(baseElement.querySelector(".selected-hit-policy")).toHaveTextContent("C#");
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:69:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
69 expect(baseElement.querySelector(".selected-hit-policy")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:70:63 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
70 expect(baseElement.querySelector(".selected-hit-policy")).toHaveTextContent("A");
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:87:82 - error TS2339: Property 'toHaveAttribute' does not exist on type 'Assertion'.
87 expect(baseElement.querySelector(".builtin-aggregator-selector button")).not.toHaveAttribute("disabled");
~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:104:78 - error TS2339: Property 'toHaveAttribute' does not exist on type 'Assertion'.
104 expect(baseElement.querySelector(".builtin-aggregator-selector button")).toHaveAttribute("disabled");
~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:126:35 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
126 expect(mockedHitPolicySelect).toHaveBeenCalledWith(changedHitPolicy);
~~~~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:148:37 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
148 expect(mockedAggregationSelect).toHaveBeenCalledWith(changedAggregation);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx
● Test suite failed to run
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:41:67 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
41 expect(container.querySelector(".decision-table-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:42:73 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
42 expect(container.querySelector(".decision-table-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:45:7 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
45 ).toHaveLength(3);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:46:107 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
46 expect(container.querySelectorAll(".decision-table-expression table thead tr:last-of-type th.input")).toHaveLength(
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:49:108 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
49 expect(container.querySelectorAll(".decision-table-expression table thead tr:last-of-type th.output")).toHaveLength(
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:54:7 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
54 ).toHaveLength(1);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:55:85 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
55 expect(container.querySelectorAll(".decision-table-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:67:88 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
67 expect(container.querySelector(".decision-table-expression .selected-hit-policy")).toContainHTML("U");
~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:83:88 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
83 expect(container.querySelector(".decision-table-expression .selected-hit-policy")).toContainHTML("F");
~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:95:98 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
95 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")).toHaveLength(3);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:96:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
96 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[0]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:99:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
99 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[1]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:102:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
102 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[2]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:138:7 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
138 ).toHaveTextContent(inputName);
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:141:7 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
141 ).toHaveTextContent(outputName);
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:144:7 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
144 ).toHaveTextContent(annotationName);
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:145:98 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
145 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")).toHaveLength(3);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:146:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
146 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[0]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:149:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
149 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[1]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:152:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
152 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[2]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:175:39 - error TS2339: Property 'toHaveBeenLastCalledWith' does not exist on type 'Assertion'.
175 expect(mockedBroadcastDefinition).toHaveBeenLastCalledWith(
~~~~~~~~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:176:14 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
176 expect.objectContaining({
~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:178:18 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
178 expect.objectContaining({
~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:183:18 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
183 expect.objectContaining({
~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx:58:71 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
58 expect(container.querySelector(".context-entry-expression-cell")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx:59:79 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
59 expect(container.querySelector(".entry-expression .logic-type-selector")).toHaveClass("logic-type-not-present");
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx:90:31 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
90 expect(mockedOnRowUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx:91:31 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
91 expect(mockedOnRowUpdate).toHaveBeenCalledWith(rowIndex, {
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextEntryInfo.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextEntryInfo.test.tsx:45:52 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
45 expect(container.querySelector(".entry-info")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:46:52 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
46 expect(container.querySelector(".entry-info")).toHaveClass(id);
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:47:70 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
47 expect(container.querySelector(".entry-info .entry-definition")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:48:82 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
48 expect(container.querySelector(".entry-info .entry-definition .entry-name")).toContainHTML(name);
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:49:87 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
49 expect(container.querySelector(".entry-info .entry-definition .entry-data-type")).toContainHTML(dataType);
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:76:40 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
76 expect(mockedOnContextEntryUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:77:40 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
77 expect(mockedOnContextEntryUpdate).toHaveBeenCalledWith(newValue, dataType);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextEntryExpression.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextEntryExpression.test.tsx:36:58 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
36 expect(container.querySelector(".entry-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:37:79 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
37 expect(container.querySelector(".entry-expression .logic-type-selector")).toHaveClass("logic-type-not-present");
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:50:58 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
50 expect(container.querySelector(".entry-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:51:79 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
51 expect(container.querySelector(".entry-expression .logic-type-selector")).toHaveClass("logic-type-selected");
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:64:58 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
64 expect(container.querySelector(".entry-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:65:79 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
65 expect(container.querySelector(".entry-expression .logic-type-selector")).toHaveClass("logic-type-not-present");
~~~~~~~~~~~
FAIL tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx
● Test suite failed to run
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:49:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
49 expect(container.querySelector(".selector-menu-title")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:50:72 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
50 expect(container.querySelector(".selector-menu-title")!.innerHTML).toBe(title);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:74:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
74 expect(container.querySelector(".expression-name label")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:75:74 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
75 expect(container.querySelector(".expression-name label")!.innerHTML).toBe(nameFieldLabel);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:99:68 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
99 expect(container.querySelector(".expression-data-type label")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:100:79 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
100 expect(container.querySelector(".expression-data-type label")!.innerHTML).toBe(dataTypeFieldLabel);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:122:69 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
122 expect(container.querySelector("[id^='pf-select-toggle-id-']")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:123:98 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
123 expect((container.querySelector("[id^='pf-select-toggle-id-']")! as HTMLInputElement).value).toBe(
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:149:69 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
149 expect(container.querySelector("[id^='pf-select-toggle-id-']")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:150:98 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
150 expect((container.querySelector("[id^='pf-select-toggle-id-']")! as HTMLInputElement).value).toBe(selectedDataType);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:173:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
173 expect(container.querySelector("#expression-name")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:174:86 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
174 expect((container.querySelector("#expression-name")! as HTMLInputElement).value).toBe(expressionName);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:201:38 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
201 expect(mockedOnExpressionUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:202:38 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
202 expect(mockedOnExpressionUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/BoxedExpressionEditor/BoxedExpressionEditor.test.tsx
● Test suite failed to run
tests/components/BoxedExpressionEditor/BoxedExpressionEditor.test.tsx:33:23 - error TS2339: Property 'toMatchSnapshot' does not exist on type 'Assertion'.
33 expect(container).toMatchSnapshot();
~~~~~~~~~~~~~~~
FAIL tests/components/FunctionExpression/FunctionExpression.test.tsx
● Test suite failed to run
tests/components/FunctionExpression/FunctionExpression.test.tsx:55:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
55 expect(container.querySelector(".function-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:56:67 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
56 expect(container.querySelector(".function-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:57:73 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
57 expect(container.querySelector(".function-expression table thead")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:58:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
58 expect(container.querySelectorAll(".function-expression table thead tr")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:59:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
59 expect(container.querySelectorAll(".function-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:60:89 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
60 expect(container.querySelectorAll(".function-expression table tbody td.data-cell")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:76:90 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
76 expect(container.querySelector(".function-expression table thead .parameters-list")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:77:92 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
77 expect(container.querySelector(".function-expression table thead .parameters-list p")).toContainHTML(
~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:95:39 - error TS2339: Property 'toHaveBeenLastCalledWith' does not exist on type 'Assertion'.
95 expect(mockedBroadcastDefinition).toHaveBeenLastCalledWith({
~~~~~~~~~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:124:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
124 expect(baseElement.querySelector(".parameters-editor")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:125:85 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
125 expect(baseElement.querySelector(".parameters-editor .parameters-container")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:126:105 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
126 expect(baseElement.querySelectorAll(".parameters-editor .parameters-container .parameter-entry")).toHaveLength(0);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:146:105 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
146 expect(baseElement.querySelectorAll(".parameters-editor .parameters-container .parameter-entry")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:147:88 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
147 expect((baseElement.querySelector(".parameter-name") as HTMLInputElement).value).toBe(paramName);
~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:148:97 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
148 expect((baseElement.querySelector(EDIT_EXPRESSION_DATA_TYPE)! as HTMLInputElement).value).toBe(paramDataType);
~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:233:16 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
233 expect.objectContaining({
~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:270:41 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
270 expect(mockedBroadcastDefinition).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:295:88 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion'.
295 expect(container.querySelector(".function-expression table tbody td.data-cell")).toBeVisible();
~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:296:108 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
296 expect(container.querySelector(".function-expression table tbody td.data-cell .literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:303:9 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
303 ).toBe("");
~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:323:88 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion'.
323 expect(container.querySelector(".function-expression table tbody td.data-cell")).toBeVisible();
~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:326:9 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
326 ).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:329:9 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
329 ).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:447:41 - error TS2339: Property 'toHaveBeenLastCalledWith' does not exist on type 'Assertion'.
447 expect(mockedBroadcastDefinition).toHaveBeenLastCalledWith(
~~~~~~~~~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:448:16 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
448 expect.objectContaining({
~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:488:86 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion'.
488 expect(container.querySelector(".function-expression table tbody td.data-cell")).toBeVisible();
~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:489:106 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
489 expect(container.querySelector(".function-expression table tbody td.data-cell .context-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:490:57 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
490 expect(container.querySelectorAll(entriesSelector)).toHaveLength(2);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:491:60 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
491 expect(container.querySelectorAll(entriesSelector)[0]).toContainHTML(firstEntry);
~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:492:60 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
492 expect(container.querySelectorAll(entriesSelector)[1]).toContainHTML(secondEntry);
~~~~~~~~~~~~~
FAIL tests/api/BoxedExpressionEditor.test.ts
● Test suite failed to run
tests/api/BoxedExpressionEditor.test.ts:26:39 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
26 expect(mockedFunctionToExecute).toHaveBeenCalledTimes(1);
~~~~~~~~~~~~~~~~~~~~~
tests/api/BoxedExpressionEditor.test.ts:34:39 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
34 expect(mockedFunctionToExecute).toHaveBeenCalledTimes(0);
~~~~~~~~~~~~~~~~~~~~~
tests/api/BoxedExpressionEditor.test.ts:47:39 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
47 expect(mockedFunctionToExecute).toHaveBeenCalledTimes(0);
~~~~~~~~~~~~~~~~~~~~~
tests/api/BoxedExpressionEditor.test.ts:55:39 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
55 expect(mockedFunctionToExecute).toHaveBeenCalledTimes(1);
~~~~~~~~~~~~~~~~~~~~~
FAIL tests/api/EnumUtils.test.ts
● Test suite failed to run
tests/api/EnumUtils.test.ts:26:48 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
26 expect(getEnumKeyByEnumValue(Enum, "val")).toBe("OneKey");
~~~~
tests/api/EnumUtils.test.ts:35:48 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
35 expect(getEnumKeyByEnumValue(Enum, "val")).toBe("AnotherKey");
~~~~
tests/api/EnumUtils.test.ts:44:56 - error TS2339: Property 'toBeNull' does not exist on type 'Assertion'.
44 expect(getEnumKeyByEnumValue(Enum, "not present")).toBeNull();
~~~~~~~~
Summary of all failing tests
FAIL tests/components/Table/EditableCell.test.tsx
● Test suite failed to run
tests/components/Table/EditableCell.test.tsx:40:51 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
40 expect(container.querySelector("textarea")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:41:82 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
41 expect((container.querySelector("textarea") as HTMLTextAreaElement).value).toBe(initialValue);
~~~~
tests/components/Table/EditableCell.test.tsx:45:85 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
45 expect(container.querySelector(CELL_SELECTOR)?.classList.contains(READ_MODE)).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:61:85 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
61 expect(container.querySelector(CELL_SELECTOR)?.classList.contains(EDIT_MODE)).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:77:85 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
77 expect(container.querySelector(CELL_SELECTOR)?.classList.contains(EDIT_MODE)).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:93:50 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
93 expect(document.querySelector("textarea")).toEqual(document.activeElement);
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/EditableCell.test.tsx:97:101 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
97 expect(container.querySelector(CELL_SELECTOR)?.classList.contains("editable-cell--selected")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:132:34 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
132 expect(mockedOnCellUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/EditableCell.test.tsx:133:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
133 expect(mockedOnCellUpdate).toHaveBeenCalledWith(rowIndex, columnId, newValue);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/Resizer/Resizer.test.tsx
● Test suite failed to run
tests/components/Resizer/Resizer.test.tsx:36:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
36 expect(getWidth(resizable.item(0))).toBe("250px");
~~~~
tests/components/Resizer/Resizer.test.tsx:37:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
37 expect(getWidth(resizable.item(1))).toBe("250px");
~~~~
tests/components/Resizer/Resizer.test.tsx:38:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
38 expect(getWidth(resizable.item(2))).toBe("400px");
~~~~
tests/components/Resizer/Resizer.test.tsx:39:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
39 expect(getWidth(resizable.item(3))).toBe("250px");
~~~~
tests/components/Resizer/Resizer.test.tsx:40:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
40 expect(getWidth(resizable.item(4))).toBe("250px");
~~~~
tests/components/Resizer/Resizer.test.tsx:41:45 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
41 expect(getWidth(resizable.item(5))).toBe("400px");
~~~~
FAIL tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts
● Test suite failed to run
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:29:52 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
29 expect(fakeCells[0].spyRefreshWidthAsParent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:30:52 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
30 expect(fakeCells[1].spyRefreshWidthAsParent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:31:52 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
31 expect(fakeCells[2].spyRefreshWidthAsParent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:32:52 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
32 expect(fakeCells[3].spyRefreshWidthAsParent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:37:56 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
37 expect(fakeCells[0].spyRefreshWidthAsLastColumn).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:38:56 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
38 expect(fakeCells[1].spyRefreshWidthAsLastColumn).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:39:56 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
39 expect(fakeCells[2].spyRefreshWidthAsLastColumn).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/ResizerSupervisorDOM.test.ts:40:56 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
40 expect(fakeCells[3].spyRefreshWidthAsLastColumn).toBeCalled();
~~~~~~~~~~
FAIL tests/components/Resizer/dom/DOMSession.test.tsx
● Test suite failed to run
tests/components/Resizer/dom/DOMSession.test.tsx:52:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
52 expect(cells[4].element.dataset.testId).toBe("cell-0");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:53:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
53 expect(cells[4].depth).toBe(0);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:54:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
54 expect(cells[5].element.dataset.testId).toBe("cell-5");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:55:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
55 expect(cells[5].depth).toBe(0);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:56:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
56 expect(cells[6].element.dataset.testId).toBe("cell-6");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:57:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
57 expect(cells[6].depth).toBe(0);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:59:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
59 expect(cells[2].element.dataset.testId).toBe("cell-1");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:60:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
60 expect(cells[2].depth).toBe(1);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:61:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
61 expect(cells[3].element.dataset.testId).toBe("cell-4");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:62:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
62 expect(cells[3].depth).toBe(1);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:64:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
64 expect(cells[0].element.dataset.testId).toBe("cell-2");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:65:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
65 expect(cells[0].depth).toBe(2);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:66:47 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
66 expect(cells[1].element.dataset.testId).toBe("cell-3");
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:67:30 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
67 expect(cells[1].depth).toBe(2);
~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:71:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
71 expect(cells[0].children).toHaveLength(0);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:72:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
72 expect(cells[1].children).toHaveLength(0);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:73:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
73 expect(cells[2].children).toHaveLength(2);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:74:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
74 expect(cells[3].children).toHaveLength(0);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:75:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
75 expect(cells[4].children).toHaveLength(2);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:76:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
76 expect(cells[5].children).toHaveLength(0);
~~~~~~~~~~~~
tests/components/Resizer/dom/DOMSession.test.tsx:77:33 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
77 expect(cells[6].children).toHaveLength(0);
~~~~~~~~~~~~
FAIL tests/components/RelationExpression/RelationExpression.test.tsx
● Test suite failed to run
tests/components/RelationExpression/RelationExpression.test.tsx:33:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
33 expect(container.querySelector(".relation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:34:82 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
34 expect(container.querySelectorAll(".relation-expression table thead tr th")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:35:95 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
35 expect(container.querySelectorAll(".relation-expression table thead tr th")[1].innerHTML).toContain("column-1");
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/RelationExpression/RelationExpression.test.tsx:36:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
36 expect(container.querySelectorAll(".relation-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:57:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
57 expect(container.querySelector(".relation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:58:82 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
58 expect(container.querySelectorAll(".relation-expression table thead tr th")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:59:95 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
59 expect(container.querySelectorAll(".relation-expression table thead tr th")[1].innerHTML).toContain(columnName);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/RelationExpression/RelationExpression.test.tsx:60:95 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
60 expect(container.querySelectorAll(".relation-expression table thead tr th")[1].innerHTML).toContain(columnDataType);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/RelationExpression/RelationExpression.test.tsx:71:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
71 expect(container.querySelector(".relation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:72:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
72 expect(container.querySelectorAll(".relation-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:73:82 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
73 expect(container.querySelectorAll(".relation-expression table tbody tr td")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:74:95 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
74 expect(container.querySelectorAll(".relation-expression table tbody tr td")[1].innerHTML).toContain(rowValue);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/RelationExpression/RelationExpression.test.tsx:85:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
85 expect(container.querySelector(".relation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:86:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
86 expect(container.querySelectorAll(".relation-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/RelationExpression/RelationExpression.test.tsx:87:82 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
87 expect(container.querySelectorAll(".relation-expression table tbody tr td")).toHaveLength(2);
~~~~~~~~~~~~
FAIL tests/components/SelectionBox/CellSelectionBox.test.tsx
● Test suite failed to run
tests/components/SelectionBox/CellSelectionBox.test.tsx:35:30 - error TS2551: Property 'toMatch' does not exist on type 'Assertion'. Did you mean 'match'?
35 expect(selectionValue).toMatch("Cell 1\tCell 2\tCell 3\tCell 4\tCell 5\tCell 6");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:218:9
218 match: Match;
~~~~~
'match' is declared here.
FAIL tests/components/PopoverMenu/PopoverMenu.test.tsx
● Test suite failed to run
tests/components/PopoverMenu/PopoverMenu.test.tsx:44:23 - error TS2339: Property 'toMatchSnapshot' does not exist on type 'Assertion'.
44 expect(container).toMatchSnapshot();
~~~~~~~~~~~~~~~
tests/components/PopoverMenu/PopoverMenu.test.tsx:65:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
65 expect(container.querySelector(".selector-menu-title")).toBeTruthy();
~~~~~~~~~~
tests/components/PopoverMenu/PopoverMenu.test.tsx:66:72 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
66 expect(container.querySelector(".selector-menu-title")!.innerHTML).toBe(title);
~~~~
FAIL tests/components/SelectionBox/SelectionBox.test.tsx
● Test suite failed to run
tests/components/SelectionBox/SelectionBox.test.tsx:34:39 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
34 expect(selectionBoxStyle.width).toEqual("290px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:35:40 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
35 expect(selectionBoxStyle.height).toEqual("380px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:36:37 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
36 expect(selectionBoxStyle.top).toEqual("20px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:37:38 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
37 expect(selectionBoxStyle.left).toEqual("10px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:51:39 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
51 expect(selectionBoxStyle.width).toEqual("");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:52:40 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
52 expect(selectionBoxStyle.height).toEqual("");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:53:37 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
53 expect(selectionBoxStyle.top).toEqual("");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/SelectionBox/SelectionBox.test.tsx:54:38 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
54 expect(selectionBoxStyle.left).toEqual("");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
FAIL tests/components/Table/TableHandlerMenu.test.tsx
● Test suite failed to run
tests/components/Table/TableHandlerMenu.test.tsx:48:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
48 expect(container.querySelector("div.table-handler-menu")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/TableHandlerMenu.test.tsx:49:66 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
49 expect(container.querySelector("h1.pf-c-menu__group-title")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/TableHandlerMenu.test.tsx:50:77 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
50 expect(container.querySelector("h1.pf-c-menu__group-title")!.innerHTML).toContain(groupName);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/TableHandlerMenu.test.tsx:51:62 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
51 expect(container.querySelector(menuItem(operationName))).toBeTruthy();
~~~~~~~~~~
tests/components/Table/TableHandlerMenu.test.tsx:52:73 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
52 expect(container.querySelector(menuItem(operationName))!.innerHTML).toContain(operationName);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/TableHandlerMenu.test.tsx:75:31 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
75 expect(mockedOnOperation).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/TableHandlerMenu.test.tsx:76:31 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
76 expect(mockedOnOperation).toHaveBeenCalledWith(TableOperation.ColumnInsertLeft);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/Table/common/CopyAndPasteUtils.test.tsx
● Test suite failed to run
tests/components/Table/common/CopyAndPasteUtils.test.tsx:53:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
53 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:54:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
54 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:72:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
72 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:73:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
73 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:91:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
91 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:92:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
92 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:110:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
110 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:111:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
111 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:129:29 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
129 expect(newRows).not.toBe(rows);
~~~~
tests/components/Table/common/CopyAndPasteUtils.test.tsx:130:25 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
130 expect(newRows).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:144:35 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
144 expect(iterableValue("")).toEqual([[]]);
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:150:42 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
150 expect(iterableValue("A\tB\tC")).toEqual([["A", "B", "C"]]);
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:156:51 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
156 expect(iterableValue("A\tB\tC\nD\tE\tF")).toEqual([
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/CopyAndPasteUtils.test.tsx:198:43 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
198 expect(document.body.dispatchEvent).toBeCalled();
~~~~~~~~~~
FAIL tests/components/Table/common/TableUtils.test.tsx
● Test suite failed to run
tests/components/Table/common/TableUtils.test.tsx:54:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
54 expect(getCellCoordinates(cells[0])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:58:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
58 expect(getCellCoordinates(cells[1])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:62:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
62 expect(getCellCoordinates(cells[2])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:67:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
67 expect(getCellCoordinates(cells[3])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:71:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
71 expect(getCellCoordinates(cells[4])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:75:44 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
75 expect(getCellCoordinates(cells[5])).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:79:40 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
79 expect(getCellCoordinates(null)).toEqual({
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Table/common/TableUtils.test.tsx:115:40 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
115 expect(getCellTableId(cells[0])).toEqual("table-event-0");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
FAIL tests/components/Resizer/dom/Cell.test.tsx
● Test suite failed to run
tests/components/Resizer/dom/Cell.test.tsx:39:28 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
39 expect(cell.getId()).toBe("uuid-0000-1111-2222-3333");
~~~~
tests/components/Resizer/dom/Cell.test.tsx:46:30 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
46 expect(cell.getRect()).toEqual(element.getBoundingClientRect());
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Resizer/dom/Cell.test.tsx:55:35 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
55 expect(element.style.width).toEqual("150px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Resizer/dom/Cell.test.tsx:56:43 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
56 expect(document.body.dispatchEvent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/Cell.test.tsx:61:35 - error TS2551: Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
61 expect(element.style.width).toEqual("100px");
~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:206:9
206 equal: Equal;
~~~~~
'equal' is declared here.
tests/components/Resizer/dom/Cell.test.tsx:62:43 - error TS2339: Property 'toBeCalled' does not exist on type 'Assertion'.
62 expect(document.body.dispatchEvent).toBeCalled();
~~~~~~~~~~
tests/components/Resizer/dom/Cell.test.tsx:81:35 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
81 expect(element.style.width).toBe("713px");
~~~~
tests/components/Resizer/dom/Cell.test.tsx:99:35 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
99 expect(element.style.width).toBe("1468px");
~~~~
tests/components/Resizer/dom/Cell.test.tsx:107:35 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
107 expect(element.style.width).toBe("250px");
~~~~
tests/components/Resizer/dom/Cell.test.tsx:115:35 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
115 expect(cell.isLastColumn()).toBeTruthy();
~~~~~~~~~~
tests/components/Resizer/dom/Cell.test.tsx:120:35 - error TS2339: Property 'toBeFalsy' does not exist on type 'Assertion'.
120 expect(cell.isLastColumn()).toBeFalsy();
~~~~~~~~~
FAIL tests/components/Table/Table.test.tsx
● Test suite failed to run
tests/components/Table/Table.test.tsx:69:67 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
69 expect(container.querySelector(".table-component table thead")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:70:70 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
70 expect(container.querySelector(".table-component table thead tr")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:71:71 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
71 expect(container.querySelectorAll(EXPRESSION_COLUMN_HEADER).length).toBe(expectedCells);
~~~~
tests/components/Table/Table.test.tsx:72:93 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
72 expect(container.querySelectorAll(EXPRESSION_COLUMN_HEADER)[expectedCells - 1].innerHTML).toContain(content);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/Table.test.tsx:95:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
95 expect(container.querySelector(".table-component table")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:176:71 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
176 expect(container.querySelector(".table-component table tbody")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:177:74 - error TS2339: Property 'toBeFalsy' does not exist on type 'Assertion'.
177 expect(container.querySelector(".table-component table tbody tr")).toBeFalsy();
~~~~~~~~~
tests/components/Table/Table.test.tsx:200:71 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
200 expect(container.querySelector(".table-component table tbody")).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:201:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
201 expect(container.querySelector(expressionRow(0))).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:202:68 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
202 expect(container.querySelectorAll(expressionRow(0) + " td")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:203:72 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
203 expect(container.querySelector(expressionCell(0, 0))!.innerHTML).toContain("1");
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/Table.test.tsx:204:72 - error TS2551: Property 'toContain' does not exist on type 'Assertion'. Did you mean 'contain'?
204 expect(container.querySelector(expressionCell(0, 1))!.innerHTML).toContain(cellValue);
~~~~~~~~~
../../node_modules/cypress/types/chai/index.d.ts:193:9
193 contain: Include;
~~~~~~~
'contain' is declared here.
tests/components/Table/Table.test.tsx:230:66 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
230 expect(baseElement.querySelector(EXPRESSION_POPOVER_MENU)).toBeTruthy();
~~~~~~~~~~
tests/components/Table/Table.test.tsx:231:83 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
231 expect(baseElement.querySelector(EXPRESSION_POPOVER_MENU_TITLE)?.innerHTML).toBe(editRelationLabel);
~~~~
tests/components/Table/Table.test.tsx:232:92 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
232 expect((baseElement.querySelector(EDIT_EXPRESSION_NAME)! as HTMLInputElement).value).toBe(columnName);
~~~~
tests/components/Table/Table.test.tsx:233:97 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
233 expect((baseElement.querySelector(EDIT_EXPRESSION_DATA_TYPE)! as HTMLInputElement).value).toBe(DataType.Boolean);
~~~~
tests/components/Table/Table.test.tsx:264:36 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
264 expect(mockedOnColumnUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:265:36 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
265 expect(mockedOnColumnUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:307:34 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
307 expect(mockedOnRowsUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:308:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
308 expect(mockedOnRowsUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:309:23 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
309 rows: [expect.objectContaining(newRow)],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:347:34 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
347 expect(mockedOnRowsUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:390:36 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
390 expect(mockedOnColumnUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:391:26 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
391 columns: [expect.objectContaining(secondColumn), firstColumn],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:435:36 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
435 expect(mockedOnColumnUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:436:39 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
436 columns: [firstColumn, expect.objectContaining(secondColumn)],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:471:36 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
471 expect(mockedOnColumnUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:511:36 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
511 expect(mockedOnColumnUpdate).toHaveBeenCalledTimes(0);
~~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:545:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
545 expect(mockedOnRowsUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:546:23 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
546 rows: [expect.objectContaining({ width: DEFAULT_MIN_WIDTH }), expect.objectContaining(row)],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:546:78 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
546 rows: [expect.objectContaining({ width: DEFAULT_MIN_WIDTH }), expect.objectContaining(row)],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:583:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
583 expect(mockedOnRowsUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:584:23 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
584 rows: [expect.objectContaining(row), expect.objectContaining({ width: DEFAULT_MIN_WIDTH })],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:584:53 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
584 rows: [expect.objectContaining(row), expect.objectContaining({ width: DEFAULT_MIN_WIDTH })],
~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:623:34 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
623 expect(mockedOnRowsUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/Table/Table.test.tsx:635:70 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
635 expect(baseElement.querySelector(EXPRESSION_TABLE_HANDLER_MENU)).toBeTruthy();
~~~~~~~~~~
FAIL tests/components/LiteralExpression/LiteralExpression.test.tsx
● Test suite failed to run
tests/components/LiteralExpression/LiteralExpression.test.tsx:42:59 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
42 expect(container.querySelector(".expression-name")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:43:70 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
43 expect(container.querySelector(".expression-name")!.innerHTML).toBe(expressionName);
~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:55:64 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
55 expect(container.querySelector(".expression-data-type")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:56:75 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
56 expect(container.querySelector(".expression-data-type")!.innerHTML).toBe("(" + dataType + ")");
~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:72:69 - error TS2339: Property 'toBeFalsy' does not exist on type 'Assertion'.
72 expect(container.querySelector(".literal-expression-header")).toBeFalsy();
~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:87:69 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
87 expect(container.querySelector(".literal-expression-header")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:112:62 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
112 expect(document.querySelector(".selector-menu-title")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:132:76 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
132 expect(container.querySelector(".literal-expression-body textarea")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:133:87 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
133 expect(container.querySelector(".literal-expression-body textarea")!.innerHTML).toBe(content);
~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:149:76 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
149 expect(container.querySelector(".literal-expression-body textarea")).toBeTruthy();
~~~~~~~~~~
tests/components/LiteralExpression/LiteralExpression.test.tsx:150:87 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
150 expect(container.querySelector(".literal-expression-body textarea")!.innerHTML).toBe("");
~~~~
FAIL tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx
● Test suite failed to run
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:51:73 - error TS2339: Property 'toBeDisabled' does not exist on type 'Assertion'.
51 expect(baseElement.querySelector(".context-menu-container button")).toBeDisabled();
~~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:52:73 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
52 expect(baseElement.querySelector(".context-menu-container button")).toHaveTextContent("Clear");
~~~~~~~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:73:77 - error TS2339: Property 'toBeDisabled' does not exist on type 'Assertion'.
73 expect(baseElement.querySelector(".context-menu-container button")).not.toBeDisabled();
~~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:74:73 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
74 expect(baseElement.querySelector(".context-menu-container button")).toBeTruthy();
~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:75:73 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
75 expect(baseElement.querySelector(".context-menu-container button")).toHaveTextContent("Clear");
~~~~~~~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:96:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
96 expect(baseElement.querySelector(".logic-type-selector")).toBeTruthy();
~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:97:63 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
97 expect(baseElement.querySelector(".logic-type-selector")).toHaveClass("logic-type-selected");
~~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:129:70 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
129 expect(screen.baseElement.querySelector(".logic-type-selector")).toBeTruthy();
~~~~~~~~~~
tests/components/LogicTypeSelector/LogicTypeSelector.test.tsx:130:70 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
130 expect(screen.baseElement.querySelector(".logic-type-selector")).toHaveClass("logic-type-not-present");
~~~~~~~~~~~
FAIL tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx
● Test suite failed to run
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:37:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
37 expect(container.querySelector(".pmml-literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:38:72 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
38 expect(container.querySelector(".pmml-literal-expression button")).toContainHTML(noOptionsLabel);
~~~~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:55:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
55 expect(container.querySelector(".pmml-literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:56:72 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
56 expect(container.querySelector(".pmml-literal-expression button")).toContainHTML(noOptionsLabel);
~~~~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:73:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
73 expect(container.querySelector(".pmml-literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:74:72 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
74 expect(container.querySelector(".pmml-literal-expression button")).toContainHTML(selectedOption);
~~~~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:95:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
95 expect(container.querySelector(".pmml-literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/PMMLLiteralExpression/PMMLLiteralExpression.test.tsx:96:72 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
96 expect(container.querySelector(".pmml-literal-expression button")).toContainHTML(changedOption);
~~~~~~~~~~~~~
FAIL tests/components/InvocationExpression/InvocationExpression.test.tsx
● Test suite failed to run
tests/components/InvocationExpression/InvocationExpression.test.tsx:37:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
37 expect(container.querySelector(".invocation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:38:69 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
38 expect(container.querySelector(".invocation-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:39:75 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
39 expect(container.querySelector(".invocation-expression table thead")).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:40:81 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
40 expect(container.querySelectorAll(".invocation-expression table thead tr")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:41:81 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
41 expect(container.querySelectorAll(".invocation-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:42:91 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
42 expect(container.querySelectorAll(".invocation-expression table tbody td.data-cell")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:54:7 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
54 ).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:57:7 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
57 ).toContainHTML(
~~~~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:73:112 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
73 expect((container.querySelector(".invocation-expression .function-definition") as HTMLInputElement).value).toBe(
~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:105:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
105 expect(container.querySelector(".invocation-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/InvocationExpression/InvocationExpression.test.tsx:106:81 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
106 expect(container.querySelectorAll(".invocation-expression table tbody tr")).toHaveLength(2);
~~~~~~~~~~~~
FAIL tests/components/ListExpression/ListExpression.test.tsx
● Test suite failed to run
tests/components/ListExpression/ListExpression.test.tsx:32:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
32 expect(container.querySelector(".list-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:33:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
33 expect(container.querySelector(".list-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:34:69 - error TS2339: Property 'toBeNull' does not exist on type 'Assertion'.
34 expect(container.querySelector(".list-expression table thead")).toBeNull();
~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:35:75 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
35 expect(container.querySelectorAll(".list-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:36:85 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
36 expect(container.querySelectorAll(".list-expression table tbody td.data-cell")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:46:102 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
46 expect(container.querySelector(".list-expression table tbody td.data-cell .literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:51:7 - error TS2339: Property 'toBeEmpty' does not exist on type 'Assertion'.
51 ).toBeEmpty();
~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:63:60 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
63 expect(container.querySelectorAll(".list-expression")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:64:108 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
64 expect(container.querySelector(".list-expression .table-component.id1 td.data-cell .list-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ListExpression/ListExpression.test.tsx:69:7 - error TS2339: Property 'toBeEmpty' does not exist on type 'Assertion'.
69 ).toBeEmpty();
~~~~~~~~~
FAIL tests/components/FunctionExpression/FunctionKindSelector.test.tsx
● Test suite failed to run
tests/components/FunctionExpression/FunctionKindSelector.test.tsx:36:64 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
36 expect(container.querySelector(".selected-function-kind")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionKindSelector.test.tsx:37:64 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
37 expect(container.querySelector(".selected-function-kind")).toContainHTML("F");
~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionKindSelector.test.tsx:56:38 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
56 expect(mockedFunctionKindSelect).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionKindSelector.test.tsx:57:38 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
57 expect(mockedFunctionKindSelect).toHaveBeenCalledWith(FunctionKind.Java);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ExpressionContainer/ExpressionContainer.test.tsx
● Test suite failed to run
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:35:23 - error TS2339: Property 'toMatchSnapshot' does not exist on type 'Assertion'.
35 expect(container).toMatchSnapshot();
~~~~~~~~~~~~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:49:58 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
49 expect(container.querySelector(".expression-title")).toBeTruthy();
~~~~~~~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:50:69 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
50 expect(container.querySelector(".expression-title")!.innerHTML).toBe(expressionTitle);
~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:63:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
63 expect(container.querySelector(".expression-type")).toBeTruthy();
~~~~~~~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:64:68 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
64 expect(container.querySelector(".expression-type")!.innerHTML).toBe("(" + LogicType.LiteralExpression + ")");
~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:77:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
77 expect(container.querySelector(".expression-type")).toBeTruthy();
~~~~~~~~~~
tests/components/ExpressionContainer/ExpressionContainer.test.tsx:78:68 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
78 expect(container.querySelector(".expression-type")!.innerHTML).toBe("(<Undefined>)");
~~~~
FAIL tests/components/EditExpressionMenu/EditTextInline.test.tsx
● Test suite failed to run
tests/components/EditExpressionMenu/EditTextInline.test.tsx:31:42 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
31 expect(container.querySelector("p")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:32:42 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
32 expect(container.querySelector("p")).toHaveTextContent(value);
~~~~~~~~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:43:46 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
43 expect(container.querySelector("input")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:44:46 - error TS2339: Property 'toHaveValue' does not exist on type 'Assertion'.
44 expect(container.querySelector("input")).toHaveValue(value);
~~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:62:32 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
62 expect(mockedOnTextChange).toHaveBeenCalledWith(newValue);
~~~~~~~~~~~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:80:32 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
80 expect(mockedOnTextChange).toHaveBeenCalledWith(newValue);
~~~~~~~~~~~~~~~~~~~~
tests/components/EditExpressionMenu/EditTextInline.test.tsx:98:32 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
98 expect(mockedOnTextChange).toHaveBeenCalledTimes(0);
~~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextEntryInfoCell.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:49:65 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
49 expect(container.querySelector(".context-entry-info-cell")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:50:77 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
50 expect(container.querySelector(".context-entry-info-cell .entry-info")).toHaveClass(id);
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:51:77 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
51 expect(container.querySelector(".context-entry-info-cell .entry-info")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:52:95 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
52 expect(container.querySelector(".context-entry-info-cell .entry-info .entry-definition")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:53:107 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
53 expect(container.querySelector(".context-entry-info-cell .entry-info .entry-definition .entry-name")).toContainHTML(
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:58:7 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
58 ).toContainHTML(dataType);
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:83:31 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
83 expect(mockedOnRowUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfoCell.test.tsx:84:31 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
84 expect(mockedOnRowUpdate).toHaveBeenCalledWith(0, {
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextExpression.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextExpression.test.tsx:43:60 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
43 expect(container.querySelector(".context-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:44:66 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
44 expect(container.querySelector(".context-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:45:78 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
45 expect(container.querySelectorAll(".context-expression table tbody tr")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:46:89 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
46 expect(container.querySelector(".context-expression table tbody tr:first-of-type")).toContainHTML("ContextEntry-1");
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:47:88 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
47 expect(container.querySelector(".context-expression table tbody tr:last-of-type")).toContainHTML("result");
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:103:60 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
103 expect(container.querySelector(".context-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:104:66 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
104 expect(container.querySelector(".context-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextExpression.test.tsx:105:78 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
105 expect(container.querySelectorAll(".context-expression table tbody tr")).toHaveLength(3);
~~~~~~~~~~~~
FAIL tests/components/DecisionTableExpression/HitPolicySelector.test.tsx
● Test suite failed to run
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:39:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
39 expect(baseElement.querySelector(".selected-hit-policy")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:40:63 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
40 expect(baseElement.querySelector(".selected-hit-policy")).toHaveTextContent("C");
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:54:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
54 expect(baseElement.querySelector(".selected-hit-policy")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:55:63 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
55 expect(baseElement.querySelector(".selected-hit-policy")).toHaveTextContent("C#");
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:69:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
69 expect(baseElement.querySelector(".selected-hit-policy")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:70:63 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
70 expect(baseElement.querySelector(".selected-hit-policy")).toHaveTextContent("A");
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:87:82 - error TS2339: Property 'toHaveAttribute' does not exist on type 'Assertion'.
87 expect(baseElement.querySelector(".builtin-aggregator-selector button")).not.toHaveAttribute("disabled");
~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:104:78 - error TS2339: Property 'toHaveAttribute' does not exist on type 'Assertion'.
104 expect(baseElement.querySelector(".builtin-aggregator-selector button")).toHaveAttribute("disabled");
~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:126:35 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
126 expect(mockedHitPolicySelect).toHaveBeenCalledWith(changedHitPolicy);
~~~~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/HitPolicySelector.test.tsx:148:37 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
148 expect(mockedAggregationSelect).toHaveBeenCalledWith(changedAggregation);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx
● Test suite failed to run
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:41:67 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
41 expect(container.querySelector(".decision-table-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:42:73 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
42 expect(container.querySelector(".decision-table-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:45:7 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
45 ).toHaveLength(3);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:46:107 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
46 expect(container.querySelectorAll(".decision-table-expression table thead tr:last-of-type th.input")).toHaveLength(
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:49:108 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
49 expect(container.querySelectorAll(".decision-table-expression table thead tr:last-of-type th.output")).toHaveLength(
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:54:7 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
54 ).toHaveLength(1);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:55:85 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
55 expect(container.querySelectorAll(".decision-table-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:67:88 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
67 expect(container.querySelector(".decision-table-expression .selected-hit-policy")).toContainHTML("U");
~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:83:88 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
83 expect(container.querySelector(".decision-table-expression .selected-hit-policy")).toContainHTML("F");
~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:95:98 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
95 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")).toHaveLength(3);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:96:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
96 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[0]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:99:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
99 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[1]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:102:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
102 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[2]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:138:7 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
138 ).toHaveTextContent(inputName);
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:141:7 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
141 ).toHaveTextContent(outputName);
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:144:7 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
144 ).toHaveTextContent(annotationName);
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:145:98 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
145 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")).toHaveLength(3);
~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:146:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
146 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[0]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:149:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
149 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[1]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:152:101 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion'.
152 expect(container.querySelectorAll(".decision-table-expression table tbody tr td.data-cell")[2]).toHaveTextContent(
~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:175:39 - error TS2339: Property 'toHaveBeenLastCalledWith' does not exist on type 'Assertion'.
175 expect(mockedBroadcastDefinition).toHaveBeenLastCalledWith(
~~~~~~~~~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:176:14 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
176 expect.objectContaining({
~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:178:18 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
178 expect.objectContaining({
~~~~~~~~~~~~~~~~
tests/components/DecisionTableExpression/DecisionTableExpression.test.tsx:183:18 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
183 expect.objectContaining({
~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx:58:71 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
58 expect(container.querySelector(".context-entry-expression-cell")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx:59:79 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
59 expect(container.querySelector(".entry-expression .logic-type-selector")).toHaveClass("logic-type-not-present");
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx:90:31 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
90 expect(mockedOnRowUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpressionCell.test.tsx:91:31 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
91 expect(mockedOnRowUpdate).toHaveBeenCalledWith(rowIndex, {
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextEntryInfo.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextEntryInfo.test.tsx:45:52 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
45 expect(container.querySelector(".entry-info")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:46:52 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
46 expect(container.querySelector(".entry-info")).toHaveClass(id);
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:47:70 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
47 expect(container.querySelector(".entry-info .entry-definition")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:48:82 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
48 expect(container.querySelector(".entry-info .entry-definition .entry-name")).toContainHTML(name);
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:49:87 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
49 expect(container.querySelector(".entry-info .entry-definition .entry-data-type")).toContainHTML(dataType);
~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:76:40 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
76 expect(mockedOnContextEntryUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryInfo.test.tsx:77:40 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
77 expect(mockedOnContextEntryUpdate).toHaveBeenCalledWith(newValue, dataType);
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/ContextExpression/ContextEntryExpression.test.tsx
● Test suite failed to run
tests/components/ContextExpression/ContextEntryExpression.test.tsx:36:58 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
36 expect(container.querySelector(".entry-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:37:79 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
37 expect(container.querySelector(".entry-expression .logic-type-selector")).toHaveClass("logic-type-not-present");
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:50:58 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
50 expect(container.querySelector(".entry-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:51:79 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
51 expect(container.querySelector(".entry-expression .logic-type-selector")).toHaveClass("logic-type-selected");
~~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:64:58 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
64 expect(container.querySelector(".entry-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/ContextExpression/ContextEntryExpression.test.tsx:65:79 - error TS2339: Property 'toHaveClass' does not exist on type 'Assertion'.
65 expect(container.querySelector(".entry-expression .logic-type-selector")).toHaveClass("logic-type-not-present");
~~~~~~~~~~~
FAIL tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx
● Test suite failed to run
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:49:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
49 expect(container.querySelector(".selector-menu-title")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:50:72 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
50 expect(container.querySelector(".selector-menu-title")!.innerHTML).toBe(title);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:74:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
74 expect(container.querySelector(".expression-name label")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:75:74 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
75 expect(container.querySelector(".expression-name label")!.innerHTML).toBe(nameFieldLabel);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:99:68 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
99 expect(container.querySelector(".expression-data-type label")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:100:79 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
100 expect(container.querySelector(".expression-data-type label")!.innerHTML).toBe(dataTypeFieldLabel);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:122:69 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
122 expect(container.querySelector("[id^='pf-select-toggle-id-']")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:123:98 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
123 expect((container.querySelector("[id^='pf-select-toggle-id-']")! as HTMLInputElement).value).toBe(
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:149:69 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
149 expect(container.querySelector("[id^='pf-select-toggle-id-']")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:150:98 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
150 expect((container.querySelector("[id^='pf-select-toggle-id-']")! as HTMLInputElement).value).toBe(selectedDataType);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:173:57 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
173 expect(container.querySelector("#expression-name")).toBeTruthy();
~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:174:86 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
174 expect((container.querySelector("#expression-name")! as HTMLInputElement).value).toBe(expressionName);
~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:201:38 - error TS2339: Property 'toHaveBeenCalled' does not exist on type 'Assertion'.
201 expect(mockedOnExpressionUpdate).toHaveBeenCalled();
~~~~~~~~~~~~~~~~
tests/components/EditExpressionMenu/EditExpressionMenu.test.tsx:202:38 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
202 expect(mockedOnExpressionUpdate).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
FAIL tests/components/BoxedExpressionEditor/BoxedExpressionEditor.test.tsx
● Test suite failed to run
tests/components/BoxedExpressionEditor/BoxedExpressionEditor.test.tsx:33:23 - error TS2339: Property 'toMatchSnapshot' does not exist on type 'Assertion'.
33 expect(container).toMatchSnapshot();
~~~~~~~~~~~~~~~
FAIL tests/components/FunctionExpression/FunctionExpression.test.tsx
● Test suite failed to run
tests/components/FunctionExpression/FunctionExpression.test.tsx:55:61 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
55 expect(container.querySelector(".function-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:56:67 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
56 expect(container.querySelector(".function-expression table")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:57:73 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
57 expect(container.querySelector(".function-expression table thead")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:58:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
58 expect(container.querySelectorAll(".function-expression table thead tr")).toHaveLength(2);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:59:79 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
59 expect(container.querySelectorAll(".function-expression table tbody tr")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:60:89 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
60 expect(container.querySelectorAll(".function-expression table tbody td.data-cell")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:76:90 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
76 expect(container.querySelector(".function-expression table thead .parameters-list")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:77:92 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
77 expect(container.querySelector(".function-expression table thead .parameters-list p")).toContainHTML(
~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:95:39 - error TS2339: Property 'toHaveBeenLastCalledWith' does not exist on type 'Assertion'.
95 expect(mockedBroadcastDefinition).toHaveBeenLastCalledWith({
~~~~~~~~~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:124:63 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
124 expect(baseElement.querySelector(".parameters-editor")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:125:85 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
125 expect(baseElement.querySelector(".parameters-editor .parameters-container")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:126:105 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
126 expect(baseElement.querySelectorAll(".parameters-editor .parameters-container .parameter-entry")).toHaveLength(0);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:146:105 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
146 expect(baseElement.querySelectorAll(".parameters-editor .parameters-container .parameter-entry")).toHaveLength(1);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:147:88 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
147 expect((baseElement.querySelector(".parameter-name") as HTMLInputElement).value).toBe(paramName);
~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:148:97 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
148 expect((baseElement.querySelector(EDIT_EXPRESSION_DATA_TYPE)! as HTMLInputElement).value).toBe(paramDataType);
~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:233:16 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
233 expect.objectContaining({
~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:270:41 - error TS2339: Property 'toHaveBeenCalledWith' does not exist on type 'Assertion'.
270 expect(mockedBroadcastDefinition).toHaveBeenCalledWith({
~~~~~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:295:88 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion'.
295 expect(container.querySelector(".function-expression table tbody td.data-cell")).toBeVisible();
~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:296:108 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
296 expect(container.querySelector(".function-expression table tbody td.data-cell .literal-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:303:9 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
303 ).toBe("");
~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:323:88 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion'.
323 expect(container.querySelector(".function-expression table tbody td.data-cell")).toBeVisible();
~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:326:9 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
326 ).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:329:9 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
329 ).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:447:41 - error TS2339: Property 'toHaveBeenLastCalledWith' does not exist on type 'Assertion'.
447 expect(mockedBroadcastDefinition).toHaveBeenLastCalledWith(
~~~~~~~~~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:448:16 - error TS2339: Property 'objectContaining' does not exist on type 'ExpectStatic'.
448 expect.objectContaining({
~~~~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:488:86 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion'.
488 expect(container.querySelector(".function-expression table tbody td.data-cell")).toBeVisible();
~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:489:106 - error TS2339: Property 'toBeTruthy' does not exist on type 'Assertion'.
489 expect(container.querySelector(".function-expression table tbody td.data-cell .context-expression")).toBeTruthy();
~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:490:57 - error TS2339: Property 'toHaveLength' does not exist on type 'Assertion'.
490 expect(container.querySelectorAll(entriesSelector)).toHaveLength(2);
~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:491:60 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
491 expect(container.querySelectorAll(entriesSelector)[0]).toContainHTML(firstEntry);
~~~~~~~~~~~~~
tests/components/FunctionExpression/FunctionExpression.test.tsx:492:60 - error TS2339: Property 'toContainHTML' does not exist on type 'Assertion'.
492 expect(container.querySelectorAll(entriesSelector)[1]).toContainHTML(secondEntry);
~~~~~~~~~~~~~
FAIL tests/api/BoxedExpressionEditor.test.ts
● Test suite failed to run
tests/api/BoxedExpressionEditor.test.ts:26:39 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
26 expect(mockedFunctionToExecute).toHaveBeenCalledTimes(1);
~~~~~~~~~~~~~~~~~~~~~
tests/api/BoxedExpressionEditor.test.ts:34:39 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
34 expect(mockedFunctionToExecute).toHaveBeenCalledTimes(0);
~~~~~~~~~~~~~~~~~~~~~
tests/api/BoxedExpressionEditor.test.ts:47:39 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
47 expect(mockedFunctionToExecute).toHaveBeenCalledTimes(0);
~~~~~~~~~~~~~~~~~~~~~
tests/api/BoxedExpressionEditor.test.ts:55:39 - error TS2339: Property 'toHaveBeenCalledTimes' does not exist on type 'Assertion'.
55 expect(mockedFunctionToExecute).toHaveBeenCalledTimes(1);
~~~~~~~~~~~~~~~~~~~~~
FAIL tests/api/EnumUtils.test.ts
● Test suite failed to run
tests/api/EnumUtils.test.ts:26:48 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
26 expect(getEnumKeyByEnumValue(Enum, "val")).toBe("OneKey");
~~~~
tests/api/EnumUtils.test.ts:35:48 - error TS2339: Property 'toBe' does not exist on type 'Assertion'.
35 expect(getEnumKeyByEnumValue(Enum, "val")).toBe("AnotherKey");
~~~~
tests/api/EnumUtils.test.ts:44:56 - error TS2339: Property 'toBeNull' does not exist on type 'Assertion'.
44 expect(getEnumKeyByEnumValue(Enum, "not present")).toBeNull();
~~~~~~~~
Test Suites: 33 failed, 33 total
Tests: 0 total
Snapshots: 0 total
Time: 17.099 s
[run-script-if] Error executing 'jest --silent --verbose --passWithNoTests'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment