Static GitHub Issues

[1379] Unable to run ava tests using v1.0.0-rc4

prev: public path problem
next: Cannot install nuxt-start 1.0.0-rc4

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).

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1223">#c1223</a>)</em></sub></div>