From a2c79f73cb5f8456c59335ded18e02cc0b54015b Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Fri, 14 Oct 2022 10:44:07 -0700 Subject: [PATCH] Add missing imports in tests. --- .../Review/DeadCodeEliminateDataTest.elm | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/generator/dead-code-review/tests/Pages/Review/DeadCodeEliminateDataTest.elm b/generator/dead-code-review/tests/Pages/Review/DeadCodeEliminateDataTest.elm index 2c396d60..e90bc1d6 100644 --- a/generator/dead-code-review/tests/Pages/Review/DeadCodeEliminateDataTest.elm +++ b/generator/dead-code-review/tests/Pages/Review/DeadCodeEliminateDataTest.elm @@ -12,6 +12,8 @@ all = \() -> """module Route.Index exposing (Data, Model, Msg, route) +import Server.Request as Request + import DataSource exposing (DataSource) import RouteBuilder exposing (Page, StaticPayload, single) import Pages.PageUrl exposing (PageUrl) @@ -64,6 +66,8 @@ data = |> Review.Test.whenFixed """module Route.Index exposing (Data, Model, Msg, route) +import Server.Request as Request + import DataSource exposing (DataSource) import RouteBuilder exposing (Page, StaticPayload, single) import Pages.PageUrl exposing (PageUrl) @@ -108,6 +112,8 @@ data = \() -> """module Route.Blog.Slug_ exposing (Data, Model, Msg, route) +import Server.Request as Request + import DataSource exposing (DataSource) import RouteBuilder exposing (Page, StaticPayload) import Pages.PageUrl exposing (PageUrl) @@ -160,6 +166,8 @@ data = |> Review.Test.whenFixed """module Route.Blog.Slug_ exposing (Data, Model, Msg, route) +import Server.Request as Request + import DataSource exposing (DataSource) import RouteBuilder exposing (Page, StaticPayload) import Pages.PageUrl exposing (PageUrl) @@ -205,6 +213,8 @@ data = \() -> """module Route.Login exposing (Data, Model, Msg, route) +import Server.Request as Request + type alias Model = {} @@ -239,6 +249,8 @@ route = |> Review.Test.whenFixed """module Route.Login exposing (Data, Model, Msg, route) +import Server.Request as Request + type alias Model = {} @@ -271,6 +283,8 @@ route = |> Review.Test.whenFixed """module Route.Login exposing (Data, Model, Msg, route) +import Server.Request as Request + type alias Model = {} @@ -323,6 +337,8 @@ route = \() -> """module Route.Index exposing (Data, Model, Msg, route) +import Server.Request as Request + import DataSource exposing (DataSource) import RouteBuilder exposing (Page, StaticPayload) import Pages.PageUrl exposing (PageUrl) @@ -368,6 +384,8 @@ data = \() -> """module Shared exposing (Data, Model, Msg, template) +import Server.Request as Request + import Browser.Navigation import DataSource import Html exposing (Html) @@ -416,6 +434,8 @@ type alias Model = |> Review.Test.whenFixed """module Shared exposing (Data, Model, Msg, template) +import Server.Request as Request + import Browser.Navigation import DataSource import Html exposing (Html)