use jest-snapshot to apply the snapshot testing
This commit is contained in:
@@ -39,41 +39,3 @@
|
||||
</script>
|
||||
|
||||
</html>
|
||||
|
||||
<!-- TEST_DIVIDER -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>form fields</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form>
|
||||
<label for="text">
|
||||
<input type="text" value="1">
|
||||
</label>
|
||||
<label for="radio">
|
||||
<input type="radio" checked="">
|
||||
</label>
|
||||
<label for="checkbox">
|
||||
<input type="checkbox" checked="">
|
||||
</label>
|
||||
<label for="textarea">
|
||||
<textarea name="" id="" cols="30" rows="10">1234</textarea>
|
||||
</label>
|
||||
<label for="select">
|
||||
<select name="" id="" value="2">
|
||||
<option value="1">1</option>
|
||||
<option value="2" selected>2</option>
|
||||
</select>
|
||||
</label>
|
||||
</form>
|
||||
</body>
|
||||
<noscript></noscript>
|
||||
|
||||
</html>
|
||||
@@ -1,9 +1,3 @@
|
||||
<html foo='bar' ''>
|
||||
|
||||
</html>
|
||||
|
||||
<!-- TEST_DIVIDER -->
|
||||
|
||||
<html foo='bar'>
|
||||
|
||||
</html>
|
||||
@@ -16,22 +16,3 @@
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<!-- TEST_DIVIDER -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>with script</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript src="/js/a.js"></noscript>
|
||||
<noscript></noscript>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -14,22 +14,3 @@
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<!-- TEST_DIVIDER -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>with style sheet</title>
|
||||
<style>body { margin: 0px; }p { color: red; }body > p { color: yellow; }</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user