Skip to content

Commit

Permalink
test: Fix failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Anguiano committed Jan 3, 2024
1 parent 9d080bc commit 70072f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/__tests__/validate_install_plans.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

import { getInstallPlanId } from '../create-validate-install-plans';

import * as fs from 'fs';
import {readFileSync} from 'fs';
const fs = {readFileSync};

jest.mock('@actions/core');
jest.spyOn(global.console, 'error').mockImplementation(() => {});
Expand Down

0 comments on commit 70072f3

Please sign in to comment.