mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
i didn't realise we still had given2 it hides so much from us by insisting on all the indirection in tests let's remove it ### Libraries affected <!-- Please mark which libraries will require a version bump. --> - [ ] All of them - [ ] posthog-js (web) - [ ] posthog-js-lite (web lite) - [ ] posthog-node - [ ] posthog-react-native - [x] @posthog/react - [ ] @posthog/ai - [ ] @posthog/nextjs-config ## Checklist - [ ] Tests for new code - [ ] Accounted for the impact of any changes across different platforms - [ ] Accounted for backwards compatibility of any changes (no breaking changes!) - [ ] Took care not to unnecessarily increase the bundle size ### If releasing new changes - [ ] Ran `pnpm changeset` to generate a changeset file - [ ] Added the "release" label to the PR to indicate we're publishing new versions for the affected packages <!-- For more details check RELEASING.md -->
7 lines
149 B
JavaScript
7 lines
149 B
JavaScript
module.exports = {
|
|
roots: ['src'],
|
|
testPathIgnorePatterns: ['/node_modules/', 'dist'],
|
|
clearMocks: true,
|
|
testEnvironment: 'jsdom',
|
|
}
|