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

voodooattack / when-ts / 35
91%

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

pending completion
35

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

Jobs
ID Job ID Ran Files Coverage
1 35.1 26 Sep 2018 06:28PM UTC 0
90.37
Travis Job 35.1
Source Files on build 35
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #35
  • 3269114a on github
  • Prev Build on master (#25)
  • Next Build on master (#45)
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