Restore local live reloading of templates.

This commit is contained in:
mikestefanello 2023-12-12 20:07:58 -05:00
parent 3df20c01a7
commit 81c65fcc30
5 changed files with 63 additions and 21 deletions

View file

@ -0,0 +1,17 @@
package templates
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGet(t *testing.T) {
_, err := Get().Open("pages/home.gohtml")
require.NoError(t, err)
}
func TestGetOS(t *testing.T) {
_, err := GetOS().Open("pages/home.gohtml")
require.NoError(t, err)
}