Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 254c9d3

Browse files
committed
version compliancy
1 parent a411bff commit 254c9d3

File tree

3 files changed

+1638
-561
lines changed

3 files changed

+1638
-561
lines changed

‎main.spec.ts

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ import { marbles } from "rxjs-marbles/mocha";
22
import { map } from "rxjs/operators";
33

44
describe("rxjs-marbles", () => {
5+
it(
6+
"should support marble tests",
7+
marbles(m => {
8+
const source = m.hot("--^-a-b-c-|");
9+
const subs = "^-------!";
10+
const expected = "--b-c-d-|";
511

6-
it("should support marble tests", marbles(m => {
7-
8-
const source = m.hot("--^-a-b-c-|");
9-
const subs = "^-------!";
10-
const expected = "--b-c-d-|";
11-
12-
const destination = source.pipe(
13-
map(value => String.fromCharCode(value.charCodeAt(0) + 1))
14-
);
15-
m.expect(destination).toBeObservable(expected);
16-
m.expect(source).toHaveSubscriptions(subs);
17-
}));
18-
});
12+
const destination = source.pipe(
13+
map(value => String.fromCharCode(value.charCodeAt(0) + 1))
14+
);
15+
m.expect(destination).toBeObservable(expected);
16+
m.expect(source).toHaveSubscriptions(subs);
17+
})
18+
);
19+
});

0 commit comments

Comments
 (0)