Skip to content

Commit 8bd1948

Browse files
committed
test: fix
1 parent 8ed8d6b commit 8bd1948

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/cli/cli.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ describe('CLI', () => {
674674
});
675675

676676
it('--allowed-hosts string', (done) => {
677-
testBin('--allowed-hosts', 'testhost.com')
677+
testBin(['--allowed-hosts', 'testhost.com'])
678678
.then((output) => {
679679
expect(output.exitCode).toEqual(0);
680680
done();
@@ -683,12 +683,12 @@ describe('CLI', () => {
683683
});
684684

685685
it('--allowed-hosts multiple', (done) => {
686-
testBin(
686+
testBin([
687687
'--allowed-hosts',
688688
'testhost.com',
689689
'--allowed-hosts',
690-
'testhost1.com'
691-
)
690+
'testhost1.com',
691+
])
692692
.then((output) => {
693693
expect(output.exitCode).toEqual(0);
694694
done();

0 commit comments

Comments
 (0)