Skip to content

nuxt.config.js with ava #2170

@wandarkaf

Description

@wandarkaf

I'm following the steps in the documentation to integrate ava and jsdom for testing and I hit a wall...
I have a project with a nutx.config.js configuration file. And it seems you need to do some configuration that on this file that is not properly documented on nuxt testing. When I run yarn run test I got a bunch of

ERROR in app.4a0e11cc86875998f2bc.js from UglifyJs Unexpected token: punc (() [./.nuxt/components/no-ssr.js:8,2][app.4a0e11cc86875998f2bc.js:148,6]

type errors. Anyone knows or can help on the proper way of configure the nutx.config.js to make ava and jsdom? I can help to update the documentation of nuxt if needed.

Thanks :)

This question is available on Nuxt.js community (#c1919)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions