satisfy linter

This commit is contained in:
Simon Knott 2024-09-05 11:52:18 +02:00
parent 043e7fbfb7
commit 6b992274ca
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -37,12 +37,10 @@ test('query params', async ({ request }) => {
const searchParams = new URLSearchParams();
searchParams.set('userId', 1);
const response = await request.get(
'https://jsonplaceholder.typicode.com/posts',
{
params: searchParams,
// or as a string
params: 'userId=1',
}
'https://jsonplaceholder.typicode.com/posts',
{
params: searchParams // or as a string: 'userId=1'
}
);
// ...
});