e2e/main_test.go

08a24a6e68d86f3dfd13c88a8125b580b1dc614b
gitbay/e2e/main_test.go

19 lines · 249 bytes

 1package e2e
 2
 3import (
 4	"fmt"
 5	"os"
 6	"testing"
 7)
 8
 9func TestMain(m *testing.M) {
10	dir, cleanup, err := makeBinDir()
11	if err != nil {
12		fmt.Fprintf(os.Stderr, "e2e: %v\n", err)
13		os.Exit(1)
14	}
15	binDir = dir
16	code := m.Run()
17	cleanup()
18	os.Exit(code)
19}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form