Skip to content

Commit b823620

Browse files
committed
upgrade
1 parent 9685696 commit b823620

7 files changed

Lines changed: 297 additions & 277 deletions

File tree

__tests__/index.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
* Unit tests for the action's entrypoint, src/index.ts
33
*/
44

5-
import * as main from '../src/main';
5+
import * as main from "../src/main";
66

77
// Mock the action's entrypoint
8-
const runMock = jest.spyOn(main, 'run').mockImplementation();
8+
const runMock = jest.spyOn(main, "run").mockImplementation();
99

10-
describe('index', () => {
11-
it('calls run when imported', () => {
10+
describe("index", () => {
11+
it("calls run when imported", () => {
1212
// eslint-disable-next-line @typescript-eslint/no-require-imports
13-
require('../src/index');
13+
require("../src/index");
1414

1515
expect(runMock).toHaveBeenCalled();
1616
});

0 commit comments

Comments
 (0)