open-consul/ui/tests/runner.js

14 lines
478 B
JavaScript
Raw Normal View History

2014-04-21 20:36:50 +00:00
if (window.location.search.indexOf("?test") !== -1) {
document.write(
'<div id="qunit"></div>' +
'<div id="qunit-fixture"></div>' +
'<div id="ember-testing-container">' +
' <div id="ember-testing"></div>' +
'</div>' +
'<link rel="stylesheet" href="tests/runner.css">' +
'<link rel="stylesheet" href="tests/vendor/qunit-1.12.0.css">' +
'<script src="tests/vendor/qunit-1.12.0.js"></script>' +
'<script src="tests/tests.js"></script>'
)
}