Skip to content
代码片段 群组 项目
提交 b2e9ccee 编辑于 作者: Paul Slaughter's avatar Paul Slaughter
浏览文件

Add trailing slash to jest configs for consistency

- https://gitlab.com/gitlab-org/gitlab/-/merge_requests/135631#note_1632249105
上级 dfe04c04
No related branches found
No related tags found
无相关合并请求
module.exports = () => {
return {
modulePaths: ['<rootDir>/spec/contracts/consumer/node_modules/'],
roots: ['spec/contracts/consumer', 'ee/spec/contracts/consumer'],
roots: ['spec/contracts/consumer/', 'ee/spec/contracts/consumer/'],
};
};
......@@ -10,9 +10,9 @@ if (IS_JH && fs.existsSync('./jh/jest.config.js')) {
} else {
module.exports = {
...baseConfig('spec/frontend', {
roots: ['<rootDir>/spec/frontend'],
rootsEE: ['<rootDir>/ee/spec/frontend'],
rootsJH: ['<rootDir>/jh/spec/frontend'],
roots: ['<rootDir>/spec/frontend/'],
rootsEE: ['<rootDir>/ee/spec/frontend/'],
rootsJH: ['<rootDir>/jh/spec/frontend/'],
}),
};
}
......@@ -2,7 +2,7 @@ const baseConfig = require('./jest.config.base');
module.exports = {
...baseConfig('spec/frontend', {
roots: ['<rootDir>/scripts/lib', '<rootDir>/spec/frontend'],
roots: ['<rootDir>/scripts/lib/', '<rootDir>/spec/frontend/'],
}),
testMatch: [],
};
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册