Skip to content

Commit 638b3bc

Browse files
test: fix
1 parent c2ebba2 commit 638b3bc

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

test/server/host-option.test.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -78,37 +78,6 @@ describe('host option', () => {
7878
afterAll(testServer.close);
7979
});
8080

81-
describe('is null', () => {
82-
beforeAll((done) => {
83-
server = testServer.start(
84-
config,
85-
{
86-
static: {
87-
directory: staticDirectory,
88-
watch: false,
89-
},
90-
host: null,
91-
port,
92-
},
93-
done
94-
);
95-
req = request(server.app);
96-
});
97-
98-
it('server address', () => {
99-
const address = server.server.address();
100-
101-
expect(address.address).toBe('::');
102-
expect(address.port).toBe(port);
103-
});
104-
105-
it('Request to index', (done) => {
106-
req.get('/').expect(200, done);
107-
});
108-
109-
afterAll(testServer.close);
110-
});
111-
11281
describe('is 127.0.0.1 (IPv4)', () => {
11382
beforeAll((done) => {
11483
server = testServer.start(

0 commit comments

Comments
 (0)