1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Tools: Upgraded jasmine and made it easier to filter tests

This commit is contained in:
Laurent Cozic
2019-11-02 10:19:24 +00:00
parent 85984109b5
commit cc51ba4f90
8 changed files with 51 additions and 60 deletions

View File

@ -200,8 +200,14 @@ shim.loadCssFromJs = name => {
throw new Error('Not implemented');
};
let isTestingEnv_ = false;
shim.isTestingEnv = () => {
return false;
return isTestingEnv_;
};
shim.setIsTestingEnv = (v) => {
isTestingEnv_ = v;
};
module.exports = { shim };