1pub fn get_test_index_html() -> &'static str {
2 return r#"
3 <!DOCTYPE html>
4 <html>
5 <head>
6 <meta charset="utf-8">
7 <meta http-equiv="X-UA-Compatible" content="IE=edge">
8 <title><%= namespace %> Tests</title>
9 <meta name="description" content="">
10 <meta name="viewport" content="width=device-width, initial-scale=1">
11
12 {{content-for "head"}}
13 {{content-for "test-head"}}
14
15 <link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
16 <link rel="stylesheet" href="{{rootURL}}assets/<%= name %>.css">
17 <link rel="stylesheet" href="{{rootURL}}assets/test-support.css">
18
19 {{content-for "head-footer"}}
20 {{content-for "test-head-footer"}}
21 </head>
22 <body>
23 {{content-for "body"}}
24 {{content-for "test-body"}}
25
26 <script src="/testem.js" integrity=""></script>
27 <script src="{{rootURL}}assets/vendor.js"></script>
28 <script src="{{rootURL}}assets/test-support.js"></script>
29 <script src="{{rootURL}}assets/<%= name %>.js"></script>
30 <script src="{{rootURL}}assets/tests.js"></script>
31
32 {{content-for "body-footer"}}
33 {{content-for "test-body-footer"}}
34 </body>
35 </html>"#;
36}