import { loadFixture, testVM } from '../../../tests/utils'

describe('progress', () => {
  beforeEach(loadFixture(__dirname, 'progress'))
  testVM()
})

@@ -4,79 +4,1207 @@
 ort 
-%7B loadFixture, testVM %7D from '../../../tests/utils'%0A%0Adescribe
+Progress from './progress'%0Aimport %7B mount %7D from '@vue/test-utils'%0A%0Adescribe('progress', () =%3E %7B%0A  it('has expected default structure', async () =%3E %7B%0A    const wrapper = mount(Progress)%0A%0A    expect(wrapper.isVueInstance()).toBe(true)%0A    expect(wrapper.is('div')).toBe(true)%0A    expect(wrapper.classes()).toContain('progress')%0A    expect(wrapper.text()).toEqual('')%0A    expect(wrapper.findAll('.progress-bar').length).toBe(1)%0A    const $bar = wrapper.find('.progress-bar')%0A    expect($bar.is('div')).toBe(true)%0A    expect($bar.attributes('role')).toBe('progressbar')%0A    expect($bar.attributes('aria-valuemin')).toBe('0')%0A    expect($bar.attributes('aria-valuemax')).toBe('100')%0A    expect($bar.attributes('aria-valuenow')).toBe('0')%0A    expect($bar.attributes('style')).toBe('width: 0%25;')%0A%0A    wrapper.destroy()%0A  %7D)%0A%0A  it('renders content from default slot', async () =%3E %7B%0A    const wrapper = mount(Progress, %7B%0A      slots: %7B%0A        default: '%3Cb%3Efoobar%3C/b%3E'%0A      %7D%0A    %7D)%0A%0A    expect(wrapper.isVueInstance()).toBe(true)%0A    expect(wrapper.is('div')).toBe(true)%0A    expect(wrapper.classes()).toContain('progress')%0A    expect(wrapper.text()).toEqual('foobar')%0A    expect(wrapper.findAll
 ('
+.
 progress
 ', (
@@ -1203,77 +1203,1214 @@
 ress
-', () =%3E %7B%0A  beforeEach(loadFixture(__dirname, 'progress')
+-bar').length).toBe(0)%0A  %7D)%0A%0A  it('has progress-bar child with expected parameters', async () =%3E %7B%0A    const wrapper = mount(Progress, %7B%0A      propsData: %7B%0A        value: 25,%0A        max: 50,%0A        variant: 'success',%0A        striped: true,%0A        animated: true,%0A        showValue: true%0A      %7D%0A    %7D)%0A%0A    expect(wrapper.isVueInstance()).toBe(true)%0A    expect(wrapper.is('div')).toBe(true)%0A    expect(wrapper.classes()).toContain('progress')%0A    expect(wrapper.findAll('.progress-bar').length).toBe(1)%0A%0A    const $bar = wrapper.find('.progress-bar')%0A    expect($bar.is('div')).toBe(true)%0A    expect($bar.attributes('role')).toBe('progressbar')%0A    expect($bar.attributes('aria-valuemin')).toBe('0')%0A    expect($bar.attributes('aria-valuemax')).toBe('50')%0A    expect($bar.attributes('aria-valuenow')).toBe('25')%0A    expect($bar.attributes('style')).toBe('width: 50%25;')%0A    expect($bar.classes()).toContain('bg-success')%0A    expect($bar.classes()).toContain('progress-bar')%0A    expect($bar.classes()).toContain('progress-bar-striped'
 )%0A  
+ 
-testVM(
+ expect($bar.classes()).toContain('progress-bar-animated')%0A    expect($bar.classes().length).toBe(4)%0A    expect($bar.text()).toEqual('25')%0A%0A    wrapper.destroy()%0A  %7D
 )%0A%7D)

Update progress.spec.js