1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/server/jest.setup.js
2021-10-02 10:48:49 +01:00

11 lines
342 B
JavaScript

const { shimInit } = require('@joplin/lib/shim-init-node.js');
const nodeSqlite = require('sqlite3');
shimInit({ nodeSqlite });
// We don't want the tests to fail due to timeout, especially on CI, and certain
// tests can take more time since we do integration testing too.
jest.setTimeout(30 * 1000);
process.env.JOPLIN_IS_TESTING = '1';