Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Add autoStart feature #98

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
refactor(test): reverting formatter change
Ricardo Arrobo committed Jul 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e7e11032b05c70a1687df7246b3a21a96bfc418c
8 changes: 4 additions & 4 deletions package/test/setup.ts
Original file line number Diff line number Diff line change
@@ -91,16 +91,16 @@ jest
start(callback) {
if (
isAnimatedValueXY(value)
&& !isAnimatedTimingInterpolation(config.toValue)
&& isXYValue(config.toValue)
&& !isAnimatedTimingInterpolation(config.toValue)
&& isXYValue(config.toValue)
) {
value.setValue(config.toValue);
}

if (
isAnimatedValue(value)
&& !isAnimatedTimingInterpolation(config.toValue)
&& isNumberValue(config.toValue)
&& !isAnimatedTimingInterpolation(config.toValue)
&& isNumberValue(config.toValue)
) {
value.setValue(config.toValue);
}