[added] exhaustValues to NumericSpring's testSuite
ClosedPublic

Authored by appsforartists on Aug 8 2017, 12:23 AM.

Details

Summary

Since wobble doesn't allow the looper to be switched out, we use mockRAF for this purpose. exhaustValues() should be called anywhere the test waits for the spring to settle.

Diff Detail

Repository
R13 material-motion/material-motion-js
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
appsforartists created this revision.Aug 8 2017, 12:23 AM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptAug 8 2017, 12:23 AM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O3: Material JavaScript platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
Restricted Application completed building Restricted Buildable.Aug 8 2017, 12:25 AM
markwei accepted this revision.Sep 8 2017, 4:42 PM
This revision is now accepted and ready to land.Sep 8 2017, 4:42 PM
This revision was automatically updated to reflect the committed changes.