UNPKG
react-id-swiper
Version:
latest (4.0.0)
4.0.0
3.0.0
2.4.0
2.3.2
2.3.1
2.3.0
2.3.0-beta4
2.3.0-beta3
2.3.0-beta2
2.3.0-beta1
2.3.0-beta
2.1.2
2.1.1
2.1.0
2.1.0-beta
2.0.0
2.0.0-beta
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.4-beta
1.6.3
1.6.2
1.6.1
1.6.0
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.5.0-beta
1.4.0
1.4.0-r4
1.4.0-r3
1.4.0-r2
1.4.0-r1
1.4.0-r
1.4.0-beta
1.3.1
1.3.0
1.2.3
1.2.1
1.2.0
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
ReactJs component for iDangerous Swiper
github.com/kidjp85/react-id-swiper
kidjp85/react-id-swiper
react-id-swiper
/
test-setup.js
11 lines
(8 loc)
•
230 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{ configure }
from
'enzyme'
;
import
Adapter
from
'enzyme-adapter-react-16'
;
global
.
window
=
window
;
global
.
document
=
window
.
document
;
global
.
navigator
= {
userAgent
:
'node.js'
};
configure
({
adapter
:
new
Adapter
() });