mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
15 lines
456 B
JavaScript
15 lines
456 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');
|
|
const packageInfo = require('./package.json');
|
|
|
|
require('../../jest.base-setup.js')();
|
|
|
|
shimInit({ sharp, nodeSqlite, pdfJs, appVersion: () => packageInfo.version });
|
|
|
|
global.afterEach(async () => {
|
|
await afterEachCleanUp();
|
|
});
|