mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Tools: Fixed tests
This commit is contained in:
parent
a7a2dfbbd0
commit
8f17fb7f71
@ -42,8 +42,8 @@
|
||||
"tagServerLatest": "node packages/tools/tagServerLatest.js",
|
||||
"buildServerDocker": "node packages/tools/buildServerDocker.js",
|
||||
"setupNewRelease": "node ./packages/tools/setupNewRelease",
|
||||
"test-ci": "yarn workspaces foreach --parallel --verbose --interlaced run test-ci",
|
||||
"test": "yarn workspaces foreach --parallel --verbose --interlaced run test",
|
||||
"test-ci": "yarn workspaces foreach --parallel --verbose --interlaced --jobs 3 run test-ci",
|
||||
"test": "yarn workspaces foreach --parallel --verbose --interlaced --jobs 3 run test",
|
||||
"tsc": "yarn workspaces foreach --parallel --verbose --interlaced run tsc",
|
||||
"updateIgnored": "gulp updateIgnoredTypeScriptBuild",
|
||||
"updatePluginTypes": "./packages/generator-joplin/updateTypes.sh",
|
||||
|
@ -23,7 +23,7 @@
|
||||
"@types/node-rsa": "^1.1.1",
|
||||
"@types/react": "^17.0.20",
|
||||
"clean-html": "^1.5.0",
|
||||
"jest": "^26.6.3",
|
||||
"jest": "26.6.3",
|
||||
"sharp": "^0.26.2",
|
||||
"typescript": "^4.0.5"
|
||||
},
|
||||
|
@ -428,6 +428,12 @@ async function setupDatabaseAndSynchronizer(id: number, options: any = null) {
|
||||
syncTarget.setFileApi(fileApi());
|
||||
syncTarget.setLogger(logger);
|
||||
synchronizers_[id] = await syncTarget.synchronizer();
|
||||
|
||||
// For now unset the share service as it's not properly initialised.
|
||||
// Share service tests are in ShareService.test.ts normally, and if it
|
||||
// becomes necessary to test integration with the synchroniser we can
|
||||
// initialize it here.
|
||||
synchronizers_[id].setShareService(null);
|
||||
}
|
||||
|
||||
encryptionServices_[id] = new EncryptionService();
|
||||
|
@ -3134,7 +3134,7 @@ __metadata:
|
||||
image-data-uri: ^2.0.0
|
||||
image-type: ^3.0.0
|
||||
immer: ^7.0.14
|
||||
jest: ^26.6.3
|
||||
jest: 26.6.3
|
||||
js-yaml: ^4.1.0
|
||||
levenshtein: ^1.0.5
|
||||
lodash: ^4.17.20
|
||||
@ -17981,7 +17981,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jest@npm:^26.6.3":
|
||||
"jest@npm:26.6.3, jest@npm:^26.6.3":
|
||||
version: 26.6.3
|
||||
resolution: "jest@npm:26.6.3"
|
||||
dependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user