mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
22 lines
525 B
Haskell
22 lines
525 B
Haskell
{-# LANGUAGE OverloadedStrings #-}
|
|
{-# LANGUAGE NoMonomorphismRestriction #-}
|
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
|
|
|
module Main where
|
|
|
|
import Import
|
|
import Yesod.Default.Config
|
|
import Yesod.Test
|
|
import Test.Hspec (hspec)
|
|
import Application (makeFoundation)
|
|
|
|
main :: IO ()
|
|
main = do
|
|
conf <- Yesod.Default.Config.loadConfig $ (configSettings Testing)
|
|
{ csParseExtra = parseExtra
|
|
}
|
|
foundation <- makeFoundation conf
|
|
hspec $ do
|
|
yesodSpec foundation $ do
|
|
return ()
|