Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/__test__/ref-helper.test.ts
diff options
context:
space:
mode:
authorCory Miller <13227161+cory-miller@users.noreply.github.com>2024-04-24 12:04:10 -0400
committerGitHub <noreply@github.com>2024-04-24 12:04:10 -0400
commit77eabb37dbe5cc705ca71a065bc5b19443b802dd (patch)
tree5debd944e8396fc3c708d1252d7d26c1400c2b10 /__test__/ref-helper.test.ts
parent92d604f0b71b629ce5b6949f8e3a3e9f1c17bad9 (diff)
Update NPM dependencies (#1703)
* Update dependencies manually * Format files * Update licenses
Diffstat (limited to '__test__/ref-helper.test.ts')
-rw-r--r--__test__/ref-helper.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/__test__/ref-helper.test.ts b/__test__/ref-helper.test.ts
index 0801532..8a8302a 100644
--- a/__test__/ref-helper.test.ts
+++ b/__test__/ref-helper.test.ts
@@ -7,11 +7,11 @@ let git: IGitCommandManager
describe('ref-helper tests', () => {
beforeEach(() => {
- git = ({} as unknown) as IGitCommandManager
+ git = {} as unknown as IGitCommandManager
})
it('getCheckoutInfo requires git', async () => {
- const git = (null as unknown) as IGitCommandManager
+ const git = null as unknown as IGitCommandManager
try {
await refHelper.getCheckoutInfo(git, 'refs/heads/my/branch', commit)
throw new Error('Should not reach here')