Skip to content

Commit

Permalink
test: update webpack 4 snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Apr 17, 2022
1 parent 92df0f0 commit f8812c6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/e2e/__snapshots__/watch-files.test.js.snap.webpack4
Expand Up @@ -2,6 +2,7 @@

exports[`watchFiles option should not crash if file doesn't exist should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -12,6 +13,7 @@ exports[`watchFiles option should not crash if file doesn't exist should reload

exports[`watchFiles option should work with array config should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -22,6 +24,7 @@ exports[`watchFiles option should work with array config should reload when file

exports[`watchFiles option should work with object with multiple paths should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -32,6 +35,7 @@ exports[`watchFiles option should work with object with multiple paths should re

exports[`watchFiles option should work with object with single path should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -56,6 +60,7 @@ Object {

exports[`watchFiles option should work with options {"interval":400,"poll":200} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -80,6 +85,7 @@ Object {

exports[`watchFiles option should work with options {"poll":200} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -104,6 +110,7 @@ Object {

exports[`watchFiles option should work with options {"poll":true} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -128,6 +135,7 @@ Object {

exports[`watchFiles option should work with options {"usePolling":false,"interval":200,"poll":400} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -152,6 +160,7 @@ Object {

exports[`watchFiles option should work with options {"usePolling":false,"poll":200} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -176,6 +185,7 @@ Object {

exports[`watchFiles option should work with options {"usePolling":false,"poll":true} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -200,6 +210,7 @@ Object {

exports[`watchFiles option should work with options {"usePolling":false} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -224,6 +235,7 @@ Object {

exports[`watchFiles option should work with options {"usePolling":true,"interval":200,"poll":400} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -248,6 +260,7 @@ Object {

exports[`watchFiles option should work with options {"usePolling":true,"poll":200} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -272,6 +285,7 @@ Object {

exports[`watchFiles option should work with options {"usePolling":true} should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -282,6 +296,7 @@ exports[`watchFiles option should work with options {"usePolling":true} should r

exports[`watchFiles option should work with string and glob should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand All @@ -292,6 +307,7 @@ exports[`watchFiles option should work with string and glob should reload when f

exports[`watchFiles option should work with string and path to directory should reload when file content is changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hey.",
]
`;
Expand Down

0 comments on commit f8812c6

Please sign in to comment.