How to use the fancy-test.fancy.do 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 HAECHI-LABS / henesis-cli / src / compiler / solc.spec.ts View on Github external
context('when file does not end with .sol', () => {
      fancy
        .do(async () => {
          const path = __dirname + '/../../templates/contract/example.notsol';
          await compileSol(path, ({ solcVersion: '0.4.12' } as any) as Option);
        })
        .catch('it is not a solidity file.')
        .it('should throw not sol file error');
    });
  });

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