remove tests folder from path (#11035)
This commit is contained in:
1 parent
32b13b3972
commit
b5eba9475f
1 file changed
+1
-1
@@ -3,7 +3,7 @@
|
||||
const path = require("path");
|
||||
const { outdent } = require("outdent");
|
||||
|
||||
const TESTS_ROOT = path.join(__dirname, "../../tests/format");
|
||||
const TESTS_ROOT = path.join(__dirname, "../../format");
|
||||
|
||||
const getCategory = (dirname) =>
|
||||
path.relative(TESTS_ROOT, dirname).split(path.sep).shift();
|
||||
|
||||
Reference in new issue
Block a user