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

Method Test

tools/mage/js.go:291–297  ·  view source on GitHub ↗

Test runs frontend jest tests.

()

Source from the content-addressed store, hash-verified

289
290// Test runs frontend jest tests.
291func (js Js) Test() error {
292 mg.Deps(js.Deps)
293 if mg.Verbose() {
294 fmt.Println("Running tests")
295 }
296 return js.runYarnCommand("jest", filepath.Join("pkg", "webui"))
297}
298
299// Fmt formats all js files.
300func (js Js) Fmt() error {

Callers

nothing calls this directly

Calls 3

runYarnCommandMethod · 0.95
JoinMethod · 0.65
DepsMethod · 0.45

Tested by

no test coverage detected