File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ import ChartLineSimple from './views/charts/ChartLineSimple'
55import Dashboard from './views/dashboard/Dashboard.js'
66
77
8- it ( 'mounts without crashing' , ( ) => {
8+ it ( 'mounts App without crashing' , ( ) => {
99 const wrapper = shallow ( < App /> )
1010 wrapper . unmount ( )
1111} )
1212
13- it ( 'mounts dashboard without crashing' , ( ) => {
13+ it ( 'mounts Dashboard without crashing' , ( ) => {
1414 const wrapper = shallow ( < Dashboard /> )
1515 wrapper . unmount ( )
1616} )
1717
18- it ( 'mounts charts without crashing' , ( ) => {
18+ it ( 'mounts Charts without crashing' , ( ) => {
1919 const wrapper = shallow ( < ChartLineSimple /> )
2020 wrapper . unmount ( )
2121} )
Original file line number Diff line number Diff line change 1- import { configure } from 'enzyme' ;
2- import Adapter from 'enzyme-adapter-react-16 ' ;
1+ import { configure } from 'enzyme' ;
2+ import Adapter from '@wojtekmaj/ enzyme-adapter-react-17 ' ;
33
4- configure ( { adapter : new Adapter ( ) } ) ;
4+ configure ( { adapter : new Adapter ( ) } ) ;
55
66if ( global . document ) {
7- document . createRange = ( ) => ( {
7+ document . createRange = ( ) => ( {
88 setStart : ( ) => { } ,
99 setEnd : ( ) => { } ,
1010 commonAncestorContainer : {
You can’t perform that action at this time.
0 commit comments