message: Add test for unsubscribe
diff: @@ -20,6 +20,7 @@ jest.mock('../client', () => {
  import React, { FC } from 'react';
  import renderer, { act } from 'react-test-renderer';
  +import { pipe, onEnd, interval } from 'wonka';
  import { createClient } from '../client';
  import { OperationContext } from '../types';
  import { useQuery, UseQueryArgs, UseQueryState } from './useQuery';
  @@ -162,6 +163,26 @@ describe('on change', () => {
  });
  });
  +describe('on unmount', () => {
  + const unsubscribe = jest.fn();
  +
  + beforeEach(() => {
  + client.executeQuery.mockReturnValueOnce(
  + pipe(
  + interval(400),
  + onEnd(unsubscribe)
  + )
  + );
  + });
  +
  + it('unsubscribe is called', () => {
  + const wrapper = renderer.create(<QueryUser {...props} />);
  + wrapper.unmount();
  +
  + expect(unsubscribe).toBeCalledTimes(1);
  + });
  +});
  +
  describe('execute query', () => {
  it('triggers query execution', () => {
  renderer.create(<QueryUser {...props} />);
  