Skip to content

Commit 881969a

Browse files
committed
Add O_CREATE constant to index.test.js to pass npm test
1 parent c29264f commit 881969a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jest.mock('@actions/core');
99
jest.mock('fs', () => ({
1010
promises: { access: jest.fn() },
1111
readFileSync: jest.fn(),
12+
constants: {
13+
O_CREATE: jest.fn()
14+
}
1215
}));
1316

1417
const mockEcsRegisterTaskDef = jest.fn();

0 commit comments

Comments
 (0)