Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

nbome25

1.0.4 • Public • Published

nbome25

Dead simple unit testing.

Example use

(async () => {
  const lucy = require('Lucy');
  const nbome25 = require('nbome25');
  const {
    keys
  } = lucy;
  console.log('Building Test Cases');
  await nbome25({
    destination: `${__dirname}/tests`,
    filePath: './build/bundle.js',
    prefix: ` delete require.cache[require.resolve('Lucy')];
    const $ = require('Lucy');
    const {
      ${keys(lucy).join(',')}
    } = $;`,
  });
  console.log('END');
})();

Arity 2017

install

npm i nbome25

Downloadsweekly downloads

6

version

1.0.4

license

ISC

repository

githubgithub

last publish

collaborators

  • avatar