浏览代码

update README.md regarding running tests

[skip ci]
Marcus Efraimsson 7 年之前
父节点
当前提交
e429cd8333
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      README.md

+ 5 - 5
README.md

@@ -83,7 +83,7 @@ In your custom.ini uncomment (remove the leading `;`) sign. And set `app_mode =
 #### Frontend
 Execute all frontend tests
 ```bash
-$ npm run test
+npm run test
 ```
 
 Writing & watching frontend tests (we have two test runners)
@@ -98,13 +98,13 @@ Writing & watching frontend tests (we have two test runners)
 #### Backend
 ```bash
 # Run Golang tests using sqlite3 as database (default)
-$ go test ./pkg/... 
+go test ./pkg/... 
 
-# Run Golang tests using mysql as database - convenient to use /docker/block/mysql_tests
-$ GRAFANA_TEST_DB=mysql go test ./pkg/... 
+# Run Golang tests using mysql as database - convenient to use /docker/blocks/mysql_tests
+GRAFANA_TEST_DB=mysql go test ./pkg/... 
 
 # Run Golang tests using postgres as database - convenient to use /docker/blocks/postgres_tests
-$ GRAFANA_TEST_DB=postgres go test ./pkg/... 
+GRAFANA_TEST_DB=postgres go test ./pkg/... 
 ```
 
 ## Contribute