Skip to content

Commit

Permalink
fix(unit-ava): performance is not defined, closes #65
Browse files Browse the repository at this point in the history
  • Loading branch information
nklayman committed Mar 19, 2019
1 parent 8bbb860 commit 96eb49a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/unit-ava/src/base/test/ava/helpers/setup.js
Expand Up @@ -4,6 +4,8 @@ require('jsdom-global')(undefined, {
})
// https://github.com/vuejs/vue-cli/issues/2128
window.Date = Date
// https://github.com/vuejs/vue/issues/9698
global.performance = window.performance
const hooks = require('require-extension-hooks')
const Vue = require('vue')

Expand Down

0 comments on commit 96eb49a

Please sign in to comment.