test: remove error hook in module.test.js

This commit is contained in:
Clark Du 2018-03-19 10:20:20 +08:00
parent 0a4560e5e2
commit eb6ee86845
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9
1 changed files with 0 additions and 4 deletions

View File

@ -19,8 +19,4 @@ export default function () {
this.nuxt.hook('build:done', (builder) => {
this.nuxt.__builder_plugin = builder && ctr++
})
this.nuxt.hook('build:extendRoutes', (builder) => {
throw new Error('hook error testing')
})
}