Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
heiytor committed Apr 29, 2024
1 parent 5b9b8f3 commit dd54588
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/api_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package main

import (
"context"
"testing"

"github.com/shellhub-io/shellhub/tests/environment"
)

func TestAPI(t *testing.T) {
cases := []struct {
name string
run func(t *testing.T)
}{}

env := environment.New(t)

for _, tt := range cases {
tc := tt
t.Run(tc.name, func(t *testing.T) {
ctx := context.Background()

compose := env.Clone(t).Up(ctx)
t.Cleanup(compose.Down)

})
}
}

0 comments on commit dd54588

Please sign in to comment.