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 226b2aa commit 5eb9261
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/buildSummary.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@ import * as core from '@actions/core';
import { readFile } from 'fs';
import * as fs from 'fs';

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

}
),
}));

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

0 comments on commit 5eb9261

Please sign in to comment.