Package Exports
- jest-environment-3id
- jest-environment-3id/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jest-environment-3id) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
jest-environment-3id
3ID environment for Jest, using Ceramic with a 3ID resolver and deployed datamodel.
Installation
npm install -D jest-environment-3id
Jest configuration
Set jest-environment-3id
as Jest testEnvironment
Injected globals
ceramic
: Ceramic core instance (fromjest-environment-ceramic
)ipfs
: IPFS instance (fromjest-environment-ceramic
)modelAliases
: deployed datamodel aliases
License
Apache-2.0 OR MIT