I'm following the documentation for end to end testing and it is throwing errors for v1.0.0-rc4
but it seems to be working when I revert to v1.0.0-alpha2
. Here is the error message:
index › Init Nuxt.js
16: config.dev = false // production build
17: nuxt = new Nuxt(config)
18: await nuxt.build()
Rejected promise returned by test. Reason:
TypeError {
message: '_nuxt2.default is not a constructor',
}
https://nuxtjs.org/guide/development-tools#end-to-end-testing https://nuxtjs.org/examples/testing
I've cloned the starter-template
and then followed the examples and documentation at the links above (though they do have a few discrepancies).