Skip to content

Commit 43a8503

Browse files
committed
test(parseobservablemarble): add test cases for parseObservableMarble
1 parent 3208532 commit 43a8503

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { expect } from 'chai';
2+
import { parseObservableMarble } from '../../src/marbles/parseObservableMarble';
3+
4+
describe('parseObservableMarble', () => {
5+
it('should not allow unsubscription token', () => {
6+
const marble = '----!';
7+
8+
expect(() => parseObservableMarble(marble)).to.throw();
9+
});
10+
11+
it('should parse timeframe', () => {
12+
13+
});
14+
15+
it('should parse value literal', () => {
16+
17+
});
18+
19+
it('should parse value literal with custom value', () => {
20+
21+
});
22+
23+
it('should allow whitespace', () => {
24+
25+
});
26+
27+
it('should parse simultaneous value', () => {
28+
29+
});
30+
31+
it('should parse complete', () => {
32+
33+
});
34+
});

0 commit comments

Comments
 (0)