Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

tomekmarchi/Testatron

Repository files navigation

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');
})();

© copyright 2021 Universal Web, Inc

About

Dead simple unit testing JSDOC syntax.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •