Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Aug 20, 2024
1 parent 04583d0 commit ecd1ae7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/__snapshots__/validate-options.test.js.snap.webpack5
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ exports[`options validate should throw an error on the "server" option with '{"t
exports[`options validate should throw an error on the "server" option with '{"type":"https","options":{"ca":true}}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.server should be one of these:
"http" | "https" | "spdy" | "http2" | non-empty string | object { type?, options? }
"http" | "https" | "spdy" | "http2" | function | non-empty string | object { type?, options? }
-> Allows to set server and options (by default 'http').
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverserver
Details:
Expand All @@ -550,7 +550,7 @@ exports[`options validate should throw an error on the "server" option with '{"t
exports[`options validate should throw an error on the "server" option with '{"type":"https","options":{"cert":true}}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.server should be one of these:
"http" | "https" | "spdy" | "http2" | non-empty string | object { type?, options? }
"http" | "https" | "spdy" | "http2" | function | non-empty string | object { type?, options? }
-> Allows to set server and options (by default 'http').
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverserver
Details:
Expand All @@ -567,7 +567,7 @@ exports[`options validate should throw an error on the "server" option with '{"t
exports[`options validate should throw an error on the "server" option with '{"type":"https","options":{"key":10}}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.server should be one of these:
"http" | "https" | "spdy" | "http2" | non-empty string | object { type?, options? }
"http" | "https" | "spdy" | "http2" | function | non-empty string | object { type?, options? }
-> Allows to set server and options (by default 'http').
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverserver
Details:
Expand All @@ -590,7 +590,7 @@ exports[`options validate should throw an error on the "server" option with '{"t
exports[`options validate should throw an error on the "server" option with '{"type":"https","options":{"pfx":10}}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.server should be one of these:
"http" | "https" | "spdy" | "http2" | non-empty string | object { type?, options? }
"http" | "https" | "spdy" | "http2" | function | non-empty string | object { type?, options? }
-> Allows to set server and options (by default 'http').
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverserver
Details:
Expand Down

0 comments on commit ecd1ae7

Please sign in to comment.