mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
13 lines
430 B
JavaScript
13 lines
430 B
JavaScript
class BazelReporter {
|
|
onRunComplete(_, results) {
|
|
if (results.numFailedTests && results.snapshot.failure) {
|
|
console.log(`================================================================================
|
|
|
|
Snapshot failed, you can update the snapshot by running
|
|
bazel run ${process.env['TEST_TARGET'].replace(/_bin$/, '')}.update
|
|
`);
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = BazelReporter;
|