feat: initial version

This commit is contained in:
Peter 2024-05-02 18:38:23 +02:00
commit 2fc1d51eb6
Signed by: prskr
GPG key ID: F56BED6903BC5E37
37 changed files with 66401 additions and 0 deletions
__tests__

17
__tests__/index.test.ts Normal file
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.ts')
expect(runMock).toHaveBeenCalled()
})
})