We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ed8d6b commit 8bd1948Copy full SHA for 8bd1948
test/cli/cli.test.js
@@ -674,7 +674,7 @@ describe('CLI', () => {
674
});
675
676
it('--allowed-hosts string', (done) => {
677
- testBin('--allowed-hosts', 'testhost.com')
+ testBin(['--allowed-hosts', 'testhost.com'])
678
.then((output) => {
679
expect(output.exitCode).toEqual(0);
680
done();
@@ -683,12 +683,12 @@ describe('CLI', () => {
683
684
685
it('--allowed-hosts multiple', (done) => {
686
- testBin(
+ testBin([
687
'--allowed-hosts',
688
'testhost.com',
689
690
- 'testhost1.com'
691
- )
+ 'testhost1.com',
+ ])
692
693
694
0 commit comments