test(compiler): use `yarn bazel` instead of `bazel` in error message (#40078)
This commit replaces `bazel` with `yarn bazel` in the error message (that instructs to regenerate golden file) thrown while executing compliance tests. We use `yarn bazel` in other places (so we use the local version of bazel, not the global one). PR Close #40078
This commit is contained in:
parent
044cd52996
commit
c977e1b629
|
@ -49,7 +49,7 @@ export function checkExpectations(
|
|||
`The generated file at ${generatedPath} does not exist.\n` +
|
||||
'Perhaps there is no matching input source file in the TEST_CASES.json file for this test case.\n' +
|
||||
'Or maybe you need to regenerate the GOLDEN_PARTIAL.js file by running:\n\n' +
|
||||
` bazel run //packages/compiler-cli/test/compliance/test_cases:${
|
||||
` yarn bazel run //packages/compiler-cli/test/compliance/test_cases:${
|
||||
testPath}.golden.update`);
|
||||
// Clear the stack so that we get a nice error message
|
||||
error.stack = '';
|
||||
|
|
Loading…
Reference in New Issue