Skip to content

Commit 557e9e3

Browse files
committed
test: delete unnecessary tests
1 parent c853649 commit 557e9e3

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

test/ContentBase.test.js

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -293,46 +293,6 @@ describe('ContentBase', () => {
293293
});
294294
});
295295

296-
describe('testing single & multiple internal paths', () => {
297-
afterAll((done) => {
298-
testServer.close(() => {
299-
done();
300-
});
301-
});
302-
it('Should not throw exception (string)', (done) => {
303-
try {
304-
// eslint-disable-next-line no-unused-vars
305-
server = testServer.start(config, {
306-
port: 9002,
307-
contentBase: contentBasePublic,
308-
watchContentBase: true,
309-
});
310-
311-
server.close(() => {
312-
done();
313-
});
314-
} catch (e) {
315-
expect(true).toBe(false);
316-
}
317-
});
318-
it('Should not throw exception (array)', (done) => {
319-
try {
320-
// eslint-disable-next-line no-unused-vars
321-
server = testServer.start(config, {
322-
port: 9001,
323-
contentBase: [contentBasePublic, contentBaseOther],
324-
watchContentBase: true,
325-
});
326-
327-
server.close(() => {
328-
done();
329-
});
330-
} catch (e) {
331-
expect(true).toBe(false);
332-
}
333-
});
334-
});
335-
336296
describe('default to PWD', () => {
337297
beforeAll((done) => {
338298
jest.spyOn(process, 'cwd').mockImplementation(() => contentBasePublic);

0 commit comments

Comments
 (0)