1.0.0 • Published 1 year ago

@grifinas/test-maker v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Test maker

Intended to be used by blog team for their test making needs. According to the agreed upon guidelines.

Setup

Run npm run build

Usage

Can be used with node ./dist/index.js path-to-test-file

Behaviour

  1. This script should always generate a test file if a .ts file is provided.
  2. It tries to guess if it's an integration test or a unit test and uses appropriate template
  3. If something goes wrong while gathering data for scaffolding, it tries to fall back to a simpler structure not requiring parsing