get rid of macros, move tests out of src
This commit is contained in:
19
tests/data/basic/local-file.html
Normal file
19
tests/data/basic/local-file.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!doctype html>
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Local HTML file</title>
|
||||
<link href="local-style.css" rel="stylesheet" type="text/css" />
|
||||
<link href="local-style-does-not-exist.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img src="monolith.png" alt="" />
|
||||
<a href="//local-file.html">Tricky href</a>
|
||||
<a href="https://github.com/Y2Z/monolith">Remote URL</a>
|
||||
<script src="local-script.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
2
tests/data/basic/local-script.js
Normal file
2
tests/data/basic/local-script.js
Normal file
@@ -0,0 +1,2 @@
|
||||
document.body.style.backgroundColor = "green";
|
||||
document.body.style.color = "red";
|
||||
4
tests/data/basic/local-style.css
Normal file
4
tests/data/basic/local-style.css
Normal file
@@ -0,0 +1,4 @@
|
||||
body {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
Reference in New Issue
Block a user