JSPM

jest-environment-3id

0.4.1-alpha.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q10348F
  • License (Apache-2.0 OR MIT)

3ID environment for Jest

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 (from jest-environment-ceramic)
  • ipfs: IPFS instance (from jest-environment-ceramic)
  • modelAliases: deployed datamodel aliases

License

Apache-2.0 OR MIT