factory-panda

FactoryGirl like TDD test object generator in ES6 and compiled with babel

Usage no npm install needed!

<script type="module">
  import factoryPanda from 'https://cdn.skypack.dev/factory-panda';
</script>

README

Set up working environment

  • npm install -g babel-core
  • npm install -g babel-cli
  • Create .babelrc
{
  "presets": ["es2015"]
}

Run example

npm install
babel-node example.js

MISC

  • Read README.md with grip
  • pip install grip