optimize test
This commit is contained in:
parent
12c0b43e42
commit
36c5ab3140
2 changed files with 3 additions and 4 deletions
|
@ -25,6 +25,9 @@ describe('behavior from middleware', () => {
|
|||
fixture = await loadFixture({
|
||||
root: './fixtures/node-middleware/',
|
||||
output: 'server',
|
||||
server: {
|
||||
host: true
|
||||
},
|
||||
adapter: nodejs({ mode: 'standalone' }),
|
||||
});
|
||||
await fixture.build();
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import { expect } from 'chai';
|
||||
import { fetch } from 'undici';
|
||||
|
||||
describe('URL protocol', () => {
|
||||
/** @type {import('./test-utils').Fixture} */
|
||||
|
@ -7,9 +6,6 @@ describe('URL protocol', () => {
|
|||
|
||||
before(async () => {
|
||||
fixture = await loadFixture({
|
||||
server: {
|
||||
host: true
|
||||
},
|
||||
root: './fixtures/url-protocol/',
|
||||
output: 'server',
|
||||
adapter: nodejs({ mode: 'standalone' }),
|
||||
|
|
Loading…
Reference in a new issue