UNPKG
@revoloo/cypress6
Version:
latest (1.0.0)
1.0.0
Cypress.io end to end testing tool
github.com/cypress-io/cypress
cypress-io/cypress
@revoloo/cypress6
/
npm
/
vue
/
examples
/
cli2
/
src
/
components
/
test
/
Pretty.spec.js
17 lines
(13 loc)
•
304 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* eslint-env mocha,chai,jest */
import
HelloWorld
from
'../HelloWorld'
import
{ mount }
from
'@cypress/vue'
describe
(
'Pretty'
,
() =>
{
it
(
'spec works'
,
() =>
{
mount
(
HelloWorld
, {
propsData
: {
msg
:
'Hello World!'
, }, }) cy.
get
(
'h1'
).
contains
(
'Hello World!'
) }) })