vuematerial/vue-material

View on GitHub
src/components/MdApp/MdApp.test.js

Summary

Maintainability
A
0 mins
Test Coverage
import mountTemplate from 'test/utils/mountTemplate'
import MdApp from './MdApp.vue'

test('should render the app', async () => {
  const template = '<md-app></md-app>'
  const wrapper = await mountTemplate(MdApp, template)

  expect(wrapper.hasClass('md-app')).toBe(true)
})