Skip to content

Commit

Permalink
test: test the test option
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Oct 3, 2020
2 parents 54beea0 + 30723b8 commit da974e5
Show file tree
Hide file tree
Showing 3 changed files with 394 additions and 0 deletions.
167 changes: 167 additions & 0 deletions test/__snapshots__/test-option.test.js.snap.webpack4
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`when applied with "test" option matches snapshot for a single "test" value (RegExp): assets 1`] = `
Object {
"parallel/foo-0.html": "<!doctype html>
<html lang=\\"en\\">
<head>
<meta charset=\\"UTF-8\\">
<meta name=\\"viewport\\"
content=\\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\\">
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\">
<title>Cache</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<h2>An Unordered HTML List</h2>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>
",
"parallel/foo-1.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-1</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-2.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-2</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-3.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-3</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-4.html": "<!doctype html>
<html lang=\\"en\\">
<head>
<meta charset=\\"UTF-8\\">
<meta name=\\"viewport\\"
content=\\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\\">
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\">
<title>Cache-4</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<h2>An Unordered HTML List</h2>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>
",
}
`;

exports[`when applied with "test" option matches snapshot for a single "test" value (RegExp): errors 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot for a single "test" value (RegExp): warnings 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot for multiple "test" value (RegExp): assets 1`] = `
Object {
"parallel/foo-0.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-1.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-1</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-2.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-2</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-3.html": "<!doctype html>
<html lang=\\"en\\">
<head>
<meta charset=\\"UTF-8\\">
<meta name=\\"viewport\\"
content=\\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\\">
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\">
<title>Cache-3</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<h2>An Unordered HTML List</h2>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>
",
"parallel/foo-4.html": "<!doctype html>
<html lang=\\"en\\">
<head>
<meta charset=\\"UTF-8\\">
<meta name=\\"viewport\\"
content=\\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\\">
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\">
<title>Cache-4</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<h2>An Unordered HTML List</h2>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>
",
}
`;

exports[`when applied with "test" option matches snapshot for multiple "test" value (RegExp): errors 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot for multiple "test" value (RegExp): warnings 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot with empty value: assets 1`] = `
Object {
"parallel/foo-0.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-1.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-1</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-2.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-2</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-3.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-3</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-4.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-4</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
}
`;

exports[`when applied with "test" option matches snapshot with empty value: errors 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot with empty value: warnings 1`] = `Array []`;
167 changes: 167 additions & 0 deletions test/__snapshots__/test-option.test.js.snap.webpack5
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`when applied with "test" option matches snapshot for a single "test" value (RegExp): assets 1`] = `
Object {
"parallel/foo-0.html": "<!doctype html>
<html lang=\\"en\\">
<head>
<meta charset=\\"UTF-8\\">
<meta name=\\"viewport\\"
content=\\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\\">
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\">
<title>Cache</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<h2>An Unordered HTML List</h2>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>
",
"parallel/foo-1.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-1</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-2.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-2</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-3.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-3</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-4.html": "<!doctype html>
<html lang=\\"en\\">
<head>
<meta charset=\\"UTF-8\\">
<meta name=\\"viewport\\"
content=\\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\\">
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\">
<title>Cache-4</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<h2>An Unordered HTML List</h2>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>
",
}
`;

exports[`when applied with "test" option matches snapshot for a single "test" value (RegExp): errors 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot for a single "test" value (RegExp): warnings 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot for multiple "test" value (RegExp): assets 1`] = `
Object {
"parallel/foo-0.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-1.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-1</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-2.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-2</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-3.html": "<!doctype html>
<html lang=\\"en\\">
<head>
<meta charset=\\"UTF-8\\">
<meta name=\\"viewport\\"
content=\\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\\">
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\">
<title>Cache-3</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<h2>An Unordered HTML List</h2>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>
",
"parallel/foo-4.html": "<!doctype html>
<html lang=\\"en\\">
<head>
<meta charset=\\"UTF-8\\">
<meta name=\\"viewport\\"
content=\\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\\">
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\">
<title>Cache-4</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<h2>An Unordered HTML List</h2>

<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>
",
}
`;

exports[`when applied with "test" option matches snapshot for multiple "test" value (RegExp): errors 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot for multiple "test" value (RegExp): warnings 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot with empty value: assets 1`] = `
Object {
"parallel/foo-0.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-1.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-1</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-2.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-2</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-3.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-3</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
"parallel/foo-4.html": "<!doctype html> <html lang=\\"en\\"> <head> <meta charset=\\"UTF-8\\"> <meta name=\\"viewport\\" content=\\"width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1\\"> <meta http-equiv=\\"X-UA-Compatible\\" content=\\"ie=edge\\"> <title>Cache-4</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> ",
}
`;

exports[`when applied with "test" option matches snapshot with empty value: errors 1`] = `Array []`;

exports[`when applied with "test" option matches snapshot with empty value: warnings 1`] = `Array []`;
Loading

0 comments on commit da974e5

Please sign in to comment.