enable

open fun enable()

Temporarily enable Litho animations until either disable is called or test method finishes. If you want to enable animations at class level you can use this method in setup method (annotated with @Before), or in individual test methods at the beginning of the method. We will make sure to turn animation back to its original value when every test method finishes.