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