You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AVA's watch mode tracks which source files are loaded by which test files. This way it knows which test files to re-run. This is based on instrumenting the require code in Node.js. We won't be able to track ESM dependencies using this method.
We'll have to find a different way of resolving dependencies. Perhaps by analyzing the imports of test files. We'll have to allow our Babel and TypeScript providers to participate in this.
I think maybe Jest's haste map does something similar, but it's not documented.
The text was updated successfully, but these errors were encountered:
AVA's watch mode tracks which source files are loaded by which test files. This way it knows which test files to re-run. This is based on instrumenting the
require
code in Node.js. We won't be able to track ESM dependencies using this method.We'll have to find a different way of resolving dependencies. Perhaps by analyzing the imports of test files. We'll have to allow our Babel and TypeScript providers to participate in this.
I think maybe Jest's haste map does something similar, but it's not documented.
The text was updated successfully, but these errors were encountered: