Socket
Book a DemoInstallSign in
Socket

@epdomains/passport-database-client

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epdomains/passport-database-client

## Running the Ceramic integration tests locally

1.0.1
latest
npmnpm
Version published
Maintainers
1
Created
Source

database-client

Running the Ceramic integration tests locally

Start up the Ceramic daemon in another thread

yarn run ceramic

Run the integration tests

yarn run test:integration

Note: Use the CERAMIC_CLIENT_URL env variable (like export CERAMIC_CLIENT_URL=http://127.0.0.1:7007) to change the ceramic client URL for the integration tests if required.

Running the Ceramic integration tests in Docker

IMPORTANT this will overwrite your schemas/scripts/create-model.json and schemas/scripts/publish-model.json files! Make a backup of these files!

docker-compose up -d

Tests are flaky the first time, possibly due to connection issues with the Ceramic node. If tests fail due to an error like request to http://localhost:7007/api/v0/streams failed, reason: connect ECONNREFUSED 127.0.0.1:7007, try running docker-compose up -d again to re-run the tests.

FAQs

Package last updated on 02 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.