Skip to content

Commit

Permalink
feat: support contentId. rename handleLogError. tests
Browse files Browse the repository at this point in the history
Contains a few changes.

Support logging by contentId in cases where the client does not have the insertionId.  Add a bunch of unit tests (the intersection observer now has easy testing utils).

BREAKING CHANGE=Rename handleLogError to handleError

TESTING=unit tests
  • Loading branch information
prm-dan committed May 29, 2021
1 parent d36aeb2 commit b5e779f
Show file tree
Hide file tree
Showing 3 changed files with 394 additions and 80 deletions.
8 changes: 4 additions & 4 deletions jest.config.js
Expand Up @@ -9,10 +9,10 @@ module.exports = {
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}', '!<rootDir>/node_modules/'],
coverageThreshold: {
global: {
branches: 40,
functions: 40,
lines: 65,
statements: 65,
branches: 84,
functions: 90,
lines: 91,
statements: 92,
},
},
coverageReporters: ['text'],
Expand Down

0 comments on commit b5e779f

Please sign in to comment.