diff --git a/__tests__/table.test.ts b/__tests__/table.test.ts index b7328f67..dbf9d3cc 100644 --- a/__tests__/table.test.ts +++ b/__tests__/table.test.ts @@ -39,10 +39,6 @@ const NORMAL_TABLE = [ ] const FLAKY_TABLE = [ [ - { - 'data': '', - 'header': true - }, { 'data': 'Test', 'header': true @@ -73,10 +69,6 @@ describe('buildSummaryTables', () => { expect(table).toStrictEqual(NORMAL_TABLE) expect(detailTable).toStrictEqual([ [ - { - "data": "", - "header": true - }, { "data": "Test", "header": true @@ -87,17 +79,20 @@ describe('buildSummaryTables', () => { } ], [ - "checkName", + { + "data": "checkName", + "colspan": "2" + } + ], + [ "ABC-0199: XMPP Ping/PingIntegrationTest.pingAsync (Normal)", "✅ pass" ], [ - "checkName", "ABC-0199: XMPP Ping/PingIntegrationTest.pingServer (Normal)", "✅ pass" ], [ - "checkName", "ABC-0045: Multi-User Chat/MultiUserIntegrationTest.mucRoleTestForReceivingModerator (Normal)", "✅ pass" ] @@ -123,10 +118,6 @@ describe('buildSummaryTables', () => { expect(table).toStrictEqual(NORMAL_TABLE) expect(detailTable).toStrictEqual([ [ - { - "data": "", - "header": true - }, { "data": "Test", "header": true @@ -137,27 +128,32 @@ describe('buildSummaryTables', () => { } ], [ - "ABC-0199: XMPP Ping", - "", - "" + { + "data": "checkName", + "colspan": "2" + } + ], + [ + { + "data": "ABC-0199: XMPP Ping", + "colspan": "2" + } ], [ - "", "ABC-0199: XMPP Ping/PingIntegrationTest.pingAsync (Normal)", "✅ pass" ], [ - "", "ABC-0199: XMPP Ping/PingIntegrationTest.pingServer (Normal)", "✅ pass" ], [ - "ABC-0045: Multi-User Chat", - "", - "" + { + "data": "ABC-0045: Multi-User Chat", + "colspan": "2" + } ], [ - "", "ABC-0045: Multi-User Chat/MultiUserIntegrationTest.mucRoleTestForReceivingModerator (Normal)", "✅ pass" ]