Files
WoofWare.NUnitTestRunner/Consumer/TestAppDomain.fs
2024-06-05 00:09:40 +01:00

17 lines
353 B
Forth

namespace Consumer
open System
open FsUnitTyped
open System.IO
open NUnit.Framework
[<TestFixture>]
module TestAppDomain =
[<Test>]
let ``Can load config`` () =
Path.Combine (AppDomain.CurrentDomain.BaseDirectory, "some-config.json")
|> File.ReadAllText
|> fun s -> s.Trim ()
|> shouldEqual """{"hi":"bye"}"""