MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / waitOn

Method waitOn

tools/mage/js.go:69–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (js Js) waitOn() error {
70 return js.runYarnCommand("wait-on", []string{
71 fmt.Sprintf("--timeout=%d", 120000),
72 fmt.Sprintf("--interval=%d", 1000),
73 fmt.Sprintf("%s/oauth", js.frontendURL()),
74 }...)
75}
76
77func (js Js) runCypress(command string, args ...string) error {
78 mg.Deps(js.waitOn)

Callers

nothing calls this directly

Calls 2

runYarnCommandMethod · 0.95
frontendURLMethod · 0.95

Tested by

no test coverage detected