Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhoski committed May 24, 2024
1 parent 118fcd8 commit bc0db58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/buildSummary.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { readFile } from 'fs';

jest.mock('fs', () => ({
readFile: jest.fn((path: string, options: { encoding: string; flag?: string }, callback: (err: NodeJS.ErrnoException | null, data: string) => void) => {
})));
}),
}));

jest.mock('@actions/core', () => ({
summary: {
Expand Down

0 comments on commit bc0db58

Please sign in to comment.