aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/pages/LandingPage.test.tsx
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-01-04 02:25:55 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-01-04 04:02:21 +0300
commitce316baf3c5615122e3ab41ceedbc78137e86b48 (patch)
tree393091f55f93fc04b7f5d96f2e21665177187d1c /src/tests/pages/LandingPage.test.tsx
parentMerge pull request #73 from python-discord/renovate/html-webpack-plugin-4.x (diff)
Updates Models
Changes the models to match the backend. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'src/tests/pages/LandingPage.test.tsx')
-rw-r--r--src/tests/pages/LandingPage.test.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/pages/LandingPage.test.tsx b/src/tests/pages/LandingPage.test.tsx
index 5635e63..e461815 100644
--- a/src/tests/pages/LandingPage.test.tsx
+++ b/src/tests/pages/LandingPage.test.tsx
@@ -17,9 +17,11 @@ const testingForm: forms.Form = {
"id": "my-question",
"name": "My Question",
"type": QuestionType.ShortText,
- "data": {}
+ "data": {},
+ required: true
}
- ]
+ ],
+ "webhook": null
};
test("renders landing page", () => {