File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -213,18 +213,17 @@ describe('CLI', () => {
213
213
it ( 'https and other related options' , ( done ) => {
214
214
const pfxFile = path . join ( httpsCertificateDirectory , 'server.pfx' ) ;
215
215
const key = path . join ( httpsCertificateDirectory , 'server.key' ) ;
216
- const cacert = path . join ( httpsCertificateDirectory , 'ca.pem ' ) ;
216
+ const cert = path . join ( httpsCertificateDirectory , 'server.crt ' ) ;
217
217
const passphrase = 'webpack-dev-server' ;
218
218
219
219
testBin (
220
- `--https --https-key ${ key } --https-pfx ${ pfxFile } --https-passphrase ${ passphrase } --https-cacert ${ cacert } `
220
+ `--https --https-key ${ key } --https-pfx ${ pfxFile } --https-passphrase ${ passphrase } --https-cert ${ cert } `
221
221
)
222
222
. then ( ( output ) => {
223
223
expect ( output . exitCode ) . toEqual ( 0 ) ;
224
224
expect (
225
225
normalizeStderr ( output . stderr , { ipv6 : true , https : true } )
226
226
) . toMatchSnapshot ( ) ;
227
-
228
227
done ( ) ;
229
228
} )
230
229
. catch ( done ) ;
You can’t perform that action at this time.
0 commit comments