Skip to content

Commit

Permalink
test: udpate snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Oct 15, 2021
1 parent 76aa77a commit 59beb01
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions test/__snapshots__/validate-options.test.js.snap.webpack4
Expand Up @@ -371,7 +371,7 @@ exports[`options validate should throw an error on the "https" option with '{"ca
Details:
* options.https.cacert should be one of these:
[string | Buffer, ...] | string | Buffer
-> Path to an SSL CA certificate or content of an SSL CA certificate.
-> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.cacert\` option.
Details:
* options.https.cacert should be an array:
[string | Buffer, ...]
Expand All @@ -388,7 +388,7 @@ exports[`options validate should throw an error on the "https" option with '{"ce
Details:
* options.https.cert should be one of these:
[string | Buffer, ...] | string | Buffer
-> Path to an SSL certificate or content of an SSL certificate.
-> Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.cert\` option.
Details:
* options.https.cert should be an array:
[string | Buffer, ...]
Expand All @@ -405,7 +405,7 @@ exports[`options validate should throw an error on the "https" option with '{"ke
Details:
* options.https.key should be one of these:
[string | Buffer | object { … }, ...] | string | Buffer
-> Path to an SSL key or content of an SSL key.
-> Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the \`server.options.key\` option.
Details:
* options.https.key should be an array:
[string | Buffer | object { … }, ...]
Expand All @@ -416,7 +416,7 @@ exports[`options validate should throw an error on the "https" option with '{"ke
exports[`options validate should throw an error on the "https" option with '{"passphrase":false}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.https.passphrase should be a string.
-> Passphrase for a pfx file."
-> Passphrase for a pfx file. Deprecated, it will be removed in favor of the \`server.options.passphrase\` option."
`;

exports[`options validate should throw an error on the "https" option with '{"pfx":10}' value 1`] = `
Expand All @@ -428,7 +428,7 @@ exports[`options validate should throw an error on the "https" option with '{"pf
Details:
* options.https.pfx should be one of these:
[string | Buffer | object { … }, ...] | string | Buffer
-> Path to an SSL pfx file or content of an SSL pfx file.
-> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the \`server.options.pfx\` option.
Details:
* options.https.pfx should be an array:
[string | Buffer | object { … }, ...]
Expand All @@ -439,7 +439,7 @@ exports[`options validate should throw an error on the "https" option with '{"pf
exports[`options validate should throw an error on the "https" option with '{"requestCert":"test"}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.https.requestCert should be a boolean.
-> Request for an SSL certificate."
-> Request for an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.requestCert\` option."
`;

exports[`options validate should throw an error on the "ipc" option with '{}' value 1`] = `
Expand Down
12 changes: 6 additions & 6 deletions test/__snapshots__/validate-options.test.js.snap.webpack5
Expand Up @@ -371,7 +371,7 @@ exports[`options validate should throw an error on the "https" option with '{"ca
Details:
* options.https.cacert should be one of these:
[string | Buffer, ...] | string | Buffer
-> Path to an SSL CA certificate or content of an SSL CA certificate.
-> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.cacert\` option.
Details:
* options.https.cacert should be an array:
[string | Buffer, ...]
Expand All @@ -388,7 +388,7 @@ exports[`options validate should throw an error on the "https" option with '{"ce
Details:
* options.https.cert should be one of these:
[string | Buffer, ...] | string | Buffer
-> Path to an SSL certificate or content of an SSL certificate.
-> Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.cert\` option.
Details:
* options.https.cert should be an array:
[string | Buffer, ...]
Expand All @@ -405,7 +405,7 @@ exports[`options validate should throw an error on the "https" option with '{"ke
Details:
* options.https.key should be one of these:
[string | Buffer | object { … }, ...] | string | Buffer
-> Path to an SSL key or content of an SSL key.
-> Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the \`server.options.key\` option.
Details:
* options.https.key should be an array:
[string | Buffer | object { … }, ...]
Expand All @@ -416,7 +416,7 @@ exports[`options validate should throw an error on the "https" option with '{"ke
exports[`options validate should throw an error on the "https" option with '{"passphrase":false}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.https.passphrase should be a string.
-> Passphrase for a pfx file."
-> Passphrase for a pfx file. Deprecated, it will be removed in favor of the \`server.options.passphrase\` option."
`;

exports[`options validate should throw an error on the "https" option with '{"pfx":10}' value 1`] = `
Expand All @@ -428,7 +428,7 @@ exports[`options validate should throw an error on the "https" option with '{"pf
Details:
* options.https.pfx should be one of these:
[string | Buffer | object { … }, ...] | string | Buffer
-> Path to an SSL pfx file or content of an SSL pfx file.
-> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the \`server.options.pfx\` option.
Details:
* options.https.pfx should be an array:
[string | Buffer | object { … }, ...]
Expand All @@ -439,7 +439,7 @@ exports[`options validate should throw an error on the "https" option with '{"pf
exports[`options validate should throw an error on the "https" option with '{"requestCert":"test"}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.https.requestCert should be a boolean.
-> Request for an SSL certificate."
-> Request for an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.requestCert\` option."
`;

exports[`options validate should throw an error on the "ipc" option with '{}' value 1`] = `
Expand Down

0 comments on commit 59beb01

Please sign in to comment.