Skip to content

Commit

Permalink
fix: failing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangarano committed Feb 5, 2025
1 parent 599c8c8 commit 421a7c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const instanceReportTestWithFailure: InstanceReportTest = {
title: [suiteNameWithFailure, 'Test with failure'],
state: 'failed',
isFlaky: false,
expectedStatus: 'skipped',
expectedStatus: 'failed',
timeout: 0,
location: { ...location, file: 'testfile.ts' },
retries: 1,
Expand Down
4 changes: 2 additions & 2 deletions packages/cmd/src/services/convert/__tests__/instances.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ describe('createSuiteJson', () => {
],
},
(suiteJson: InstanceReport) => {
expect(suiteJson.results.stats.passes).toBe(2);
expect(suiteJson.results.stats.passes).toBe(0);
},
],
[
Expand All @@ -182,7 +182,7 @@ describe('createSuiteJson', () => {
).toBeCloseTo(expectedEndTime, -3);
expect(suiteJson.groupId).toBe(groupId);
expect(suiteJson.spec).toBe(spec);
expect(suiteJson.results.stats.failures).toBe(1);
expect(suiteJson.results.stats.failures).toBe(2);
},
],
])('%s', async (_, suite, assertion) => {
Expand Down

0 comments on commit 421a7c1

Please sign in to comment.