Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: templates/testIndex.html.tmpl

Issue 29600577: Issue 5997 - Avoid including qunit files in release builds (Closed)
Patch Set: Avoid bundling tests if testScripts option is missing Created Nov. 7, 2017, 4:04 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: templates/testIndex.html.tmpl
diff --git a/templates/testIndex.html.tmpl b/templates/testIndex.html.tmpl
index cc091974ad3cc3e11ffef5e6b8ae1a1505c0ae4c..dec9b398bfc9fa29117c6f6b257a2b806258e574 100644
--- a/templates/testIndex.html.tmpl
+++ b/templates/testIndex.html.tmpl
@@ -14,6 +14,7 @@
{%- for script in scripts %}
<script src="{{ script }}"></script>
{%- endfor %}
+ <script src="tests.js"></script>
</head>
<body>
<h1 id="qunit-header">{{ basename }} unit tests</h1>

Powered by Google App Engine
This is Rietveld