0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Karl-Aksel Puulmann
157003e2ab
Tests, fix for createActionFromEvent, clean up sessions query (#2851)
* Remove a dead TODO

This was solved in PR  #1849

* Make sessions query more readable

* Remove dead code from sessions

* Make it possible to test with imports in jest

* Fix a bug and add tests to createActionFromEvent

I added tests when initially solving #2848, but the original solution
had to be scrapped. The tests are still valid though
2021-01-05 17:11:24 +02:00
Karl-Aksel Puulmann
4aedc4317a
Add event (sum of event_property) to event labels on graphs (#2583)
* Use standard jest test formatting

* Use js instead of ts in tests

* Add given2 as dependency

* Document existing behavior of formatLabel()

* Add `event (sum of event_property)` to event labels on graphs

I found the current state impossible to read when trying to see through
session recording metrics
2020-12-01 16:01:36 +02:00
Paolo D'Amico
bbd2cf2a27
Refactor camelCase util (#2487)
* refactor camelCaseToTitle

* Rework identifierToHuman

* Test identifierToHuman with Jest

* Add Jest to frontent CI

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-11-24 16:07:36 +01:00