Skip to content

Commit

Permalink
Option to skip testing disk images
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 2, 2023
1 parent 9da196f commit 6e81f14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/archive/hdi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import {platformIsMac, specFixturesPath, testArchive} from '../archive.spec';

import {ArchiveHdi} from './hdi';

// eslint-disable-next-line no-process-env
const NO_HDI = /^(1|true|yes)$/i.test(process.env['SHOCKPKG_NO_HDI'] || '');

void describe('archive/hdi', () => {
void describe('ArchiveHdi', () => {
void it('file extensions', () => {
Expand All @@ -18,7 +21,7 @@ void describe('archive/hdi', () => {

testArchive(
ArchiveHdi,
platformIsMac
platformIsMac && !NO_HDI
? [
'test-archive-hybrid.iso',
'test-archive-hfsp.dmg',
Expand Down

0 comments on commit 6e81f14

Please sign in to comment.