1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/packages/lib/jest.setup.js
2021-10-01 19:35:27 +01:00

11 lines
286 B
JavaScript

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