diff --git a/components/spinner/index.spec.js b/components/spinner/index.spec.js index 7c6c32e85..adf4cc2d0 100644 --- a/components/spinner/index.spec.js +++ b/components/spinner/index.spec.js @@ -5,10 +5,10 @@ import {mount, unmount, dispatchEvent} from 'test/utils'; describe('Spinner', () => { let instance; - // afterEach(() => { - // unmount(instance); - // instance = null - // }); + afterEach(() => { + unmount(instance); + instance = null + }); it('step/max/min test', () => { instance = mount(StepDemo); diff --git a/test/__snapshots__/Demos.md b/test/__snapshots__/Demos.md index 9ef6ec054..ac8a32f9f 100644 --- a/test/__snapshots__/Demos.md +++ b/test/__snapshots__/Demos.md @@ -918,6 +918,12 @@ "
" ``` +#### `Spinner precision` + +``` +"
" +``` + #### `Spinner size` ``` @@ -927,7 +933,7 @@ #### `Spinner step` ``` -"
" +"
" ``` #### `Spinner vertical` @@ -2415,6 +2421,12 @@ "
" ``` +#### `Spinner precision` + +``` +"
" +``` + #### `Spinner size` ``` @@ -2424,7 +2436,7 @@ #### `Spinner step` ``` -"
" +"
" ``` #### `Spinner vertical` diff --git a/test/__snapshots__/React Demos.md b/test/__snapshots__/React Demos.md index ce262fb81..cdede78f6 100644 --- a/test/__snapshots__/React Demos.md +++ b/test/__snapshots__/React Demos.md @@ -824,6 +824,12 @@ "
" ``` +#### `Spinner precision` + +``` +"
" +``` + #### `Spinner size` ``` @@ -833,7 +839,7 @@ #### `Spinner step` ``` -"
" +"
" ``` #### `Spinner vertical` diff --git a/test/__snapshots__/Spinner.md b/test/__snapshots__/Spinner.md index 03918a005..786a6a9ee 100644 --- a/test/__snapshots__/Spinner.md +++ b/test/__snapshots__/Spinner.md @@ -3,30 +3,40 @@ #### `step/max/min test` ``` -"
" +"
" ``` ``` -"
" +"
" ``` ``` -"
" +"
" ``` ``` -"
" +"
" ``` ``` -"
" +"
" ``` ``` -"
" +"
" ``` ``` -"
" +"
" +``` + +#### `precision` + +``` +"
" +``` + +``` +"
" ```