Fix lint issue
This commit is contained in:
parent
79961e6855
commit
bfe6e6513c
|
|
@ -193,7 +193,7 @@ test.describe('fetch', () => {
|
||||||
keyPath: asset('client-certificates/client/trusted/key.pem'),
|
keyPath: asset('client-certificates/client/trusted/key.pem'),
|
||||||
}],
|
}],
|
||||||
});
|
});
|
||||||
const response = await request.get(`https://www.hello.local:${new URL(serverURL).port}`, { __testHookLookup });
|
const response = await request.get(`https://www.hello.local:${new URL(serverURL).port}`, { __testHookLookup } as any);
|
||||||
expect(response.url()).toBe(`https://www.hello.local:${new URL(serverURL).port}/`);
|
expect(response.url()).toBe(`https://www.hello.local:${new URL(serverURL).port}/`);
|
||||||
expect(response.status()).toBe(200);
|
expect(response.status()).toBe(200);
|
||||||
expect(await response.text()).toContain('Hello Alice, your certificate was issued by localhost!');
|
expect(await response.text()).toContain('Hello Alice, your certificate was issued by localhost!');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue