mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
14 lines
433 B
JavaScript
14 lines
433 B
JavaScript
const { shimInit } = require('@joplin/lib/shim-init-node.js');
|
|
const nodeSqlite = require('sqlite3');
|
|
require('../../jest.base-setup.js')();
|
|
|
|
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. The share tests
|
|
// in particular can take a while.
|
|
|
|
jest.setTimeout(60 * 1000);
|
|
|
|
process.env.JOPLIN_IS_TESTING = '1';
|