Skip to content

Commit

Permalink
chore: tweak test to make dtslint deterministic
Browse files Browse the repository at this point in the history
For some reason, the number[] type shows up in seemingly random places
in the union.
  • Loading branch information
cartant committed Jan 22, 2020
1 parent 01bb759 commit dc88b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec-dtslint/observables/of-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ it('should support mixed type of 9 params', () => {
});

it('should support mixed type of 13 params', () => {
const res = of(a, b, c, d, e, f, g, h, i, j, '', true, 123, [1, 2, 3]); // $ExpectType Observable<string | number | boolean | A | B | C | D | E | F | G | number[] | H | I | J>
const res = of(a, b, c, d, e, f, g, h, i, j, '', true, 123, 10n); // $ExpectType Observable<string | number | bigint | boolean | A | B | C | D | E | F | G | H | I | J>
});

it('should support a rest of params', () => {
Expand Down

0 comments on commit dc88b2b

Please sign in to comment.