mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Tools: Fixed tests when running them from root
This commit is contained in:
parent
544d879c0b
commit
e0c2b62a6c
@ -30,11 +30,11 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
|
|
||||||
testPathIgnorePatterns: [
|
testPathIgnorePatterns: [
|
||||||
'/node_modules/',
|
'<rootDir>/node_modules/',
|
||||||
'/tests\\/support/',
|
'<rootDir>/tests/support/',
|
||||||
'/build/',
|
'<rootDir>/build/',
|
||||||
'test-utils.js',
|
'<rootDir>/tests/test-utils.js',
|
||||||
'file_api_driver.js',
|
'<rootDir>/tests/file_api_driver.js',
|
||||||
'<rootDir>/tests/tmp/',
|
'<rootDir>/tests/tmp/',
|
||||||
],
|
],
|
||||||
|
|
||||||
@ -52,5 +52,5 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
|
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
setupFilesAfterEnv: ['./jest.setup.js'],
|
setupFilesAfterEnv: [`${__dirname}/jest.setup.js`],
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user