Skip to content

Commit a322d2c

Browse files
authored
fix(audits/server): Better "must accept UTF-8" test with emoji (#69)
1 parent 5ccedd7 commit a322d2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/audits/server.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ export function serverAudits(opts: ServerAuditOptions): Audit[] {
125125
headers: {
126126
'content-type': 'application/json; charset=utf-8',
127127
},
128-
body: JSON.stringify({ query: '{ __typename }' }),
128+
body: JSON.stringify({
129+
query: '{ __type(name: "Run🏃Swim🏊") { name } }',
130+
}),
129131
});
130132

131133
ressert(res).status.toBe(200);

0 commit comments

Comments
 (0)