Commit 5083ab8

mo khan <mo@mokhan.ca>
2025-03-10 17:06:36
chore: add a test target
1 parent 498fbca
Changed files (2)
test/api_test.go
@@ -0,0 +1,7 @@
+package main
+
+import "testing"
+
+func TestHelloWorld(t *testing.T) {
+	// t.Fatal("not implemented")
+}
magefile.go
@@ -88,3 +88,7 @@ func Protos() error {
 func Run(ctx context.Context) {
 	mg.CtxDeps(ctx, Idp, UI, Api, Gateway)
 }
+
+func Test(ctx context.Context) error {
+	return sh.RunV("go", "test", "-v", "./...")
+}