Add missing imports in tests.

This commit is contained in:
Dillon Kearns 2022-10-14 10:44:07 -07:00
parent 0bdcb74e73
commit a2c79f73cb

View File

@ -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)