$ npm install @ali/test-plus --save
import MyComponent from '@ali/test-plus';
name | type | default | describe |
---|---|---|---|
name | String | '' | describe |
name | param | return | describe |
---|---|---|---|
name | Object | / | describe |
import { createElement, render } from 'rax';
import DriverUniversal from 'driver-universal';
import MyComponent from '@ali/test-plus';
render(<MyComponent />, document.body, { driver: DriverUniversal });