Skip to content

Commit

Permalink
Mock prettier to speed up CLI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Oct 20, 2023
1 parent ea685a4 commit 4ef1398
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const mockBuild = async (t, {
}
},
},
'@prettier/sync': { format: s => s },
'../lib/gh.js': {
getFile: async ({ ref }) => navSection(ref),
pathExists: async (ref, p) => {
Expand Down

0 comments on commit 4ef1398

Please sign in to comment.