Skip to content

Commit

Permalink
Merge branch 'master' into gh-495
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Apr 19, 2017
2 parents 52a30dc + 61cbd4f commit c40966f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/server-side-rendering/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ describe( 'ssr', () => {
}
}

const component = require( `../runtime/samples/${dir}/main.html` );
const resolved = require.resolve( `../runtime/samples/${dir}/main.html` );
delete require.cache[ resolved ];

const component = require( resolved );
let html;

try {
Expand Down

0 comments on commit c40966f

Please sign in to comment.