🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

interface-blockstore-tests

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interface-blockstore-tests

Compliance tests for the blockstore interface

3.0.0
Version published
Maintainers
1
Created

interface-blockstore-tests

ipfs.io IRC Discord codecov CI

Compliance tests for the blockstore interface

Table of contents

Install

$ npm i interface-blockstore-tests

Usage

const MyBlockstore from './path/to/my-blockstore')
const suite from 'interface-blockstore-tests')

describe('MyBlockstore', () => {
  describe('interface-blockstore compliance tests', () => {
    suite({
      setup () {
        return new MyBlockstore()
      },
      teardown () {}
    })
  })
})

Contribute

PRs accepted.

Small note: If editing the Readme, please conform to the standard-readme specification.

License

Licensed under either of

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

FAQs

Package last updated on 12 Aug 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