Skip to content

Commit

Permalink
Tests: increase filesystem test timeouts (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm authored Sep 4, 2022
1 parent 990feec commit 9a23fd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ demo-magic.sh
*.gb
*.gba
*.gbc
*.nes
*.rom
*.zip

Expand Down
3 changes: 3 additions & 0 deletions test/modules/outputCleaner.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { jest } from '@jest/globals';
import path from 'path';

import OutputCleaner from '../../src/modules/outputCleaner.js';
Expand All @@ -6,6 +7,8 @@ import Options from '../../src/types/options.js';
import ROMFile from '../../src/types/romFile.js';
import ProgressBarFake from '../console/progressBarFake.js';

jest.setTimeout(10_000);

async function runOutputCleaner(writtenFilePathsToExclude: string[]): Promise<string[]> {
// Copy the fixture files to a temp directory
const temp = fsPoly.mkdtempSync();
Expand Down

0 comments on commit 9a23fd9

Please sign in to comment.