diff --git a/utils/__tests__/validate_install_plans.test.js b/utils/__tests__/validate_install_plans.test.js index 840e367bf0..abe065d1ab 100644 --- a/utils/__tests__/validate_install_plans.test.js +++ b/utils/__tests__/validate_install_plans.test.js @@ -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(() => {});