import { shallow } from 'enzyme' ; import React from 'react' ; import { SpaceCards } from './space_cards' ; test ( 'it renders without crashing' , ( ) => { const space = { id : 'space-id' , name : 'space name' , description : 'space description' , disabledFeatures : [ ] , } ; shallow ( < SpaceCards spaces = { [ space ] } serverBasePath = { '/server-base-path' } / > ) ; } ) ;