Mirrors youngstartup/frontend/startups_portal scaffolding: Vite, Vue 3 (composition API + script setup), TypeScript strict, Pinia, Vue Router 5, oxlint + eslint + oxfmt, and Cypress with db:reset / db:seed tasks. Views and the auth store are stubs filled in by the next branches; routes and the header chrome are wired so the build passes.
21 lines
425 B
TypeScript
21 lines
425 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
declare global {
|
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
namespace Cypress {
|
|
interface Chainable {
|
|
resetDb(): Chainable<null>;
|
|
seedDb(): Chainable<null>;
|
|
}
|
|
}
|
|
}
|
|
|
|
Cypress.Commands.add("resetDb", function () {
|
|
return cy.task<null>("db:reset");
|
|
});
|
|
|
|
Cypress.Commands.add("seedDb", function () {
|
|
return cy.task<null>("db:seed");
|
|
});
|
|
|
|
export {};
|