init attest action

This commit is contained in:
ejahnGithub
2024-02-22 07:53:51 -08:00
parent d9dd4e3410
commit e3c685d193
48 changed files with 85876 additions and 1630 deletions
-17
View File
@@ -1,17 +0,0 @@
/**
* 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()
})
})