How to use scuttle-testbot - 2 common examples

To help you get started, we’ve selected a few scuttle-testbot examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github blockades / patchbay-dark-crystal / views / lib / testbot.js View on Github external
module.exports = function (opts) {
  return require('scuttle-testbot')
    .use(require('ssb-private'))
    .use(require('ssb-query'))
    .use(require('ssb-backlinks'))
    .call(opts)
}
github blockades / scuttle-dark-crystal / test / testbot.js View on Github external
module.exports = function Testbot (opts) {
  const server = require('scuttle-testbot')
    .use(require('ssb-private'))
    .use(require('ssb-query'))
    .use(require('ssb-backlinks'))
    .call(opts)

  return server
}

scuttle-testbot

Spins up an empty, temporary ssb-server server that stores data in your temp folder

MIT
Latest version published 1 year ago

Package Health Score

46 / 100
Full package analysis

Popular scuttle-testbot functions