We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25784ad commit af2e862Copy full SHA for af2e862
apps/rush-lib/src/cli/test/RushCommandLineParser.test.ts
@@ -16,7 +16,7 @@ interface ISpawnMockConfig {
16
returnCode: number;
17
}
18
19
-interface ChildProcessModuleMock {
+interface IChildProcessModuleMock {
20
/**
21
* Initialize the `spawn` mock behavior.
22
*/
@@ -39,7 +39,7 @@ interface IParserTestInstance {
39
40
function setSpawnMock(options?: ISpawnMockConfig): jest.Mock {
41
// eslint-disable-next-line @typescript-eslint/no-var-requires
42
- const cpMocked: ChildProcessModuleMock = require('child_process');
+ const cpMocked: IChildProcessModuleMock = require('child_process');
43
cpMocked.__setSpawnMockConfig(options);
44
45
const spawnMock: jest.Mock = cpMocked.spawn;
0 commit comments