Skip to content

Commit 6fde842

Browse files
committed
prettier
1 parent 2e708ba commit 6fde842

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/execution/__tests__/stream-test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ const friendType = new GraphQLObjectType({
2626
variablyDelayedAsyncName: {
2727
type: GraphQLString,
2828
async resolve(rootValue) {
29-
await new Promise((r) => setTimeout(r, (10 - parseInt(rootValue.id, 10)) * 10));
29+
await new Promise((r) =>
30+
setTimeout(r, (10 - parseInt(rootValue.id, 10)) * 10),
31+
);
3032
return rootValue.name;
3133
},
3234
},

src/execution/execute.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ export class Dispatcher {
17771777
done: false,
17781778
};
17791779
},
1780-
)
1780+
),
17811781
);
17821782
}
17831783

0 commit comments

Comments
 (0)