Use meriyah (#9731)

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
This commit is contained in:
fisker CheungandGeorgii Dolzhykov authored and GitHub committed 2020-11-23 13:57:13 +08:00
1 parent c5e3eb6fab
commit f254314feb
6 files changed
+17 -9

No files matched your search

+1
View File
@@ -0,0 +1 @@
{}
+2 -2
View File
@@ -84,7 +84,7 @@ function runPrettier(dir, args, options) {
.mockImplementation((moduleName, options) =>
require("cosmiconfig").cosmiconfig(moduleName, {
...options,
stopDir: __dirname,
stopDir: path.join(__dirname, "cli"),
})
);
jest
@@ -92,7 +92,7 @@ function runPrettier(dir, args, options) {
.mockImplementation((moduleName, options) =>
require("cosmiconfig").cosmiconfigSync(moduleName, {
...options,
stopDir: __dirname,
stopDir: path.join(__dirname, "cli"),
})
);
jest