Skip to content

Commit

Permalink
Add tests to existing react components
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Apr 15, 2024
1 parent 0ea1e0d commit 3f426c4
Show file tree
Hide file tree
Showing 17 changed files with 1,122 additions and 187 deletions.
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.wasp/
coverage/
node_modules/
**/.DS_Store

Expand Down
9 changes: 7 additions & 2 deletions app/main.wasp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app OpenSaaS {
},
},
onAuthFailedRedirectTo: "/login",
onAuthSucceededRedirectTo: "/playground",
onAuthSucceededRedirectTo: "/build",
},
db: {
system: PostgreSQL,
Expand Down Expand Up @@ -121,7 +121,12 @@ page LandingPage {

route PlayGroundPageRoute { path: "/playground/:id?", to: PlayGroundPage }
page PlayGroundPage {
component: import PlayGroundPageWithCustomAuthLayout from "@src/client/app/PlayGroundPage"
component: import PlayGroundPageWithCustomAuth from "@src/client/app/PlayGroundPage"
}

route BuildRoute { path: "/build", to: BuildPage }
page BuildPage {
component: import BuildPageWithCustomAuth from "@src/client/app/BuildPage"
}

route LoginRoute { path: "/login", to: LoginPage }
Expand Down
Loading

0 comments on commit 3f426c4

Please sign in to comment.