@@ -66,10 +66,10 @@ describe("graphql()", () => {
6666 authorization : "token secret123" ,
6767 "user-agent" : userAgent ,
6868 } ,
69- }
69+ } ,
7070 ) ,
7171 } ,
72- }
72+ } ,
7373 ) . then ( ( result ) => {
7474 expect ( JSON . stringify ( result ) ) . toStrictEqual ( JSON . stringify ( mockData ) ) ;
7575 } ) ;
@@ -108,7 +108,7 @@ describe("graphql()", () => {
108108 } ) ;
109109
110110 return { data : { } } ;
111- }
111+ } ,
112112 ) ,
113113 } ,
114114 } ) ;
@@ -147,12 +147,12 @@ describe("graphql()", () => {
147147 repo : "graphql.js" ,
148148 } ) ;
149149 expect ( options . headers [ "authorization" ] ) . toEqual (
150- "token secret123"
150+ "token secret123" ,
151151 ) ;
152152 expect ( options . headers [ "x-custom" ] ) . toEqual ( "value" ) ;
153153
154154 return { data : { } } ;
155- }
155+ } ,
156156 ) ,
157157 } ,
158158 } ;
@@ -194,7 +194,7 @@ describe("graphql()", () => {
194194 } ) ;
195195
196196 return { data : { } } ;
197- }
197+ } ,
198198 ) ,
199199 } ,
200200 } ;
@@ -220,7 +220,7 @@ describe("graphql()", () => {
220220 expect ( body . variables ) . toEqual ( undefined ) ;
221221
222222 return { data : { } } ;
223- }
223+ } ,
224224 ) ,
225225 } ,
226226 } ) ;
@@ -245,7 +245,7 @@ describe("graphql()", () => {
245245 expect ( options . headers . accept ) . toContain ( "antiope-preview" ) ;
246246 expect ( options . headers . accept ) . toContain ( "testpkg-preview" ) ;
247247 return { data : { } } ;
248- }
248+ } ,
249249 ) ,
250250 } ,
251251 } ) ;
@@ -273,7 +273,7 @@ describe("graphql()", () => {
273273 query : "test" ,
274274 } ) . catch ( ( error ) => {
275275 expect ( error . message ) . toEqual (
276- `[@octokit/graphql] "query" cannot be used as variable name`
276+ `[@octokit/graphql] "query" cannot be used as variable name` ,
277277 ) ;
278278 } ) ;
279279 } ) ;
@@ -295,7 +295,7 @@ describe("graphql()", () => {
295295 url : "https://example.com" ,
296296 } ) . catch ( ( error ) => {
297297 expect ( error . message ) . toEqual (
298- `[@octokit/graphql] "url" cannot be used as variable name`
298+ `[@octokit/graphql] "url" cannot be used as variable name` ,
299299 ) ;
300300 } ) ;
301301 } ) ;
@@ -313,7 +313,7 @@ describe("graphql()", () => {
313313 method : "test" ,
314314 } ) . catch ( ( error ) => {
315315 expect ( error . message ) . toEqual (
316- `[@octokit/graphql] "method" cannot be used as variable name`
316+ `[@octokit/graphql] "method" cannot be used as variable name` ,
317317 ) ;
318318 } ) ;
319319 } ) ;
0 commit comments