mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[generate/package] fix rootDir for generated jest.config.js (#130634)
This commit is contained in:
parent
26f042f699
commit
0646a97fdf
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
preset: <%- js(pkg.web ? '@kbn/test' : '@kbn/test/jest_node') %>,
|
||||
rootDir: '../..',
|
||||
rootDir: <%- js(relativePathTo('.')) %>,
|
||||
roots: [<%- js(`<rootDir>/${pkg.normalizedRepoRelativeDir}`) %>],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue