consttrace='Running with gitlab-runner 11.1.0 (081978aa)<br> on docker-auto-scale-com d5ae8d25<br>Using Docker executor with image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.4.4-golang-1.9-git-2.18-chrome-67.0-node-8.x-yarn-1.2-postgresql-9.6-graphicsmagick-1.3.29 ...<br>';
beforeEach(()=>{
store=createStore();
});
afterEach(()=>{
resetStore(store);
vm.$destroy();
});
it('renders provided trace',()=>{
vm=mountComponent(Component,{
trace,
isComplete:true,
vm=mountComponentWithStore(Component,{
props:{
trace,
isComplete:true,
},
store,
});
expect(vm.$el.querySelector('code').textContent).toContain('Running with gitlab-runner 11.1.0 (081978aa)');