diff --git a/.licensed.yml b/.licensed.yml index 15f6198..e10431b 100644 --- a/.licensed.yml +++ b/.licensed.yml @@ -11,4 +11,5 @@ allowed: - unlicense reviewed: - npm: \ No newline at end of file + npm: + - "@actions/http-client" # MIT diff --git a/__test__/git-directory-helper.test.ts b/__test__/git-directory-helper.test.ts index a8ae940..4dd5fda 100644 --- a/__test__/git-directory-helper.test.ts +++ b/__test__/git-directory-helper.test.ts @@ -28,6 +28,14 @@ jest.unstable_mockModule('@actions/core', () => ({ // Dynamic imports after mocking const core = await import('@actions/core') const gitDirectoryHelper = await import('../src/git-directory-helper.js') + +type IGitCommandManager = + import('../src/git-command-manager.js').IGitCommandManager + +const testWorkspace = path.join(__dirname, '_temp', 'git-directory-helper') +let repositoryPath: string +let repositoryUrl: string +let clean: boolean let ref: string let git: IGitCommandManager