mirror of
https://github.com/zoo-apps/exchange.git
synced 2026-10-30 15:02:24 +00:00
- Full app extraction from zoo monorepo (source only) - Configured for GitHub Pages deployment - Static export enabled - Custom domain: zoo.exchange - Excludes node_modules and build artifacts
11 lines
368 B
TypeScript
11 lines
368 B
TypeScript
describe('Redirect', () => {
|
|
it('should redirect to /vote/create-proposal when visiting /create-proposal', () => {
|
|
cy.visit('/create-proposal')
|
|
cy.url().should('match', /\/vote\/create-proposal/)
|
|
})
|
|
it('should redirect to /not-found when visiting nonexist url', () => {
|
|
cy.visit('/none-exist-url')
|
|
cy.url().should('match', /\/not-found/)
|
|
})
|
|
})
|