@@ -82,12 +82,12 @@ exports[`options validate should throw an error on the "client" option with '{"p
8282exports[`options validate should throw an error on the "client" option with '{"port":true}' value 1`] = `
8383"ValidationError: Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
8484 - configuration.client.port should be one of these:
85- number | string | null
85+ number | string | \\"auto\\"
8686 -> Tells clients connected to devServer to use the provided port.
8787 Details:
8888 * configuration.client.port should be a number.
8989 * configuration.client.port should be a string.
90- * configuration.client.port should be a null ."
90+ * configuration.client.port should be \\"auto\\" ."
9191`;
9292
9393exports[`options validate should throw an error on the "client" option with '{"progress":""}' value 1`] = `
@@ -361,12 +361,23 @@ exports[`options validate should throw an error on the "open" option with '{"tar
361361exports[`options validate should throw an error on the "port" option with 'false' value 1`] = `
362362"ValidationError: Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
363363 - configuration.port should be one of these:
364- number | string | null
364+ number | string | \\"auto\\"
365365 -> Specify a port number to listen for requests on. https://webpack.js.org/configuration/dev-server/#devserverport
366366 Details:
367367 * configuration.port should be a number.
368368 * configuration.port should be a string.
369- * configuration.port should be a null."
369+ * configuration.port should be \\"auto\\"."
370+ `;
371+
372+ exports[`options validate should throw an error on the "port" option with 'null' value 1`] = `
373+ "ValidationError: Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
374+ - configuration.port should be one of these:
375+ number | string | \\"auto\\"
376+ -> Specify a port number to listen for requests on. https://webpack.js.org/configuration/dev-server/#devserverport
377+ Details:
378+ * configuration.port should be a number.
379+ * configuration.port should be a string.
380+ * configuration.port should be \\"auto\\"."
370381`;
371382
372383exports[`options validate should throw an error on the "proxy" option with '[]' value 1`] = `
0 commit comments