Skip to content

Commit

Permalink
chore: dependency update
Browse files Browse the repository at this point in the history
this updates some core dependencies to their latest version and fixes the tests to be able to fully run again.

Fixing the tests turned out to be a rather large operation, since the existing tests did rely on implementation details of `@googlemaps/js-api-loader` that have been changed in newer versions. This is now replaced with a proper mock-implementation.
  • Loading branch information
usefulthink committed Apr 8, 2024
1 parent efae763 commit 4667a30
Show file tree
Hide file tree
Showing 4 changed files with 11,928 additions and 10,814 deletions.
9 changes: 5 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
*/

module.exports = {
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
collectCoverage: true,
roots: ['<rootDir>'],
preset: 'ts-jest',
testEnvironment: 'jsdom',
testPathIgnorePatterns: ['/node_modules/', '/dist/', '/__utils__/'],
// collectCoverage: true,
coverageThreshold: {
global: {
branches: 100,
Expand Down
Loading

0 comments on commit 4667a30

Please sign in to comment.