From 30381f6d342bf13f59095075149605a2dd43951e Mon Sep 17 00:00:00 2001 From: yusikerem Date: Thu, 19 Oct 2023 20:24:56 +0300 Subject: [PATCH 1/2] test(luibutton): add tests for LuiButton, not includes some class tests --- src/components/Button/LuiButton.vue | 9 +- .../Button/__test__/LuiButton.spec.ts | 484 ++++++++++++++++++ .../__snapshots__/LuiButton.spec.ts.snap | 15 + 3 files changed, 504 insertions(+), 4 deletions(-) create mode 100644 src/components/Button/__test__/LuiButton.spec.ts create mode 100644 src/components/Button/__test__/__snapshots__/LuiButton.spec.ts.snap diff --git a/src/components/Button/LuiButton.vue b/src/components/Button/LuiButton.vue index 8167295b..784cfe45 100644 --- a/src/components/Button/LuiButton.vue +++ b/src/components/Button/LuiButton.vue @@ -86,19 +86,20 @@ function dynamicSlotClasses() {