test: fix several Bazel compiler tests in windows (#30146)
``` //packages/compiler-cli/test:ngc //packages/compiler/test:test ``` This also address `node_modules` to the ignored paths for ngc compiler as otherwise the `ready` is never fired Partially addresses #29785 PR Close #30146
This commit is contained in:

committed by
Alex Rickabaugh

parent
7569a2e0d9
commit
31df5139c5
@ -19,7 +19,7 @@ export function makeTempDir(): string {
|
||||
let dir: string;
|
||||
while (true) {
|
||||
const id = (Math.random() * 1000000).toFixed(0);
|
||||
dir = path.join(tmpdir, `tmp.${id}`);
|
||||
dir = path.posix.join(tmpdir, `tmp.${id}`);
|
||||
if (!fs.existsSync(dir)) break;
|
||||
}
|
||||
fs.mkdirSync(dir);
|
||||
|
Reference in New Issue
Block a user