mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-22 11:35:00 +00:00
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:
parent
852316c5a6
commit
27ec84827c
6 changed files with 218 additions and 95 deletions
13
pkg/templates/utils_suite_test.go
Normal file
13
pkg/templates/utils_suite_test.go
Normal 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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue