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

Chore: Complete Jest upgrade

This commit is contained in:
Laurent Cozic
2022-11-15 10:23:50 +00:00
parent 33b96b4c65
commit 64199704c2
90 changed files with 118 additions and 346 deletions

View File

@ -11,13 +11,12 @@ let service: EncryptionService = null;
describe('services_EncryptionService', function() {
beforeEach(async (done) => {
beforeEach(async () => {
await setupDatabaseAndSynchronizer(1);
await switchClient(1);
service = new EncryptionService();
BaseItem.encryptionService_ = service;
setEncryptionEnabled(true);
done();
});
it('should encode and decode header', (async () => {