Skip to content
This repository was archived by the owner on Dec 7, 2018. It is now read-only.

Commit b4a90b2

Browse files
tx44SevInf
authored andcommitted
feat: add ability to use .jsx extensions for tests
#28
1 parent e20c1b6 commit b4a90b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function assetsRoot() {
1414
function testPathToChunkName(testPath) {
1515
const name = testPath
1616
.replace(/\//g, '-')
17-
.replace(/\.js$/, '.bundle.js');
17+
.replace(/\.jsx?$/, '.bundle.js');
1818
return encodeURI(name);
1919
}
2020

0 commit comments

Comments
 (0)