Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// key.export
{
name: 'export',
reason: 'TODO not implemented in go-ipfs yet'
},
// key.import
{
name: 'import',
reason: 'TODO not implemented in go-ipfs yet'
}
]
})
tests.miscellaneous(commonFactory)
tests.name(createFactory(merge(commonOptions,
{
ipfsOptions: {
offline: true
}
}
)), {
skip: [
// stop
{
name: 'should resolve a record from peerid as cidv1 in base32',
reason: 'TODO not implemented in go-ipfs yet: https://github.com/ipfs/go-ipfs/issues/5287'
}
]
})
tests.namePubsub(createFactory(merge(commonOptions,
tests.ls(defaultCommonFactory)
tests.miscellaneous(defaultCommonFactory, {
skip: [
{
name: 'should resolve an IPNS DNS link',
reason: 'TODO IPNS not implemented yet'
},
{
name: 'should resolve IPNS link recursively',
reason: 'TODO IPNS not implemented yet'
}
]
})
tests.name(defaultCommonFactory)
tests.object(defaultCommonFactory)
tests.pin(defaultCommonFactory)
tests.ping(defaultCommonFactory, { skip: true })
tests.pubsub(defaultCommonFactory, { skip: true })
tests.repo(defaultCommonFactory, {
skip: [
// repo.gc
{
name: 'gc',
reason: 'TODO: repo.gc is not implemented in js-ipfs yet!'
}
skip: isNode ? null : [{
name: 'addFromStream',
reason: 'Not designed to run in the browser'
}, {
name: 'addFromFs',
reason: 'Not designed to run in the browser'
}]
})
tests.filesMFS(commonFactory)
tests.key(commonFactory)
tests.miscellaneous(commonFactory)
tests.name(createFactory(merge(commonOptions, {
ipfsOptions: {
pass: 'ipfs-is-awesome-software',
offline: true
}
}), overrides))
tests.namePubsub(createFactory(merge(commonOptions, {
ipfsOptions: {
EXPERIMENTAL: {
ipnsPubsub: true
}
}
}), overrides))
tests.object(commonFactory)
skip: isNode ? null : [{
name: 'addFromStream',
reason: 'Not designed to run in the browser'
}, {
name: 'addFromFs',
reason: 'Not designed to run in the browser'
}]
})
tests.filesMFS(commonFactory)
tests.key(commonFactory)
tests.miscellaneous(commonFactory)
tests.name(createFactory(merge(commonOptions, {
ipfsOptions: {
offline: true
}
}), overrides))
tests.namePubsub(createFactory(merge(commonOptions, {
ipfsOptions: {
EXPERIMENTAL: {
ipnsPubsub: true
}
}
}), overrides))
tests.object(commonFactory, {
skip: [
{