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

voodooattack / when-ts / 35 / 1
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 26 Sep 2018 06:28PM UTC
Files 5
Run time 1min
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

26 Sep 2018 06:24PM UTC coverage: 90.365% (-2.5%) from 92.857%
35.1

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 %.

174 of 183 relevant lines covered (95.08%)

310.64 hits per line

Source Files on job 35.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 33
  • Travis Job 35.1
  • 3269114a on github
  • Prev Job for on master (#25.1)
  • Next Job for on master (#45.1)
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