How to use the fancy-test.fancy.retries function in fancy-test

To help you get started, we’ve selected a few fancy-test 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 oclif / oclif / test / run.js View on Github external
describe(cmd, () => {
    fancy
    .retries(CI ? 1 : 0)
    .do(() => {
      switch (cmd) {
      case 'base':
        build(cmd, name)
        sh.exec('yarn test')
        break
      case 'plugin':
        build(cmd, name)
        sh.exec('yarn test')
        sh.exec('node ./bin/run hello')
        sh.exec('node ./bin/run')
        sh.exec('node ./bin/run --help')
        sh.exec('npm pack --unsafe-perm')
        break
      case 'single':

fancy-test

extendable utilities for testing

MIT
Latest version published 6 months ago

Package Health Score

53 / 100
Full package analysis

Popular fancy-test functions