If you want to view failures in different ways, such as with different diff tools.
At the moment, you need to take advantage of the ConfigModifier
in Options
.
Here is an example.
let configModifier: ConfigModifier = (c) => {
c.reporters = [new JestReporter(), "BeyondCompare"];
return c;
};
let options = new Options();
options = options.withConfig(configModifier);
verify("Hello", options);
Note when passing in multiple reporters, it will use the first one that works on your system.