2021-10-02 11:48:49 +02:00
|
|
|
const { shimInit } = require('@joplin/lib/shim-init-node.js');
|
|
|
|
const nodeSqlite = require('sqlite3');
|
2023-12-15 20:34:21 +02:00
|
|
|
require('../../jest.base-setup.js')();
|
2021-10-02 11:48:49 +02:00
|
|
|
|
|
|
|
shimInit({ nodeSqlite });
|
|
|
|
|
2021-01-08 00:15:41 +02:00
|
|
|
// We don't want the tests to fail due to timeout, especially on CI, and certain
|
2021-11-09 18:05:42 +02:00
|
|
|
// tests can take more time since we do integration testing too. The share tests
|
|
|
|
// in particular can take a while.
|
|
|
|
|
|
|
|
jest.setTimeout(60 * 1000);
|
2021-08-15 01:53:44 +02:00
|
|
|
|
|
|
|
process.env.JOPLIN_IS_TESTING = '1';
|