Skip to content

Commit 88ba9bd

Browse files
Do not assume transform files are .js
This makes it possible to write codemods with TypeScript using a `.ts` extension with `ts-jest`.
1 parent 66e34da commit 88ba9bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test-support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function transformDetails(options) {
1313
return {
1414
name: options.name,
1515
root,
16-
transformPath: root + 'index.js',
16+
transformPath: root + 'index',
1717
fixtureDir: root + '__testfixtures__/',
1818
};
1919
}

0 commit comments

Comments
 (0)