Skip to content

Commit

Permalink
Add O_CREATE constant to index.test.js to pass npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-chmb committed Nov 25, 2024
1 parent c29264f commit 881969a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jest.mock('@actions/core');
jest.mock('fs', () => ({
promises: { access: jest.fn() },
readFileSync: jest.fn(),
constants: {
O_CREATE: jest.fn()
}
}));

const mockEcsRegisterTaskDef = jest.fn();
Expand Down

0 comments on commit 881969a

Please sign in to comment.