mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
fix tests for core plugins
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/**
|
||||
* Read and use .babelrc from packages
|
||||
*/
|
||||
const { join, resolve } = require("path");
|
||||
const path = require("path");
|
||||
const { createTransformer } = require("babel-jest");
|
||||
|
||||
const packagePath = resolve(__dirname, "../");
|
||||
const packageGlob = join(packagePath, "*");
|
||||
const packagePath = path.resolve(__dirname, "../");
|
||||
const packageGlob = path.join(packagePath, "*");
|
||||
|
||||
module.exports = createTransformer({
|
||||
babelrcRoots: packageGlob
|
||||
|
||||
Reference in New Issue
Block a user