Skip to content

Commit 89b265f

Browse files
committed
test: fix "interpolate" tests for #808
1 parent f95b9fc commit 89b265f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/interpolate.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ import { assert, _ } from 'spec.ts'
22
import { SpringValue } from './SpringValue'
33
import { to, Into } from './interpolate'
44

5-
jest.mock('./interpolate')
6-
75
function spring<T>(value: T): SpringValue<T> {
8-
return new SpringValue().update({ from: { value } })
6+
return new SpringValue('value').update({ from: { value } })
97
}
108

119
describe('AnimatedValue interpolation options', () => {

0 commit comments

Comments
 (0)