Commit graph

1 commit

Author SHA1 Message Date
Paul Gschwendtner
8cc74b608b test(compiler-cli): fix integration test failing on windows due to missing runfile symlinking (#43431)
Currently, some tests in the `compiler-cli/integrationtest` package fail
on Windows because there are spec files which are not Bazel-generated.

When Bazel runs these tests on Windows, the spec file is resolved to
the actual source file (since there is no runfile symlinking/sandboxing).
This breaks the execution of the CJS spec file since it resides in th
`packages/compiler-cli` source folder which has a `package.json` set to
`type: module`.

We fix this by adding a `package.json` file for the integration test
folder and setting `module` to `commonjs`.

PR Close #43431
2021-10-01 18:28:46 +00:00