Skip to content

Commit

Permalink
fix unit tests in IE9
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 23, 2016
1 parent 403f3cc commit c791fc7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/unit/features/component/component-keep-alive.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Vue from 'vue'
import injectStyles from '../transition/inject-styles'
import { isIE9 } from 'web/util/index'
import { isIE9 } from 'core/util/env'
import { nextFrame } from 'web/runtime/transition-util'

describe('Component keep-alive', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/features/directives/model-text.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Vue from 'vue'
import { isIE9, isAndroid } from 'web/util/index'
import { isIE9, isAndroid } from 'core/util/env'

describe('Directive v-model text', () => {
it('should update value both ways', done => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/features/transition/transition-group.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Vue from 'vue'
import injectStyles from './inject-styles'
import { isIE9 } from 'web/util/index'
import { isIE9 } from 'core/util/env'
import { nextFrame } from 'web/runtime/transition-util'

if (!isIE9) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/features/transition/transition-mode.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Vue from 'vue'
import injectStyles from './inject-styles'
import { isIE9 } from 'web/util/index'
import { isIE9 } from 'core/util/env'
import { nextFrame } from 'web/runtime/transition-util'

if (!isIE9) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/features/transition/transition.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Vue from 'vue'
import injectStyles from './inject-styles'
import { isIE9 } from 'web/util/index'
import { isIE9 } from 'core/util/env'
import { nextFrame } from 'web/runtime/transition-util'

if (!isIE9) {
Expand Down

0 comments on commit c791fc7

Please sign in to comment.