UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

27 lines (21 loc) 475 B
/* eslint-env mocha,chai,jest */ import HelloWorld from './HelloWorld' import { mount } from '@cypress/vue' describe('hello', () => { it('works!', () => { mount(HelloWorld, { propsData: { msg: 'Hello World!', }, }) cy.get('h1').contains('Hello World!') }) it('works again', () => { mount(HelloWorld, { propsData: { msg: 'Hello World Again!', }, }) cy.get('h1').contains('Hello World Again!') }) })