-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Jérôme Beau edited this page Nov 11, 2022
·
2 revisions
ssg-api is a provided as a native ESM package, so:
- you may want to enable them in your node version, using the
--experimental-vm-modulesoption; - it may not be supported by all test frameworks out of the box.
For instance, Jest will require some specifics in its jest.config.js to transform the package code (here as ts-jest config):