Skip to content

Commit

Permalink
test: minifier
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Mar 5, 2020
1 parent 0bbe29c commit e3727ab
Show file tree
Hide file tree
Showing 8 changed files with 245 additions and 25 deletions.
124 changes: 114 additions & 10 deletions test/__snapshots__/attributes-option.test.js.snap

Large diffs are not rendered by default.

39 changes: 36 additions & 3 deletions test/__snapshots__/esModule-option.test.js.snap

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion test/__snapshots__/loader.test.js.snap

Large diffs are not rendered by default.

57 changes: 48 additions & 9 deletions test/__snapshots__/minimize-option.test.js.snap

Large diffs are not rendered by default.

26 changes: 24 additions & 2 deletions test/__snapshots__/root-option.test.js.snap

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/fixtures/fallback.file.js
@@ -0,0 +1 @@
function test() {}
1 change: 1 addition & 0 deletions test/fixtures/module.file.js
@@ -0,0 +1 @@
function test() {}
9 changes: 9 additions & 0 deletions test/fixtures/simple.html
Expand Up @@ -201,3 +201,12 @@ <h2>An Ordered HTML List</h2>
<p >Text</p>

<img src="image.png" src="image.png" />

<script type="module" src="module.file.js"></script>
<script nomodule src="fallback.file.js"></script>
<script type="module">
function test() {}
</script>
<script>
function test() {}
</script>

0 comments on commit e3727ab

Please sign in to comment.