initial mvp version

This commit is contained in:
Conor Sloan
2024-02-02 12:52:31 -05:00
committed by Edwin Sirko
parent 5d945681fa
commit d057826061
36 changed files with 90248 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* Unit tests for the action's entrypoint, src/index.ts
*/
import * as main from '../src/main'
// Mock the action's entrypoint
const runMock = jest.spyOn(main, 'run').mockImplementation()
describe('index', () => {
it('calls run when imported', async () => {
// eslint-disable-next-line @typescript-eslint/no-require-imports
require('../src/index')
expect(runMock).toHaveBeenCalled()
})
})