Skip to content

Commit

Permalink
Add unit tests (#3)
Browse files Browse the repository at this point in the history
* Add unit tests

* Add indexed test, update README type

* Use prepublishOnly to see if it avoids the tsconfig conflict

* Update to @typed/test 9.1.0 to avoid module format conflict with microbundle

* Use assertive test descriptions
  • Loading branch information
briancavalier authored Apr 3, 2019
1 parent 55ebdad commit 036d7b4
Show file tree
Hide file tree
Showing 6 changed files with 4,888 additions and 414 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Pair events with a `start`-based index.
withIndexStart(100, constant('withIndexStart', periodic(1000)))
```

### indexed :: (s → [s, i]) → s → Stream a → Stream [i, a]
### indexed :: (s → [i, s]) → s → Stream a → Stream [i, a]

Pair events with any iteratively computed index.

Expand Down
Loading

0 comments on commit 036d7b4

Please sign in to comment.