mirror of
https://github.com/jaypyles/Scraperr.git
synced 2025-12-16 04:36:14 +00:00
* chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: refactor wip * chore: work in progress * chore: refactor wip * chore: refactor wip * chore: refactor wip * fix: build * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests
16 lines
376 B
TypeScript
16 lines
376 B
TypeScript
export const mockSubmitJob = () => {
|
|
cy.intercept("POST", "/api/submit-scrape-job").as("submitScrapeJob");
|
|
};
|
|
|
|
export const mockToken = () => {
|
|
cy.intercept("POST", "/api/token").as("token");
|
|
};
|
|
|
|
export const mockSignup = () => {
|
|
cy.intercept("POST", "/api/signup").as("signup");
|
|
};
|
|
|
|
export const mockLogin = () => {
|
|
cy.intercept("POST", "/api/token").as("token");
|
|
};
|