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

@@ -7,6 +7,8 @@ import plist from 'plist';
import * as fileUtils from '../dist/cjs/file-utils';
import { getRawHeader } from '@electron/asar';
declare const expect: typeof import('@jest/globals').expect;
// We do a LOT of verifications in `verifyApp` 😅
// exec universal binary -> verify ALL asars -> verify ALL app dirs -> verify ALL asar integrity entries
// plus some tests create fixtures at runtime