1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/packages/lib/jest.setup.js
2023-12-13 19:24:58 +00:00

12 lines
330 B
JavaScript

const { afterEachCleanUp } = require('./testing/test-utils.js');
const { shimInit } = require('./shim-init-node.js');
const sharp = require('sharp');
const nodeSqlite = require('sqlite3');
const pdfJs = require('pdfjs-dist');
shimInit({ sharp, nodeSqlite, pdfJs });
global.afterEach(async () => {
await afterEachCleanUp();
});