Skip to content

Commit 24bc84a

Browse files
authored
misc: include used files in flow-report tsconfig (GoogleChrome#14174)
1 parent 675a828 commit 24bc84a

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

flow-report/test/common-test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import jestMock from 'jest-mock';
88
import {act, render} from '@testing-library/preact';
99

10-
// @ts-ignore: File is not under 'rootDir'
1110
import {timers} from '../../lighthouse-core/test/test-env/fake-timers.js';
1211
import {FlowStepThumbnail} from '../src/common';
1312

flow-report/test/setup/env-setup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import jestMock from 'jest-mock';
1111
import {JSDOM} from 'jsdom';
1212
import * as preact from 'preact';
1313

14-
// @ts-ignore: File is not under 'rootDir'
1514
import {LH_ROOT} from '../../../root.js';
1615

1716
// These modules aren't imported correctly if these directories aren't defined to use ES modules.

flow-report/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@
2020
"**/*.tsx",
2121
"./types",
2222
"../types/test.d.ts",
23+
"../root.js",
24+
"../lighthouse-core/test/test-env/fake-timers.js",
2325
],
2426
}

0 commit comments

Comments
 (0)