Skip to content

Commit

Permalink
Try increasing test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Sep 12, 2023
1 parent acf68d8 commit 9bc89c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node-src/lib/compareBaseline.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { compareBaseline } from './compareBaseline';
import { getDependencies } from './getDependencies';
import TestLogger from './testLogger';

jest.setTimeout(10000);

const getContext: any = (baselineCommits: string[]) => ({
log: new TestLogger(),
git: { baselineCommits },
Expand Down
2 changes: 2 additions & 0 deletions node-src/lib/getDependencies.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { buildDepTreeFromFiles, PkgTree } from 'snyk-nodejs-lockfile-parser';
import { Context } from '../types';

jest.setTimeout(10000);

const flattenDependencyTree = (
tree: PkgTree['dependencies'],
results = new Set<string>()
Expand Down

0 comments on commit 9bc89c9

Please sign in to comment.