diff options
Diffstat (limited to 'cypress/e2e')
-rw-r--r-- | cypress/e2e/example.cy.ts | 8 | ||||
-rw-r--r-- | cypress/e2e/tsconfig.json | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/cypress/e2e/example.cy.ts b/cypress/e2e/example.cy.ts new file mode 100644 index 0000000..3130c00 --- /dev/null +++ b/cypress/e2e/example.cy.ts @@ -0,0 +1,8 @@ +// https://docs.cypress.io/api/introduction/api.html + +describe("My First Test", () => { + it("visits the app root url", () => { + cy.visit("/"); + cy.contains("h1", "You did it!"); + }); +}); diff --git a/cypress/e2e/tsconfig.json b/cypress/e2e/tsconfig.json new file mode 100644 index 0000000..be213ae --- /dev/null +++ b/cypress/e2e/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "@vue/tsconfig/tsconfig.web.json", + "include": ["./**/*", "../support/**/*"], + "compilerOptions": { + "isolatedModules": false, + "target": "es5", + "lib": ["es5", "dom"], + "types": ["cypress"] + } +} |