import expect from "expect" ; export function html ( el , selector ? ) { if ( ! selector ) { return el . innerHTML ; } const elements = el . querySelectorAll ( selector ) ; expect ( elements . length ) . toEqual ( 1 ) ; return elements [ 0 ] . innerHTML ; } export const Empty = ( ) => null ;