refactor(template): isolate and add tests (#2069)

* refactor(template): isolate and add tests

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Dave <dave@gray101.com>
Co-authored-by: Dave <dave@gray101.com>
This commit is contained in:
Ettore Di Giacinto 2024-04-19 04:40:18 +02:00 committed by GitHub
parent 852316c5a6
commit 27ec84827c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 218 additions and 95 deletions

View file

@ -0,0 +1,13 @@
package templates_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestTemplates(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Templates test suite")
}