update module tests

This commit is contained in:
Pooya Parsa 2017-07-30 16:26:27 +04:30
parent 1417dae99b
commit bdca7630a4
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ module.exports = function () {
let ctr = 1
// Add hook for module
this.nuxt.plugin('module', moduleContainer => {
this.plugin('ready', moduleContainer => {
this.nuxt.__module_hook = moduleContainer && ctr++
})