File tree Expand file tree Collapse file tree 5 files changed +25
-23
lines changed
Expand file tree Collapse file tree 5 files changed +25
-23
lines changed Original file line number Diff line number Diff line change 11src /registerServiceWorker.js
2+
3+ tests /
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ module.exports = (on, config) => {
1616 // }))
1717
1818 return Object . assign ( { } , config , {
19- fixturesFolder : " tests/e2e/fixtures" ,
20- integrationFolder : " tests/e2e/specs" ,
21- screenshotsFolder : " tests/e2e/screenshots" ,
22- videosFolder : " tests/e2e/videos" ,
23- supportFile : " tests/e2e/support/index.js"
24- } ) ;
25- } ;
19+ fixturesFolder : ' tests/e2e/fixtures' ,
20+ integrationFolder : ' tests/e2e/specs' ,
21+ screenshotsFolder : ' tests/e2e/screenshots' ,
22+ videosFolder : ' tests/e2e/videos' ,
23+ supportFile : ' tests/e2e/support/index.js'
24+ } )
25+ }
Original file line number Diff line number Diff line change 11// https://docs.cypress.io/api/introduction/api.html
22
3- describe ( " My First Test" , ( ) => {
4- it ( " Visits the app root url" , ( ) => {
5- cy . visit ( "/" ) ;
6- cy . contains ( "h1" , " Welcome to Your Vue.js App" ) ;
7- } ) ;
8- } ) ;
3+ describe ( ' My First Test' , ( ) => {
4+ it ( ' Visits the app root url' , ( ) => {
5+ cy . visit ( '/' )
6+ cy . contains ( 'h1' , ' Welcome to Your Vue.js App' )
7+ } )
8+ } )
Original file line number Diff line number Diff line change 1414// ***********************************************************
1515
1616// Import commands.js using ES2015 syntax:
17- import " ./commands" ;
17+ import ' ./commands'
1818
1919// Alternatively you can use CommonJS syntax:
2020// require('./commands')
Original file line number Diff line number Diff line change 1- import { shallowMount } from " @vue/test-utils" ;
2- import HelloWorld from " @/components/HelloWorld.vue" ;
1+ import { shallowMount } from ' @vue/test-utils'
2+ import HelloWorld from ' @/components/HelloWorld.vue'
33
4- describe ( " HelloWorld.vue" , ( ) => {
5- it ( " renders props.msg when passed" , ( ) => {
6- const msg = " new message" ;
4+ describe ( ' HelloWorld.vue' , ( ) => {
5+ it ( ' renders props.msg when passed' , ( ) => {
6+ const msg = ' new message'
77 const wrapper = shallowMount ( HelloWorld , {
88 propsData : { msg }
9- } ) ;
10- expect ( wrapper . text ( ) ) . toMatch ( msg ) ;
11- } ) ;
12- } ) ;
9+ } )
10+ expect ( wrapper . text ( ) ) . toMatch ( msg )
11+ } )
12+ } )
You can’t perform that action at this time.
0 commit comments