mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
test: remove error hook in module.test.js
This commit is contained in:
parent
0a4560e5e2
commit
eb6ee86845
4
test/fixtures/module/modules/hooks/index.js
vendored
4
test/fixtures/module/modules/hooks/index.js
vendored
@ -19,8 +19,4 @@ export default function () {
|
|||||||
this.nuxt.hook('build:done', (builder) => {
|
this.nuxt.hook('build:done', (builder) => {
|
||||||
this.nuxt.__builder_plugin = builder && ctr++
|
this.nuxt.__builder_plugin = builder && ctr++
|
||||||
})
|
})
|
||||||
|
|
||||||
this.nuxt.hook('build:extendRoutes', (builder) => {
|
|
||||||
throw new Error('hook error testing')
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user