Add backend unit tests

This commit is contained in:
Jamie Curnow committed 2023-07-25 11:59:02 +10:00
1 parent 72b071dbaa
commit b123ca4fd0
17 files changed
+399 -283

No files matched your search

@@ -0,0 +1,13 @@
package context
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestGetString(t *testing.T) {
t.Run("basic test", func(t *testing.T) {
assert.Equal(t, "context value: Body", BodyCtxKey.String())
})
}