Skip to content

Commit

Permalink
fix: broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oshinongit committed Sep 4, 2024
1 parent ed34fcc commit 43756ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/aws-pipeline.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe('AWSPipeline', () => {
's3Dir'
);

expect(pipeline.fileExists).toReturnTimes(2);
expect(pipeline.fileExists).toReturnTimes(3);
expect(mcMock.send).toHaveBeenCalled;
});

Expand Down
2 changes: 1 addition & 1 deletion tests/vmaf.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import getAnalysisData from '../src/get-analysis-data';
describe('vmaf', () => {
it('Gets VMAF score from local file', async () => {
const vmaf = await getAnalysisData('tests/resources/vmaf.json');
expect(vmaf.vmafList[0].vmaf).toEqual(85.628489);
expect(vmaf.vmafList[0].vmafScores.vmaf).toEqual(85.628489);
});
});

0 comments on commit 43756ad

Please sign in to comment.