diff options
| author | 2021-01-04 02:25:55 +0300 | |
|---|---|---|
| committer | 2021-01-04 04:02:21 +0300 | |
| commit | ce316baf3c5615122e3ab41ceedbc78137e86b48 (patch) | |
| tree | 393091f55f93fc04b7f5d96f2e21665177187d1c /src/tests/components | |
| parent | Merge 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/components')
| -rw-r--r-- | src/tests/components/FormListing.test.tsx | 12 | 
1 files changed, 8 insertions, 4 deletions
| diff --git a/src/tests/components/FormListing.test.tsx b/src/tests/components/FormListing.test.tsx index ad76381..f071c33 100644 --- a/src/tests/components/FormListing.test.tsx +++ b/src/tests/components/FormListing.test.tsx @@ -17,9 +17,11 @@ const openFormListing: Form = {              "id": "my-question",              "name": "My question",              "type": QuestionType.ShortText, -            "data": {} +            "data": {}, +            required: false          } -    ] +    ], +    webhook: null  };  const closedFormListing: Form = { @@ -32,9 +34,11 @@ const closedFormListing: Form = {              "id": "what-should-i-ask",              "name": "What should I ask?",              "type": QuestionType.ShortText, -            "data": {} +            "data": {}, +            required: false          } -    ] +    ], +    webhook: null  };  test("renders form listing with specified title", () => { | 
