UNPKG

pdf-visual-diff

Version:

Visual Regression Testing for PDFs in JavaScript

11 lines 723 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const node_test_1 = require("node:test"); const assert = require("node:assert/strict"); const utils_1 = require("./utils"); const filePath = '/pdf-visual-diff/src/__snapshots__/two-page.new.png'; (0, node_test_1.describe)('cli utils', () => { (0, node_test_1.it)('mkCurrentSnapshotPath()', async () => assert.strictEqual((0, utils_1.mkCurrentSnapshotPath)(filePath), '/pdf-visual-diff/src/__snapshots__/two-page.png')); (0, node_test_1.it)('mkDiffSnapshotPath()', async () => assert.strictEqual((0, utils_1.mkDiffSnapshotPath)(filePath), '/pdf-visual-diff/src/__snapshots__/two-page.diff.png')); }); //# sourceMappingURL=utils.test.js.map