2021-03-06 18:56:45 +01:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`template custom body after 1`] = `
|
|
|
|
"
|
|
|
|
<!DOCTYPE html>
|
2022-09-04 11:48:51 +02:00
|
|
|
<html lang="en-us">
|
2021-03-06 18:56:45 +01:00
|
|
|
<head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<base href="http://domain.com">
|
2021-03-06 18:56:45 +01:00
|
|
|
<title></title>
|
2022-09-04 11:48:51 +02:00
|
|
|
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2021-03-06 18:56:45 +01:00
|
|
|
<script>
|
2022-09-04 11:48:51 +02:00
|
|
|
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
|
2021-03-06 18:56:45 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<body class="body">
|
2021-03-06 18:56:45 +01:00
|
|
|
|
2022-09-04 11:48:51 +02:00
|
|
|
<div id="root"></div>
|
|
|
|
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
|
|
|
<script src="foo"/>
|
2021-03-06 18:56:45 +01:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`template custom body before 1`] = `
|
|
|
|
"
|
|
|
|
<!DOCTYPE html>
|
2022-09-04 11:48:51 +02:00
|
|
|
<html lang="en-us">
|
2021-03-06 18:56:45 +01:00
|
|
|
<head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<base href="http://domain.com">
|
2021-03-06 18:56:45 +01:00
|
|
|
<title></title>
|
2022-09-04 11:48:51 +02:00
|
|
|
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2021-03-06 18:56:45 +01:00
|
|
|
<script>
|
2022-09-04 11:48:51 +02:00
|
|
|
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
|
2021-03-06 18:56:45 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<body class="body">
|
|
|
|
<script src="fooBefore"/><script src="barBefore"/>
|
|
|
|
<div id="root"></div>
|
|
|
|
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
2021-03-06 18:56:45 +01:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`template custom render 1`] = `
|
|
|
|
"
|
|
|
|
<!DOCTYPE html>
|
2022-09-04 11:48:51 +02:00
|
|
|
<html lang="en-us">
|
2021-03-06 18:56:45 +01:00
|
|
|
<head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<base href="http://domain.com">
|
2021-03-06 18:56:45 +01:00
|
|
|
<title></title>
|
2022-09-04 11:48:51 +02:00
|
|
|
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2021-03-06 18:56:45 +01:00
|
|
|
<script>
|
2022-09-04 11:48:51 +02:00
|
|
|
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
|
2021-03-06 18:56:45 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<body class="body">
|
2021-03-06 18:56:45 +01:00
|
|
|
|
2022-09-04 11:48:51 +02:00
|
|
|
<div id="root"></div>
|
|
|
|
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
2021-03-06 18:56:45 +01:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`template custom title 1`] = `
|
|
|
|
"
|
|
|
|
<!DOCTYPE html>
|
2022-09-04 11:48:51 +02:00
|
|
|
<html lang="en-us">
|
2021-03-06 18:56:45 +01:00
|
|
|
<head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<base href="http://domain.com">
|
2021-04-02 15:59:47 +02:00
|
|
|
<title>foo title</title>
|
2022-09-04 11:48:51 +02:00
|
|
|
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2021-04-02 15:59:47 +02:00
|
|
|
<script>
|
2022-09-04 11:48:51 +02:00
|
|
|
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com","title":"foo title"}
|
2021-04-02 15:59:47 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<body class="body">
|
2021-04-02 15:59:47 +02:00
|
|
|
|
2022-09-04 11:48:51 +02:00
|
|
|
<div id="root"></div>
|
|
|
|
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
2021-04-02 15:59:47 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`template custom title 2`] = `
|
|
|
|
"
|
|
|
|
<!DOCTYPE html>
|
2022-09-04 11:48:51 +02:00
|
|
|
<html lang="en-us">
|
2021-04-02 15:59:47 +02:00
|
|
|
<head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<base href="http://domain.com">
|
2021-03-06 18:56:45 +01:00
|
|
|
<title>foo title</title>
|
2022-09-04 11:48:51 +02:00
|
|
|
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2021-03-06 18:56:45 +01:00
|
|
|
<script>
|
2022-09-04 11:48:51 +02:00
|
|
|
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com","title":"foo title"}
|
2021-03-06 18:56:45 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<body class="body">
|
2021-03-06 18:56:45 +01:00
|
|
|
|
2022-09-04 11:48:51 +02:00
|
|
|
<div id="root"></div>
|
|
|
|
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
2021-04-02 15:59:47 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`template meta scripts 1`] = `
|
|
|
|
"
|
|
|
|
<!DOCTYPE html>
|
2022-09-04 11:48:51 +02:00
|
|
|
<html lang="en-us">
|
2021-04-02 15:59:47 +02:00
|
|
|
<head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<base href="http://domain.com">
|
2021-04-02 15:59:47 +02:00
|
|
|
<title></title>
|
2022-09-04 11:48:51 +02:00
|
|
|
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2021-04-02 15:59:47 +02:00
|
|
|
<script>
|
2022-09-04 11:48:51 +02:00
|
|
|
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
|
2021-04-02 15:59:47 +02:00
|
|
|
</script>
|
|
|
|
<style>.someclass{font-size:10px;}</style>
|
|
|
|
</head>
|
2022-09-04 11:48:51 +02:00
|
|
|
<body class="body">
|
2021-04-02 15:59:47 +02:00
|
|
|
|
2022-09-04 11:48:51 +02:00
|
|
|
<div id="root"></div>
|
|
|
|
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
2021-03-06 18:56:45 +01:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
"
|
|
|
|
`;
|