piotrwitek / react-redux-typescript-jspm-starter

Futuristic, bundle-free, development environment for building Component-Driven SPA with React, Redux and TypeScript - powered by JSPM (SystemJS & Rollup with tree-shaking)
https://piotrwitek.github.io/react-redux-typescript-jspm-starter/
MIT License
231 stars 43 forks source link

improve test harness setup #33

Closed piotrwitek closed 7 years ago

piotrwitek commented 7 years ago

Figured out nice mocha setup for TypeScript:

require('dotenv').config();

require('ts-node').register({
  project: './src/',
  // fast: true,
  // ignore: false,
});
    "test": "mocha -r './scripts/test' **/*.spec.ts",
piotrwitek commented 7 years ago

my solution ready: https://github.com/piotrwitek/ts-mocha, just set it up with some example tests to show off

piotrwitek commented 7 years ago

mirgating to jest: #34

piotrwitek commented 7 years ago

merged