codemods,workflows: fix codemods tests on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -25,7 +25,8 @@ function runTransform(source: string) {
|
||||
stats: () => undefined,
|
||||
report: () => undefined,
|
||||
};
|
||||
return coreImportTransform({ source, file: 'test.ts' }, api);
|
||||
const result = coreImportTransform({ source, file: 'test.ts' }, api);
|
||||
return result?.split('\r\n').join('\n');
|
||||
}
|
||||
|
||||
describe('core-imports', () => {
|
||||
|
||||
Reference in New Issue
Block a user