Skip to content

Commit

Permalink
test: cache (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Sep 15, 2020
1 parent 5de108d commit 0e21d92
Show file tree
Hide file tree
Showing 3 changed files with 537 additions and 8 deletions.
12 changes: 6 additions & 6 deletions test/__snapshots__/cache-option.test.js.snap.webpack4
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ exports[`"cache" option should match snapshot for the "true" value and extract c

exports[`"cache" option should match snapshot for the "true" value and extract comments in different files: warnings 2`] = `Array []`;

exports[`"cache" option should match snapshot for the "true" value and extract comments in one files: assets 1`] = `
exports[`"cache" option should match snapshot for the "true" value and extract comments in the one file: assets 1`] = `
Object {
"4.4.js": "/*! For license information please see licenses.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{4:function(n,o){n.exports=Math.random()}}]);",
Expand Down Expand Up @@ -245,7 +245,7 @@ Object {
}
`;

exports[`"cache" option should match snapshot for the "true" value and extract comments in one files: assets 2`] = `
exports[`"cache" option should match snapshot for the "true" value and extract comments in the one file: assets 2`] = `
Object {
"4.4.js": "/*! For license information please see licenses.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{4:function(n,o){n.exports=Math.random()}}]);",
Expand Down Expand Up @@ -298,13 +298,13 @@ Object {
}
`;

exports[`"cache" option should match snapshot for the "true" value and extract comments in one files: errors 1`] = `Array []`;
exports[`"cache" option should match snapshot for the "true" value and extract comments in the one file: errors 1`] = `Array []`;

exports[`"cache" option should match snapshot for the "true" value and extract comments in one files: errors 2`] = `Array []`;
exports[`"cache" option should match snapshot for the "true" value and extract comments in the one file: errors 2`] = `Array []`;

exports[`"cache" option should match snapshot for the "true" value and extract comments in one files: warnings 1`] = `Array []`;
exports[`"cache" option should match snapshot for the "true" value and extract comments in the one file: warnings 1`] = `Array []`;

exports[`"cache" option should match snapshot for the "true" value and extract comments in one files: warnings 2`] = `Array []`;
exports[`"cache" option should match snapshot for the "true" value and extract comments in the one file: warnings 2`] = `Array []`;

exports[`"cache" option should match snapshot for the "true" value and source maps: assets 1`] = `
Object {
Expand Down
Loading

0 comments on commit 0e21d92

Please sign in to comment.