mirror of
https://github.com/wassname/slider.git
synced 2026-09-17 12:50:06 +08:00
chore: update test case
This commit is contained in:
+5
-1
@@ -8,13 +8,17 @@ var Simulate = TestUtils.Simulate;
|
||||
var $ = require('jquery');
|
||||
require('../assets/index.less');
|
||||
|
||||
if (typeof initMochaPhantomJS === 'function') {
|
||||
initMochaPhantomJS()
|
||||
}
|
||||
|
||||
describe('rc-slider', function () {
|
||||
this.timeout(5000);
|
||||
var div = document.createElement('div');
|
||||
document.body.appendChild(div);
|
||||
|
||||
afterEach(function () {
|
||||
React.unmountComponentAtNode(div);
|
||||
ReactDOM.unmountComponentAtNode(div);
|
||||
});
|
||||
|
||||
it('should render a simple slider with value correctly!', function () {
|
||||
|
||||
Reference in New Issue
Block a user