1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-03 08:35:29 +02:00
joplin/packages/lib/jest.setup.js

12 lines
330 B
JavaScript
Raw Normal View History

const { afterEachCleanUp } = require('./testing/test-utils.js');
const { shimInit } = require('./shim-init-node.js');
const sharp = require('sharp');
const nodeSqlite = require('sqlite3');
2023-12-13 21:24:58 +02:00
const pdfJs = require('pdfjs-dist');
2023-12-13 21:24:58 +02:00
shimInit({ sharp, nodeSqlite, pdfJs });
global.afterEach(async () => {
await afterEachCleanUp();
});