( expected: PathLike[], )
| 42 | } |
| 43 | |
| 44 | function makeFakeFsExistsSync( |
| 45 | expected: PathLike[], |
| 46 | ): (path: PathLike) => boolean { |
| 47 | return (path: PathLike) => expected.some(item => item === path); |
| 48 | } |
| 49 | |
| 50 | const FAKE_DIRECTORY = '/some/fake/directory'; |
| 51 | const PATH_TO_TSCONFIG = path.resolve(FAKE_DIRECTORY, 'tsconfig.json'); |
no outgoing calls
no test coverage detected
searching dependent graphs…