/
easeInOut.test.js
46 lines (39 loc) · 1.15 KB
/
easeInOut.test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// @flow
import easeInOut from '../easeInOut'
describe('easeInOut', () => {
it('should return easeInOutBack cubic-bezier', () => {
expect({
'transition-timing-function': easeInOut('back'),
}).toMatchSnapshot()
})
it('should return easeInOutCirc cubic-bezier', () => {
expect({
'transition-timing-function': easeInOut('circ'),
}).toMatchSnapshot()
})
it('should return easeInOutCubic cubic-bezier', () => {
expect({
'transition-timing-function': easeInOut('cubic'),
}).toMatchSnapshot()
})
it('should return easeInOutExpo cubic-bezier', () => {
expect({
'transition-timing-function': easeInOut('expo'),
}).toMatchSnapshot()
})
it('should return easeInOutQuad cubic-bezier', () => {
expect({
'transition-timing-function': easeInOut('quad'),
}).toMatchSnapshot()
})
it('should return easeInOutQuart cubic-bezier', () => {
expect({
'transition-timing-function': easeInOut('quart'),
}).toMatchSnapshot()
})
it('should return easeInOutQuint cubic-bezier', () => {
expect({
'transition-timing-function': easeInOut('quint'),
}).toMatchSnapshot()
})
})