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
This is helpful for writing tests that reference the package instead of directly to the files, by that we can avoid import paths like ../../../src/xxx, and test if the exports field is in the correct format to be consumed.
Thank you!
The text was updated successfully, but these errors were encountered:
Node.js allows one to self-reference the package by the package's name:
https://nodejs.org/api/packages.html#self-referencing-a-package-using-its-name
This is helpful for writing tests that reference the package instead of directly to the files, by that we can avoid import paths like
../../../src/xxx
, and test if theexports
field is in the correct format to be consumed.Thank you!
The text was updated successfully, but these errors were encountered: