Small detail in tests config (#11034)

This commit is contained in:
Klaus Hott Vidal authored and GitHub committed 2021-06-07 13:35:46 +08:00
1 parent 321f736183
commit 32b13b3972
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@
const path = require("path");
const { outdent } = require("outdent");
const TESTS_ROOT = path.join(__dirname, "../../tests");
const TESTS_ROOT = path.join(__dirname, "../../tests/format");
const getCategory = (dirname) =>
path.relative(TESTS_ROOT, dirname).split(path.sep).shift();