Skip to content

Commit e1c4151

Browse files
committed
test: update webpack-4 snaps
1 parent 1860e6c commit e1c4151

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/__snapshots__/validate-options.test.js.snap.webpack4

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,8 @@ exports[`options validate should throw an error on the "static" option with '' v
559559
exports[`options validate should throw an error on the "static" option with '{"directory":false}' value 1`] = `
560560
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
561561
- options.static.directory should be a non-empty string.
562-
-> Directory for static contents."
562+
-> Directory for static contents.
563+
-> Read more at https://webpack.js.org/configuration/dev-server/#directory"
563564
`;
564565

565566
exports[`options validate should throw an error on the "static" option with '{"publicPath":false}' value 1`] = `
@@ -572,6 +573,7 @@ exports[`options validate should throw an error on the "static" option with '{"p
572573
* options.static.publicPath should be one of these:
573574
[string, ...] (should not have fewer than 1 item) | string
574575
-> The static files will be available in the browser under this public path.
576+
-> Read more at https://webpack.js.org/configuration/dev-server/#publicpath
575577
Details:
576578
* options.static.publicPath should be an array:
577579
[string, ...] (should not have fewer than 1 item)
@@ -588,6 +590,7 @@ exports[`options validate should throw an error on the "static" option with '{"s
588590
* options.static.serveIndex should be one of these:
589591
boolean | object { … }
590592
-> Tells dev server to use serveIndex middleware when enabled.
593+
-> Read more at https://webpack.js.org/configuration/dev-server/#serveindex
591594
Details:
592595
* options.static.serveIndex should be a boolean.
593596
* options.static.serveIndex should be an object:
@@ -604,6 +607,7 @@ exports[`options validate should throw an error on the "static" option with '{"w
604607
* options.static.watch should be one of these:
605608
boolean | object { … }
606609
-> Watches for files in static content directory.
610+
-> Read more at https://webpack.js.org/configuration/dev-server/#watch
607611
Details:
608612
* options.static.watch should be a boolean.
609613
* options.static.watch should be an object:

0 commit comments

Comments
 (0)