Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/*tslint:disable:object-literal-sort-keys*/
import test from "ava";
import { cases, marbles } from "rxjs-marbles/ava";
import { map } from "rxjs/operators";
cases(
"should support cases",
(m, c, t) => {
t.plan(1);
const source = m.hot(c.s);
const expected = m.cold(c.e);
const destination = source.pipe(
map(value => String.fromCharCode(value.charCodeAt(0) + 1))
);
m.expect(destination).toBeObservable(expected);
},
{
empty: {
s: "-|",
e: "-|"