UNPKG

keystone

Version:

Web Application Framework and Admin GUI / Content Management System built on Express.js and Mongoose

12 lines (10 loc) 274 B
import React from 'react'; import { shallow } from 'enzyme'; import demand from 'must'; import Portal from '../Portal'; describe('<Portal />', () => { it('should return null', () => { const component = shallow(<Portal />); demand(component.type()).eql(null); }); });