1234567891011121314151617181920212223242526272829 |
- import {Transition} from 'framer-motion';
- import {IS_ACCEPTANCE_TEST} from 'app/constants';
- const testableTransition = !IS_ACCEPTANCE_TEST
- ? (t?: Transition) => t
- : function (): Transition {
- return {
- delay: 0,
- staggerChildren: 0,
- type: false,
- };
- };
- export default testableTransition;
|