Skip to content

Commit 5b88bb2

Browse files
committed
Fix line endings
1 parent 0ca6fe9 commit 5b88bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codemods/transformTestUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const runTransformTest = (
3737

3838
const inputFileContent = fs.readFileSync(inputPath, 'utf8')
3939

40-
const expectedOutput = fs.readFileSync(outputPath, 'utf8')
40+
const expectedOutput = fs.readFileSync(outputPath, 'utf8').replace('\r\n', '\n')
4141

4242
describe(`${testName}${extension}`, () => {
4343
it('transforms correctly', () => {

0 commit comments

Comments
 (0)