1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Desktop: Fixes #11129: Improve performance by allowing note list background timers to be cancelled (#11133)

This commit is contained in:
Henry Heino
2024-09-27 07:25:55 -07:00
committed by GitHub
parent 42ab9ecd95
commit eda2c69334
6 changed files with 64 additions and 5 deletions

View File

@ -24,9 +24,9 @@ jest.mock('@electron/remote', () => {
// Import after mocking problematic libraries
const { afterEachCleanUp, afterAllCleanUp } = require('@joplin/lib/testing/test-utils.js');
const React = require('react');
shimInit({ nodeSqlite: sqlite3 });
shimInit({ nodeSqlite: sqlite3, React });
afterEach(async () => {
await afterEachCleanUp();