Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/install/installer/cmd/render_test.go
2498 views
1
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
/// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package cmd
6
7
import (
8
"flag"
9
"os"
10
"testing"
11
)
12
13
func init() {
14
// Ensure that the randomisation always returns the same values
15
rootOpts.SeedValue = 42
16
}
17
18
func TestMain(m *testing.M) {
19
flag.Parse()
20
os.Exit(m.Run())
21
}
22
23