Skip to content

Commit

Permalink
- update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Nov 3, 2024
1 parent bc02967 commit 11d2c3e
Showing 1 changed file with 20 additions and 24 deletions.
44 changes: 20 additions & 24 deletions __tests__/table.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ const NORMAL_TABLE = [
]
const FLAKY_TABLE = [
[
{
'data': '',
'header': true
},
{
'data': 'Test',
'header': true
Expand Down Expand Up @@ -73,10 +69,6 @@ describe('buildSummaryTables', () => {
expect(table).toStrictEqual(NORMAL_TABLE)
expect(detailTable).toStrictEqual([
[
{
"data": "",
"header": true
},
{
"data": "Test",
"header": true
Expand All @@ -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"
]
Expand All @@ -123,10 +118,6 @@ describe('buildSummaryTables', () => {
expect(table).toStrictEqual(NORMAL_TABLE)
expect(detailTable).toStrictEqual([
[
{
"data": "",
"header": true
},
{
"data": "Test",
"header": true
Expand All @@ -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"
]
Expand Down

0 comments on commit 11d2c3e

Please sign in to comment.