Skip to content

Commit c791fc7

Browse files
committed
fix unit tests in IE9
1 parent 403f3cc commit c791fc7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/unit/features/component/component-keep-alive.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Vue from 'vue'
22
import injectStyles from '../transition/inject-styles'
3-
import { isIE9 } from 'web/util/index'
3+
import { isIE9 } from 'core/util/env'
44
import { nextFrame } from 'web/runtime/transition-util'
55

66
describe('Component keep-alive', () => {

test/unit/features/directives/model-text.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Vue from 'vue'
2-
import { isIE9, isAndroid } from 'web/util/index'
2+
import { isIE9, isAndroid } from 'core/util/env'
33

44
describe('Directive v-model text', () => {
55
it('should update value both ways', done => {

test/unit/features/transition/transition-group.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Vue from 'vue'
22
import injectStyles from './inject-styles'
3-
import { isIE9 } from 'web/util/index'
3+
import { isIE9 } from 'core/util/env'
44
import { nextFrame } from 'web/runtime/transition-util'
55

66
if (!isIE9) {

test/unit/features/transition/transition-mode.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Vue from 'vue'
22
import injectStyles from './inject-styles'
3-
import { isIE9 } from 'web/util/index'
3+
import { isIE9 } from 'core/util/env'
44
import { nextFrame } from 'web/runtime/transition-util'
55

66
if (!isIE9) {

test/unit/features/transition/transition.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Vue from 'vue'
22
import injectStyles from './inject-styles'
3-
import { isIE9 } from 'web/util/index'
3+
import { isIE9 } from 'core/util/env'
44
import { nextFrame } from 'web/runtime/transition-util'
55

66
if (!isIE9) {

0 commit comments

Comments
 (0)