import { ReactWrapper } from 'enzyme' ; export class FundsPage { constructor ( private wrapper ) { } getUsdBalance ( ) { this . wrapper . update ( ) ; return this . wrapper . find ( '.balance-amount' ) . text ( ) ; } }