@sprucelabs/jest-sheets-reporter 1.3.44 → 1.3.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,7 +39,7 @@ class SheetsReporter {
39
39
  }
40
40
  async reportTest(testName, status) {
41
41
  if (!this.testMap[testName]) {
42
- throw new Error(`Invalid test name. Got "${testName}" but expected one of the following: ${Object.keys(this.testMap).join(', ')}`);
42
+ throw new Error(`Invalid test name. Got "${String(testName)}" but expected one of the following: ${Object.keys(this.testMap).join(', ')}`);
43
43
  }
44
44
  let cell = this.testMap[testName];
45
45
  let worksheetId = this.worksheetId;
@@ -47,7 +47,7 @@ class SheetsAdapterTest extends AbstractSheetsReporterTest_1.default {
47
47
  test_1.assert.isEqual(actualValue, expected);
48
48
  }
49
49
  static async updatingCellManyTimesAtOnceDoesNotHitRateLimit() {
50
- await Promise.all(new Array(75).fill(0).map(async (_, idx) => {
50
+ await Promise.all(new Array(60).fill(0).map(async (_, idx) => {
51
51
  await this.adapter.updateCell({
52
52
  sheetId: this.sheetId,
53
53
  worksheetId: this.worksheetId,
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "@sprucelabs/resolve-path-aliases"
14
14
  ]
15
15
  },
16
- "version": "1.3.44",
16
+ "version": "1.3.45",
17
17
  "main": "./build/SheetsReporter.js",
18
18
  "types": "./build/SheetsReporter.d.ts",
19
19
  "description": "Have your Jest tests update a Google Spreadsheet™®©. 📡",
@@ -57,26 +57,26 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "dotenv": "^16.0.1",
60
- "google-spreadsheet": "^3.2.0",
60
+ "google-spreadsheet": "^3.3.0",
61
61
  "retry": "^0.13.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@sprucelabs/resolve-path-aliases": "^1.0.244",
65
65
  "@sprucelabs/semantic-release": "^4.0.8",
66
- "@sprucelabs/test": "^7.7.314",
66
+ "@sprucelabs/test": "^7.7.322",
67
67
  "@types/google-spreadsheet": "^3.2.2",
68
- "@types/node": "^17.0.33",
68
+ "@types/node": "^17.0.39",
69
69
  "chokidar-cli": "^3.0.0",
70
- "concurrently": "^7.1.0",
71
- "eslint": "^8.15.0",
70
+ "concurrently": "^7.2.1",
71
+ "eslint": "^8.17.0",
72
72
  "eslint-config-spruce": "^10.11.2",
73
73
  "jest": "^28.1.0",
74
74
  "jest-reporters": "^0.0.2",
75
75
  "prettier": "^2.6.2",
76
- "ts-node": "^10.7.0",
76
+ "ts-node": "^10.8.1",
77
77
  "tsc-watch": "^5.0.3",
78
78
  "tsconfig-paths": "^4.0.0",
79
- "typescript": "^4.6.4"
79
+ "typescript": "^4.7.3"
80
80
  },
81
81
  "jest": {
82
82
  "testTimeout": 300000,