test: add explicit imports for jest functions (#128)

* test: add explicit imports for `jest` functions

* add workaround for non-`.spec.ts` file
This commit is contained in:
Erik Moura
2025-04-01 03:17:05 -03:00
committed by GitHub
parent 2b67c905a6
commit 977baa4d42
5 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import * as path from 'path';
import { sha } from '../src/sha';
import { describe, expect, it } from '@jest/globals';
describe('sha', () => {
it('should correctly hash a file', async () => {