diff --git a/src/count-down/test/index.spec.js b/src/count-down/test/index.spec.js index 17c5e27d7..8e2324398 100644 --- a/src/count-down/test/index.spec.js +++ b/src/count-down/test/index.spec.js @@ -1,4 +1,4 @@ -import { nextTick } from 'vue'; +import { KeepAlive, nextTick } from 'vue'; import CountDown from '..'; import { mount, later } from '../../../test'; @@ -178,11 +178,13 @@ test('should format S milliseconds correctly', () => { test('should pause counting when deactivated', async () => { const wrapper = mount({ - template: ` - - - - `, + render() { + return ( + + {this.render ? : null} + + ); + }, data() { return { render: true,