test: improve coverage (#102)

This commit is contained in:
Erick Zhao
2024-06-17 15:15:20 -07:00
committed by GitHub
parent dfe5236357
commit 03e27e5a1d
8 changed files with 170 additions and 24 deletions

View File

@@ -10,8 +10,8 @@ describe('file-utils', () => {
let noAsarFiles: AppFile[];
beforeAll(async () => {
asarFiles = await getAllAppFiles(path.resolve(appsPath, 'Asar.app'));
noAsarFiles = await getAllAppFiles(path.resolve(appsPath, 'NoAsar.app'));
asarFiles = await getAllAppFiles(path.resolve(appsPath, 'Arm64Asar.app'));
noAsarFiles = await getAllAppFiles(path.resolve(appsPath, 'Arm64NoAsar.app'));
});
it('should correctly identify plist files', async () => {