diff options
author | 2021-06-16 16:34:14 +0100 | |
---|---|---|
committer | 2021-06-16 16:34:14 +0100 | |
commit | b48db31bdc8d317f8aaaa6752c14e93e44db95cf (patch) | |
tree | 379d323aa8fecfb59426b3567e694a8e791871cb /gui-editors/gui-editor-apex/src/main/resources/webapp/js/__test__/ApexTable.test.js | |
parent | 85aa90f957d962ab68a745ba938e144ae40c7a53 (diff) |
Increase code coverage on gui
- increase code coverage on gui js
Issue-ID: POLICY-3351
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: I4c633b0a46f75ceb3f6a4721e8311d938168982e
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/resources/webapp/js/__test__/ApexTable.test.js')
-rw-r--r-- | gui-editors/gui-editor-apex/src/main/resources/webapp/js/__test__/ApexTable.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/resources/webapp/js/__test__/ApexTable.test.js b/gui-editors/gui-editor-apex/src/main/resources/webapp/js/__test__/ApexTable.test.js index 894d668..864b0c9 100644 --- a/gui-editors/gui-editor-apex/src/main/resources/webapp/js/__test__/ApexTable.test.js +++ b/gui-editors/gui-editor-apex/src/main/resources/webapp/js/__test__/ApexTable.test.js @@ -17,7 +17,7 @@ * ============LICENSE_END========================================================= */ -const ApexTable = require("../ApexTable") +const ApexTable = require("../ApexTable"); test("Test createTable", () => { const expected = document.createElement("table"); @@ -25,7 +25,7 @@ test("Test createTable", () => { expected.className = "apexTable ebTable elTablelib-Table-table ebTable_striped"; const actual = ApexTable.createTable(expected.id); - expect(actual).toEqual(actual); + expect(actual).toEqual(expected); }); test("Test setRowHover", () => { |