mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-06-13 15:21:30 +00:00
feat: crypto interface (#2)
* docs: initial crypto readme * feat: add basic crypto interface test suite * feat: add optional remotepeer for inbound feat: add errors export * docs(fix): update src/crypto/README.md Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
This commit is contained in:
13
test/crypto/compliance.spec.js
Normal file
13
test/crypto/compliance.spec.js
Normal file
@ -0,0 +1,13 @@
|
||||
/* eslint-env mocha */
|
||||
'use strict'
|
||||
|
||||
const tests = require('../../src/crypto/tests')
|
||||
const mockCrypto = require('./mock-crypto')
|
||||
|
||||
describe('compliance tests', () => {
|
||||
tests({
|
||||
setup () {
|
||||
return mockCrypto
|
||||
}
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user