chore(tests): Enable dev mode in all Angular tests.

Closes #5106
This commit is contained in:
Alex Rickabaugh
2015-11-04 11:20:12 -08:00
parent 0b11051ac1
commit aa70275b01
6 changed files with 27 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@
<script src="/bundle/http.js"></script>
<script src="/bundle/router.dev.js"></script>
<script>
window.angularDevMode = true;
var filename = '@@PATH/@@FILENAME';
System.import(filename).then(function(m) { m.main(); }, console.error.bind(console));
</script>
+1
View File
@@ -1,2 +1,3 @@
self.angularDevMode = true;
importScripts("es6-shim.js", "zone-microtask.js", "long-stack-trace-zone.js", "system.src.js",
"Reflect.js");
+2
View File
@@ -6,6 +6,8 @@ var path = require('path');
require('es6-shim/es6-shim.js');
require('reflect-metadata/Reflect');
global.angularDevMode = true;
var jrunner = new JasmineRunner();
// Tun on full stack traces in errors to help debugging