feat: Add support for cypress and vitest
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
1
cypress/.gitignore
vendored
Normal file
1
cypress/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
videos
|
5
cypress/e2e/index.cy.ts
Normal file
5
cypress/e2e/index.cy.ts
Normal file
@ -0,0 +1,5 @@
|
||||
it('titles are correct', () => {
|
||||
const page = cy.visit('http://localhost:3000');
|
||||
|
||||
page.get('h1').should('have.text', 'Welcome to Astro');
|
||||
});
|
8
cypress/tsconfig.json
Normal file
8
cypress/tsconfig.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"lib": ["es5", "dom"],
|
||||
"types": ["cypress", "node"]
|
||||
},
|
||||
"include": ["**/*.ts"]
|
||||
}
|
Reference in New Issue
Block a user