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

testatron

1.1.1 • Public • Published

testatron

Dead simple unit testing.

Example use

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

Arity 2017

install

npm i testatron

Downloadsweekly downloads

4

version

1.1.1

license

ISC

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability