UNPKG
between.js
Version:
latest (0.1.2-fix.2)
0.1.2
0.1.2-fix.2
0.1.1
0.1.0
0.0.1-alpha.1
Lightweight ES6 JavaScript tweening engine
github.com/sasha240100/between.js
sasha240100/between.js
between.js
/
test
/
single_values.spec.js
15 lines
(12 loc)
•
238 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
'./polyfill'
;
import
test
from
'ava'
;
import
Between
from
'../src/between'
; test.
cb
(
'single values'
,
t
=>
{ t.
plan
(
1
);
new
Between
(
1
,
2
) .
time
(
1000
) .
on
(
'complete'
,
v
=>
{ t.
is
(v,
2
); t.
end
(); }); });