Skip to content

Commit

Permalink
fix: flakey tests
Browse files Browse the repository at this point in the history
  • Loading branch information
metju90 committed Dec 12, 2023
1 parent 2e5451c commit 93ae272
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/analysis.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('Functional test of analysis', () => {
{
files: 1,
isSupported: true,
lang: 'C++ (beta)',
lang: 'C++',
type: 'SUPPORTED',
},
{
Expand Down Expand Up @@ -281,7 +281,7 @@ describe('Functional test of analysis', () => {
{
files: 1,
isSupported: true,
lang: 'C++ (beta)',
lang: 'C++',
type: 'SUPPORTED',
},
{
Expand Down
4 changes: 2 additions & 2 deletions tests/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ describe('Requests to public API', () => {
if (response.value.status === AnalysisStatus.complete && response.value.type === 'sarif') {
expect(response.value.sarif.runs[0].results?.length).toBeGreaterThan(0);

expect(response.value.coverage).toIncludeAllMembers([
expect(response.value.coverage).toIncludeSameMembers([
{
files: 2,
isSupported: true,
Expand All @@ -337,7 +337,7 @@ describe('Requests to public API', () => {
{
files: 1,
isSupported: true,
lang: 'C++ (beta)',
lang: 'C++',
type: 'SUPPORTED',
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@
{
"files": 4,
"isSupported": false,
"lang": "C++ (beta)"
"lang": "C++"
},
{
"files": 1,
Expand Down

0 comments on commit 93ae272

Please sign in to comment.