enzyme get state after mount code example Example: enzyme check state const component = wrapper.instance().state;