import { createVue, destroyVM } from '../util'; describe('Breadcrumb', () => { let vm; afterEach(() => { destroyVM(vm); }); it('create', done => { vm = createVue(` 首页 活动管理 活动列表 活动详情 `); vm.$nextTick(_ => { expect(vm.$el.querySelector('.el-breadcrumb__separator').innerText).to.equal('>'); done(); }); }); });