From a49eb6807655f71e0a29c255e6bd0f7b704d67b7 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sat, 18 Dec 2021 16:21:02 +0800 Subject: [PATCH] Add event handler tests Ensure freeform and option components are able to receive change events. --- docs/philosophy.md | 39 ++++++++++--------- .../MaskedTextInput/MaskedTextInput.test.tsx | 12 ++++++ .../MultilineTextInput.test.tsx | 12 ++++++ .../components/TextInput/TextInput.test.tsx | 12 ++++++ .../DropdownSelect/DropdownSelect.test.tsx | 24 ++++++++++++ .../RadioButton/RadioButton.test.tsx | 16 +++++++- .../RadioTickBox/RadioTickBox.test.tsx | 16 +++++++- .../ToggleButton/ToggleButton.test.tsx | 23 ++++++++--- .../ToggleSwitch/ToggleSwitch.test.tsx | 16 +++++++- .../ToggleTickBox/ToggleTickBox.test.tsx | 16 +++++++- 10 files changed, 153 insertions(+), 33 deletions(-) diff --git a/docs/philosophy.md b/docs/philosophy.md index c058199..3b8600f 100644 --- a/docs/philosophy.md +++ b/docs/philosophy.md @@ -23,23 +23,24 @@ ## HTML enhancement -| HTML element | Tesseract counterpart | Remarks | -|----------------------------------------------------------------------------|-------------------------------|-----------------------------------------------------------------------| -| `