Skip to content

Commit a78dbdf

Browse files
committed
fix(audits): avoid false positives in 9ABE
1 parent eac6dc8 commit a78dbdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/audits/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ export function serverAudits(opts: ServerAuditOptions): Audit[] {
195195
async () => {
196196
const res = await fetchFn(await getUrl(opts.url), {
197197
method: 'POST',
198+
body: JSON.stringify({ query: '{ __typename }' }),
198199
});
199200
ressert(res).status.toBeBetween(400, 499);
200201
},

0 commit comments

Comments
 (0)