access satate in mount jtest code example Example: enzyme check state const component = wrapper.instance().state;