Skip to content

Commit

Permalink
Uitesting1 (#352)
Browse files Browse the repository at this point in the history
* happy-dom

* basic testing with shallow components done

* minor tests

* added more ui tests

* basic testing for all components

* minor fixes in test descriptions

* fixed config

* updated CI for UI unit tests

* added error handling

* testing tests in ci

* removed uitesting from ci

* added profile friendly id

* Mainlayout test added

* change segment API key
  • Loading branch information
prabhatsharma committed Jul 21, 2022
1 parent fe15efd commit 45cb6ba
Show file tree
Hide file tree
Showing 33 changed files with 1,295 additions and 158 deletions.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ ZINC_ETCD_PASSWORD=iwapfOK1wv
ZINC_WAL_SYNC_INTERVAL=1s
ZINC_PROFILER=false
ZINC_PROFILER_SERVER="https://pyroscope.dev.zincsearch.com/"
ZINC_PROFILER_FRIENDLY_PROFILE_ID="parallel"
1 change: 1 addition & 0 deletions buildspec-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ phases:
- cd web
- npm install
- ./eslint.sh
# - ./uitest.sh
- npm run build
- cd ..
- echo "golangci-lint ..."
Expand Down
2 changes: 1 addition & 1 deletion pkg/meta/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ func init() {
// Endpoint: "http://localhost:8080/api/v1/segment",
}

SEGMENT_CLIENT, _ = analytics.NewWithConfig("hQYncuWEjDJC23MnU6jHXiye5k7qP2PL", cf)
SEGMENT_CLIENT, _ = analytics.NewWithConfig("CGi3aENuM7L0v1jGtSC9QEhnIVmDAEFm", cf)
}
Loading

0 comments on commit 45cb6ba

Please sign in to comment.