Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Sep 4, 2020
1 parent aa9e587 commit 0dedab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wrap/tests/makeRemoteExecutableSchema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('remote subscriptions', () => {
let notificationCnt = 0;
const sub1 = subscribe(schema, subscription);
sub1.then(async (results) => {
for await (let result of results as AsyncIterable<ExecutionResult>) {
for await (const result of results as AsyncIterable<ExecutionResult>) {
expect(result).toHaveProperty('data');
expect(result.data).toEqual(mockNotification);
notificationCnt++;
Expand All @@ -114,7 +114,7 @@ describe('remote subscriptions', () => {

const sub2 = subscribe(schema, subscription);
sub2.then(async (results) => {
for await (let result of results as AsyncIterable<ExecutionResult>) {
for await (const result of results as AsyncIterable<ExecutionResult>) {
expect(result).toHaveProperty('data');
expect(result.data).toEqual(mockNotification);
}
Expand Down

0 comments on commit 0dedab2

Please sign in to comment.