update module tests

This commit is contained in:
Pooya Parsa 2017-07-30 16:26:27 +04:30
parent 1417dae99b
commit bdca7630a4

View File

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