Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with node --tests written in Civet (or possibly wider issue with ESM reading config) #1315

Open
danielbayley opened this issue Jul 10, 2024 · 0 comments
Labels
plugin/integration Integrating Civet with other tools

Comments

@danielbayley
Copy link
Contributor

danielbayley commented Jul 10, 2024

  1. node --import @danielx/civet/register --test tests/*.civet does not read or take into account any civet config.

  2. node --import @danielx/civet/register --test tests/*.civet --experimental-test-coverage throws a Warning: Could not report code coverage. TypeError: Cannot read properties of undefined (reading 'startOffset') error, so no test coverage :(

Note

This could just be symptomatic of a wider issue where executing ESM civet *.civet files ignores config entirely.

@edemaine edemaine added the plugin/integration Integrating Civet with other tools label Jul 11, 2024
@danielbayley danielbayley changed the title Problems with node --tests written in Civet Problems with node --tests written in Civet (or possibly wider issue with ESM reading config) Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin/integration Integrating Civet with other tools
Projects
None yet
Development

No branches or pull requests

2 participants