Skip to content

Commit 3694c5b

Browse files
committed
Fix unit tests
1 parent e57eb50 commit 3694c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/interpolate.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe('interpolate', () => {
119119
});
120120

121121
test('interpolate projection', () => {
122-
const i11nFn = (t: number) => interpolate.projection('vertical-perspective', 'mercator', t);
122+
const i11nFn = (t: number) => interpolate.projection(Projection.parse('vertical-perspective'), Projection.parse('mercator'), t);
123123
expect(i11nFn(0.5)).toBeInstanceOf(Projection);
124124
expect(`${i11nFn(0.5)}`).toBe('["vertical-perspective", "mercator", 0.5]');
125125
});

0 commit comments

Comments
 (0)