Skip to content

Commit b8194db

Browse files
committed
make necessary code changes to upgrade to spreadsheet v4 and then v5
1 parent e6c9617 commit b8194db

File tree

11 files changed

+280
-46
lines changed

11 files changed

+280
-46
lines changed

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module.exports = {
88
clearMocks: true,
99
moduleNameMapper: {
1010
'^@utils/log$': '<rootDir>/src/utils/__mocks__/logMock.ts',
11+
'^google-spreadsheet$': '<rootDir>/src/__mocks__/google-spreadsheet.ts',
12+
'^google-auth-library$': '<rootDir>/src/__mocks__/google-auth-library.ts',
1113
// TSConfig Paths need to be last
1214
...pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' }),
1315
},

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"dependencies": {
5353
"@slack/bolt": "4.6.0",
5454
"dotenv": "17.2.3",
55+
"google-auth-library": "^10.5.0",
5556
"google-spreadsheet": "5.0.2",
5657
"lock": "1.1.0",
5758
"node-cron": "4.2.1",

0 commit comments

Comments
 (0)