refactor: move e2e tests into src/e2e directory
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package e2e_test
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package e2e_test
|
||||
|
||||
import (
|
||||
"slices"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package e2e_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package e2e_test
|
||||
|
||||
import (
|
||||
"os"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package e2e_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package e2e_test
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
@@ -43,7 +43,7 @@ func (n NodeResponse) HasRelation(relType, targetID string) bool {
|
||||
var axBinary string
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
if err := exec.Command("go", "build", "-o", "ax", ".").Run(); err != nil {
|
||||
if err := exec.Command("go", "build", "-o", "ax", "..").Run(); err != nil {
|
||||
fmt.Fprintln(os.Stderr, "build failed:", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
Reference in New Issue
Block a user