mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
Fix compilation error in test module.
This commit is contained in:
parent
5522ca068d
commit
2825dd038f
@ -529,7 +529,7 @@ start pages =
|
||||
)
|
||||
|
||||
contentCache =
|
||||
ContentCache.init document content
|
||||
ContentCache.init document content Nothing
|
||||
|
||||
siteMetadata =
|
||||
contentCache
|
||||
@ -540,6 +540,9 @@ start pages =
|
||||
config =
|
||||
{ toJsPort = toJsPort
|
||||
, manifest = manifest
|
||||
, generateFiles = \_ -> []
|
||||
, init = \_ -> ( (), Cmd.none )
|
||||
, update = \_ _ -> ( (), Cmd.none )
|
||||
, view =
|
||||
\allFrontmatter page ->
|
||||
let
|
||||
@ -562,6 +565,12 @@ start pages =
|
||||
|
||||
Nothing ->
|
||||
Debug.todo "Couldn't find page"
|
||||
, subscriptions = \_ -> Sub.none
|
||||
, document = document
|
||||
, content = []
|
||||
, canonicalSiteUrl = ""
|
||||
, pathKey = PathKey
|
||||
, onPageChange = \_ -> ()
|
||||
}
|
||||
in
|
||||
{-
|
||||
@ -717,6 +726,7 @@ expectSuccess expectedRequests previous =
|
||||
)
|
||||
|> Dict.fromList
|
||||
, manifest = manifest
|
||||
, filesToGenerate = []
|
||||
}
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user