From 72b5aeeb69ee5cba93432c9bd1b8788b62555925 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Thu, 13 Aug 2020 16:12:18 -0500 Subject: [PATCH] delete spec for deprecated component --- tests/Spec/Nri/Ui/Tabs/V5.elm | 59 ----------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 tests/Spec/Nri/Ui/Tabs/V5.elm diff --git a/tests/Spec/Nri/Ui/Tabs/V5.elm b/tests/Spec/Nri/Ui/Tabs/V5.elm deleted file mode 100644 index da373c11..00000000 --- a/tests/Spec/Nri/Ui/Tabs/V5.elm +++ /dev/null @@ -1,59 +0,0 @@ -module Spec.Nri.Ui.Tabs.V5 exposing (all) - -import Accessibility.Styled as Html -import Expect -import Nri.Ui.Tabs.V5 as Tabs -import ProgramTest -import Test exposing (..) - - -all : Test -all = - describe "Nri.Ui.Tabs.V5" - [ test "works with ProgramTest.clickButton" <| - \() -> - ProgramTest.createSandbox - { init = "ID_FIRST" - , update = - \msg old -> - case msg of - Select id -> - id - - Focus idString -> - old - , view = - \selected -> - Tabs.view - { title = Nothing - , alignment = Tabs.Center - , customSpacing = Nothing - , onSelect = Select - , onFocus = Focus - , selected = selected - , tabs = - [ { id = "ID_FIRST" - , idString = "first" - , spaHref = Nothing - , tabView = Tabs.viewTabDefault "Link example" - , panelView = Html.text "First Panel" - } - , { id = "ID_SECOND" - , idString = "second" - , spaHref = Nothing - , tabView = Tabs.viewTabDefault "Second Tab" - , panelView = Html.text "Second Panel" - } - ] - } - |> Html.toUnstyled - } - |> ProgramTest.start () - |> ProgramTest.clickButton "Second tab" - |> ProgramTest.expectModel (Expect.equal "ID_SECOND") - ] - - -type Msg - = Select String - | Focus String