1 2 3 4 5 6 7 8 9 | 1× 1× 1× 1× | import { renderSFCModule } from 'utils'; describe('component', function() { it('register component', () => { const container = renderSFCModule(require('./parent')); expect(container.innerText).to.equal("I'm son - bar I'm son - bar"); }); }); |