pdfkit/tests/unit/setupTests.js
Luiz Américo 55732ab9a9
Rework integrations tests to compare pdf screenshots instead of raw content (#1162)
* Rework integrations tests to compare pdf screenshots instead of raw content

* Update documentation and configuration related to integration/visual tests
2020-09-09 17:33:28 -03:00

6 lines
143 B
JavaScript

import matcher from './toContainChunk';
import { setupJestScreenshot } from 'jest-screenshot';
expect.extend(matcher);
setupJestScreenshot();