mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
Bulk rename across 989 files: - Package names: posthog-js → @hanzo/insights, posthog-node → @hanzo/insights-node, etc. - Repository URLs: posthog/posthog-js → hanzoai/insights-js - Brand names: PostHog → Insights - File renames: 259 reference JSON files, source files, workflow files - Directory rename: eslint-plugin-posthog-js → eslint-plugin-insights Remaining: 8 refs to @posthog/rrweb-* (real npm deps, need fork+publish)
14 lines
550 B
TypeScript
14 lines
550 B
TypeScript
import { expect } from '../utils/insights-playwright-test-base'
|
|
import { test } from '../../fixtures'
|
|
|
|
test.describe('ErrorTracking stackparser', () => {
|
|
test.use({ url: '/playground/cypress/index.html' })
|
|
|
|
test('should parse frames in all browsers', async ({ insights, page, events }) => {
|
|
await insights.init()
|
|
await page.click('[data-cy-exception-button]')
|
|
const exception = await events.waitForEvent('$exception')
|
|
expect(exception.properties.$exception_list[0].stacktrace.frames).toHaveLength(1)
|
|
})
|
|
})
|