We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13626d1 commit f54dedaCopy full SHA for f54deda
src/plugin-tester.ts
@@ -896,6 +896,7 @@ export function pluginTester(options: PluginTesterOptions = {}) {
896
!errored && typeof rawBabelOutput == 'string'
897
? trimAndFixLineEndings(
898
formatResult(rawBabelOutput || '', {
899
+ cwd: formatResultFilepath ? path.dirname(formatResultFilepath) : undefined,
900
filepath: formatResultFilepath,
901
filename: formatResultFilepath
902
}),
0 commit comments