Closed flying-sheep closed 4 years ago
Note 14 interprets this as ES2015 module and therefore one has to do:
import fixture from 'ava-fixture' fixture.default(ava, ...)
To fix this, you should do this: https://nodejs.org/api/esm.html#esm_dual_commonjs_es_module_packages
Thanks. Will take a look into it. But at the same time, you can check out @unional/fixture, I have moved most of the functionality there and that is not coupled to ava. :)
@unional/fixture
ava
Thank you for the pointer!
Note 14 interprets this as ES2015 module and therefore one has to do:
To fix this, you should do this: https://nodejs.org/api/esm.html#esm_dual_commonjs_es_module_packages