Skip to content

power-assert and "type": "module" #2834

Answered by novemberborn
gautaz asked this question in Q&A
Discussion options

You must be logged in to vote

power-assert requires Babel, yes. Enabling the babel option in AVA's configuration requires https://github.com/avajs/babel to be installed.

That package does not support ESM, there's an open issue at avajs/babel#13.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gautaz
Comment options

@novemberborn
Comment options

@gautaz
Comment options

Answer selected by gautaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2832 on September 18, 2021 13:05.