posthog-js
Advanced tools
Comparing version 1.16.8 to 1.17.0
@@ -0,1 +1,9 @@ | ||
## 1.17.0 - 2022-01-10 | ||
- Send APM data so that we don't need a plugin (#352) | ||
- Allow APM performance on all $pageview events (#350) | ||
- Include browser performance values on $pageview (#347) | ||
- add more advice to pull request template (#349) | ||
- Update README.md (#348) | ||
## 1.16.8 - 2021-12-21 | ||
@@ -2,0 +10,0 @@ |
@@ -622,2 +622,3 @@ // Type definitions for exported methods | ||
advanced_disable_toolbar_metrics?: boolean | ||
_capture_performance?: boolean | ||
} | ||
@@ -624,0 +625,0 @@ |
{ | ||
"name": "posthog-js", | ||
"version": "1.16.8", | ||
"version": "1.17.0", | ||
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.", | ||
@@ -45,3 +45,3 @@ "repository": "https://github.com/PostHog/posthog-js", | ||
"babel-jest": "^26.6.3", | ||
"cypress": "^6.1.0", | ||
"cypress": "^9.2.0", | ||
"eslint": "7.3.1", | ||
@@ -48,0 +48,0 @@ "eslint-plugin-prettier": "^3.1.4", |
@@ -24,2 +24,8 @@ # PostHog Browser JS Library | ||
### Tiers of testing | ||
1. Unit tests - this verifies the behavior of the library in bite-sized chunks. Keep this coverage close to 100%, test corner cases and internal behavior here | ||
2. Cypress tests - integrates with a real chrome browser and is capable of testing timing, browser requests, etc. Useful for testing high-level library behavior, ordering and verifying requests. We shouldn't aim for 100% coverage here as it's impossible to test all possible combinations. | ||
3. TestCafe E2E tests - integrates with a real posthog instance sends data to it. Hardest to write and maintain - keep these very high level | ||
## Developing together with another repo | ||
@@ -26,0 +32,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
657015
13605
107