fix test error

This commit is contained in:
wulinsheng123 2023-05-24 09:47:20 +00:00 committed by Nate Moore
parent c7277100ec
commit 876d19b6d6

View file

@ -25,6 +25,9 @@ describe('URL protocol', () => {
devPreview = await fixture.preview(); devPreview = await fixture.preview();
}); });
after(async () => {
await devPreview.stop();
});
it('test host is true ', async () => { it('test host is true ', async () => {
const address = getNetworkAddress('http', undefined, 3000) const address = getNetworkAddress('http', undefined, 3000)
const res = await fetch(address.network[0]) const res = await fetch(address.network[0])