import { assert } from 'chai' ; import { RxApolloClient } from '../../src/RxApolloClient' ; import * as heroes from '../fixtures/heroes' ; describe ( 'RxApolloClient.mutate' , ( ) => { let client ; beforeEach ( ( ) => { client = heroes . mockRxClient ( ) . client ; } ) ; it ( 'should be available' , ( ) => { assert . isFunction ( client . mutate ) ; } ) ; } ) ;