joplin/packages/server/jest.setup.js

13 lines
394 B
JavaScript
Raw Normal View History

2021-10-02 09:48:49 +00:00
const { shimInit } = require('@joplin/lib/shim-init-node.js');
const nodeSqlite = require('sqlite3');
shimInit({ nodeSqlite });
2021-01-07 22:15:41 +00:00
// 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);
2021-08-14 23:53:44 +00:00
process.env.JOPLIN_IS_TESTING = '1';