Mock prettier to speed up CLI tests
Luke Karrys committed
Oct 19, 2023 at 21:35 UTC
ba9e1e43c2c2c8763d1539108c26118465ab8353
1 file changed
+1
cli/test/index.js
+1
@@ -89,6 +89,7 @@ const mockBuild = async (t, {
89
}
90
},
91
},
92
+ '@prettier/sync': { format: s => s },
93
'../lib/gh.js': {
94
getFile: async ({ ref }) => navSection(ref),
95
pathExists: async (ref, p) => {