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

Commit

Permalink
feat: add ability to use .jsx extensions for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tx44 authored and SevInf committed Feb 13, 2017
1 parent e20c1b6 commit b4a90b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function assetsRoot() {
function testPathToChunkName(testPath) {
const name = testPath
.replace(/\//g, '-')
.replace(/\.js$/, '.bundle.js');
.replace(/\.jsx?$/, '.bundle.js');
return encodeURI(name);
}

Expand Down

0 comments on commit b4a90b2

Please sign in to comment.