Этот коммит содержится в:
Jesús Espino
2017-11-21 00:53:46 +01:00
коммит произвёл Christopher Speller
родитель deff850115
Коммит e2b165cf3e

Просмотреть файл

@@ -131,7 +131,12 @@ func executeTestCommand(cmd *exec.Cmd) {
}
func runWebClientTests() {
os.Chdir("webapp")
if webappDir := os.Getenv("WEBAPP_DIR"); webappDir != "" {
os.Chdir(webappDir)
} else {
os.Chdir("../mattermost-webapp")
}
cmd := exec.Command("npm", "test")
executeTestCommand(cmd)
}