Skip to content

Commit c20f01e

Browse files
authored
chore: add percentage value to assertion (#6808)
1 parent cdc4bbd commit c20f01e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

integration-tests/tests/api/target/usage.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,11 +2185,13 @@ const SubscriptionSchemaCheckQuery = graphql(/* GraphQL */ `
21852185
hash
21862186
name
21872187
countFormatted
2188+
percentage
21882189
percentageFormatted
21892190
}
21902191
topAffectedClients {
21912192
name
21922193
countFormatted
2194+
percentage
21932195
percentageFormatted
21942196
}
21952197
}
@@ -2893,13 +2895,15 @@ test.concurrent(
28932895
countFormatted: '1',
28942896
hash: 'c1bbc8385a4a6f4e4988be7394800adc',
28952897
name: 'anonymous',
2898+
percentage: 100,
28962899
percentageFormatted: '100.00%',
28972900
},
28982901
]);
28992902
expect(node.usageStatistics?.topAffectedClients).toEqual([
29002903
{
29012904
countFormatted: '1',
29022905
name: 'integration-tests',
2906+
percentage: 100,
29032907
percentageFormatted: '100.00%',
29042908
},
29052909
]);

0 commit comments

Comments
 (0)