Skip to content

Commit 28960d3

Browse files
committed
test: fix
1 parent 5d0bf81 commit 28960d3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/cli/cli.test.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -213,18 +213,17 @@ describe('CLI', () => {
213213
it('https and other related options', (done) => {
214214
const pfxFile = path.join(httpsCertificateDirectory, 'server.pfx');
215215
const key = path.join(httpsCertificateDirectory, 'server.key');
216-
const cacert = path.join(httpsCertificateDirectory, 'ca.pem');
216+
const cert = path.join(httpsCertificateDirectory, 'server.crt');
217217
const passphrase = 'webpack-dev-server';
218218

219219
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}`
221221
)
222222
.then((output) => {
223223
expect(output.exitCode).toEqual(0);
224224
expect(
225225
normalizeStderr(output.stderr, { ipv6: true, https: true })
226226
).toMatchSnapshot();
227-
228227
done();
229228
})
230229
.catch(done);

0 commit comments

Comments
 (0)