| This is the execution context. |
| Loaded within the iframe. |
| Reloaded before every execution run. |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> |
| <!-- The scripts need to be in the body DOM element, as some test running frameworks need the body |
| to have already been created so they can insert their magic into it. For example, if loaded |
| before body, Angular Scenario test framework fails to find the body and crashes and burns in |
| <script src="context.js"></script> |
| <script type="text/javascript"> |
| // Configure our Karma and set up bindings |
| window.__karma__.setupContext(window); |
| // All served files with the latest timestamps |
| <!-- Dynamically replaced with <script> tags --> |
| <!-- Since %SCRIPTS% might include modules, the `loaded()` call needs to be in a module too. |
| This ensures all the tests will have been declared before karma tries to run them. --> |
| window.__karma__.loaded(); |
| window.__karma__.loaded(); |