Skip to content

Commit

Permalink
Fix tests by deleting lastResultSnapshot when deleting lastResult.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Oct 30, 2018
1 parent fc9070d commit 510fc3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/apollo-client/src/core/ObservableQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export class ObservableQuery<

public resetLastResults(): void {
delete this.lastResult;
delete this.lastResultSnapshot;
delete this.lastError;
this.isTornDown = false;
}
Expand Down

0 comments on commit 510fc3c

Please sign in to comment.