Tools: Fixed tests

pull/5523/head
Laurent Cozic 2021-10-02 10:48:49 +01:00
parent 4a7746beb2
commit d5eb21d318
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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);