import { takeScreenshotOnTestError } from "@error-paparazzi/jest";
takeScreenshotOnTestError();
test("failing test", () => {
expect(true).toBe(false);
});
import { paparazzi } from "@error-paparazzi/jest";
test("failing test", paparazzi(() => {
expect(true).toBe(false);
}));
import { screenshot } from "@error-paparazzi/jest";
test("failing test", () => {
await screenshot();
expect(true).toBe(false);
});