We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba9632 commit 0a06b37Copy full SHA for 0a06b37
1 file changed
test/should-extensions.ts
@@ -12,5 +12,19 @@ declare module 'should' {
12
13
should(this.obj?.isInterval).be.ok();
14
should(expected?.isInterval).be.ok();
15
- this.obj.toClosed().should.eql(expected.toClosed());
+ const normalizedThis = new Interval(
16
+ this.obj.start(),
17
+ this.obj.end(),
18
+ true,
19
20
+ this.obj.pointType
21
+ );
22
+ const normalizedExpected = new Interval(
23
+ expected.start(),
24
+ expected.end(),
25
26
27
+ expected.pointType
28
29
+ normalizedThis.should.eql(normalizedExpected);
30
});
0 commit comments