Skip to content

Commit

Permalink
fix tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
pzuraq committed Nov 8, 2018
1 parent 6e6b2ff commit c60888e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testem.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ module.exports = {
'-t',
'1500',
'--u',
'<url>',
'<url>&ie=true',
],
protocol: 'browser',
},
Expand Down
5 changes: 4 additions & 1 deletion tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,14 @@

<script>
var dist = QUnit.urlParams.dist;
var ie = QUnit.urlParams.ie;

var relativePath = ie ? '../ie' : '..';

if (dist === 'es') {
// do nothing template compiler already included
} else {
loadScript('../ember-template-compiler.js');
loadScript(relativePath + '/ember-template-compiler.js');
}
</script>

Expand Down

0 comments on commit c60888e

Please sign in to comment.