Skip to content

Commit

Permalink
test: cli allowed hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanv committed May 26, 2021
1 parent 83f8073 commit af628d7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/cli/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,15 @@ describe('CLI', () => {
.catch(done);
});

it('--allowed-hosts', (done) => {
testBin('--allowed-hosts')
.then((output) => {
expect(output.exitCode).toEqual(0);
done();
})
.catch(done);
});

it('--no-static-serve-index', (done) => {
testBin('--no-static-serve-index')
.then((output) => {
Expand Down

0 comments on commit af628d7

Please sign in to comment.