Last change
on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | <!DOCTYPE html>
|
---|
2 | <!--
|
---|
3 | This is the execution context.
|
---|
4 | Loaded within the iframe.
|
---|
5 | Reloaded before every execution run.
|
---|
6 | -->
|
---|
7 | <html>
|
---|
8 | <head>
|
---|
9 | <title></title>
|
---|
10 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
---|
11 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
---|
12 | </head>
|
---|
13 | <body>
|
---|
14 | <!-- The scripts need to be in the body DOM element, as some test running frameworks need the body
|
---|
15 | to have already been created so they can insert their magic into it. For example, if loaded
|
---|
16 | before body, Angular Scenario test framework fails to find the body and crashes and burns in
|
---|
17 | an epic manner. -->
|
---|
18 | <script src="context.js"></script>
|
---|
19 | <script type="text/javascript">
|
---|
20 | // Configure our Karma and set up bindings
|
---|
21 | %CLIENT_CONFIG%
|
---|
22 | window.__karma__.setupContext(window);
|
---|
23 |
|
---|
24 | // All served files with the latest timestamps
|
---|
25 | %MAPPINGS%
|
---|
26 | </script>
|
---|
27 | <!-- Dynamically replaced with <script> tags -->
|
---|
28 | %SCRIPTS%
|
---|
29 | <!-- Since %SCRIPTS% might include modules, the `loaded()` call needs to be in a module too.
|
---|
30 | This ensures all the tests will have been declared before karma tries to run them. -->
|
---|
31 | <script type="module">
|
---|
32 | window.__karma__.loaded();
|
---|
33 | </script>
|
---|
34 | <script nomodule>
|
---|
35 | window.__karma__.loaded();
|
---|
36 | </script>
|
---|
37 | </body>
|
---|
38 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.