UNPKG

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) 618 B
module.exports = { testEnvironment : 'node', moduleFileExtensions : ['js', 'ts'], coveragePathIgnorePatterns : ["/node_modules/", "/src/ts/tests/"], testMatch : ['**/*.spec.ts'], transform : { '^.+\\.ts$': 'ts-jest' }, verbose : false, collectCoverage : true, coverageDirectory : "coverage/spec/", coverageThreshold : { global : { branches : 90, functions : 90, lines : 90, statements : 90, }, }, collectCoverageFrom: ["src/ts/**/{!(jssm-dot),}.{js,ts}"] };