jssm
Version:
A Javascript finite state machine (FSM) with a terse DSL and a simple API. Most FSMs are one-liners. Fast, easy, powerful, well tested, typed with TypeScript, and visualizations. MIT License.
28 lines (19 loc) • 616 B
JavaScript
module.exports = {
testEnvironment : 'node',
moduleFileExtensions : ['js', 'ts'],
coveragePathIgnorePatterns : ["/node_modules/", "/src/ts/tests/"],
testMatch : ['**/*.stoch.ts'],
transform : { '^.+\\.ts$': 'ts-jest' },
verbose : false,
collectCoverage : true,
coverageDirectory : "coverage/stoch/",
coverageThreshold : {
global : {
branches : 1,
functions : 1,
lines : 1,
statements : 1,
},
},
collectCoverageFrom: ["src/ts/**/{!(jssm-dot),}.{js,ts}"]
};