• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

voodooattack / when-ts
90%
master: 91%

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: master
Repo Added 19 Sep 2018 12:04AM UTC
Files 5
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 1.0.0-alpha.4
branch: 1.0.0-alpha.4
CHANGE BRANCH
x
Reset
  • 1.0.0-alpha.4
  • 1.0.0
  • 1.0.0-alpha.1
  • 1.0.0-alpha.2
  • 1.0.0-alpha.3
  • 1.0.0-alpha.5
  • 1.0.1
  • 1.0.2
  • devel
  • master

pending completion
36

push

travis-ci

web-flow
Version 1.0.0-alpha.4 (#3)

* feat: decorators are now chainable, added 2 new decorators

* feat: inhibitors via `@inhibitOn('methodName')`

* feat: exclusions via `@exceptWhen(condition)`

BREAKING CHANGE: @when is stricter and requires the state type as the first generic argument.

* chore: Switched the project to conventional-changelog.

Contributers must now commit any new changes using `npm run commit`.

* docs(Spec): Refined the spec.

Added decorators for @input and @priority to the spec. Fixed some typos and small errors in the
examples in the readme.

* docs(Spec): Fixed some typos.

* docs(Spec): Rewind now accepts a discrete tick number instead of a realtive argument.

For better control, rewind no longer accepts a relative number specifying the number of past states
to rewind. It now only accepts the parameter `t`, which must be a discrete tick number of a past
saved state.

BREAKING CHANGE: Any code passing a relative number to `rewind` must be switched to provide the absolute tick number.

* feat: Version 1.0.0-alpha.4

A complete rewrite of how inputs work.

BREAKING CHANGE: The `StateMachine` class now recognises the distinction between State and Input. A second generic argument is need (`StateMachine<State, InputSource>`) that defined the layout of the input source. The `@input` decorator must now decorate fields on the input source itself. The state object passed to condition and actions is now a union of State & Input, but the return value from actions can only be a partial State.

98 of 118 branches covered (83.05%)

Branch coverage included in aggregate %.

113 of 113 new or added lines in 4 files covered. (100.0%)

174 of 183 relevant lines covered (95.08%)

310.64 hits per line

Relevant lines Covered
Build:
Build:
183 RELEVANT LINES 174 COVERED LINES
310.64 HITS PER LINE
Source Files on 1.0.0-alpha.4
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
36 1.0.0-alpha.4 Version 1.0.0-alpha.4 (#3) * feat: decorators are now chainable, added 2 new decorators * feat: inhibitors via `@inhibitOn('methodName')` * feat: exclusions via `@exceptWhen(condition)` BREAKING CHANGE: @when is stricter and requires the... push 26 Sep 2018 06:28PM UTC web-flow travis-ci pending completion  
See All Builds (57)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc