Update project structure
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import std/[os, strutils, unittest]
|
||||
import ../src/luxtools
|
||||
|
||||
const indexTemplate = staticRead("../templates/index.html")
|
||||
const indexTemplate = staticRead("../src/templates/index.html")
|
||||
|
||||
suite "rendering helpers":
|
||||
test "counter markup references hx attributes":
|
||||
@@ -19,6 +19,6 @@ suite "rendering helpers":
|
||||
check not indexTemplate.contains("unpkg.com/htmx")
|
||||
check not indexTemplate.contains("unpkg.com/tui-css")
|
||||
|
||||
test "demo asset lives in www directory":
|
||||
let assetPath = joinPath(getAppDir(), "..", "www", "demo.txt")
|
||||
test "demo asset lives in assets directory":
|
||||
let assetPath = joinPath(getAppDir(), "..", "assets", "demo.txt")
|
||||
check fileExists(assetPath)
|
||||
|
||||
Reference in New Issue
Block a user