Merge branch 'master' into automation-tests-4
This commit is contained in:
commit
b938181d7f
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||||
"version": "3.4.2",
|
"version": "3.4.3",
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"concurrency": 20,
|
"concurrency": 20,
|
||||||
"command": {
|
"command": {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 43a5785ccb4f83ce929b29f05ea0a62199fcdf23
|
Subproject commit 8cbaa80a9cc1152c6cd53722e64da7d824da6e16
|
|
@ -609,7 +609,15 @@ export class GoogleSheetsMock {
|
||||||
for (let col = startColumnIndex; col <= endColumnIndex; col++) {
|
for (let col = startColumnIndex; col <= endColumnIndex; col++) {
|
||||||
const cell = this.getCellNumericIndexes(sheetId, row, col)
|
const cell = this.getCellNumericIndexes(sheetId, row, col)
|
||||||
if (!cell) {
|
if (!cell) {
|
||||||
throw new Error("Cell not found")
|
const sheet = this.getSheetById(sheetId)
|
||||||
|
if (!sheet) {
|
||||||
|
throw new Error(`Sheet ${sheetId} not found`)
|
||||||
|
}
|
||||||
|
const sheetRows = sheet.data[0].rowData.length
|
||||||
|
const sheetCols = sheet.data[0].rowData[0].values.length
|
||||||
|
throw new Error(
|
||||||
|
`Failed to find cell at ${row}, ${col}. Range: ${valueRange.range}. Sheet dimensions: ${sheetRows}x${sheetCols}.`
|
||||||
|
)
|
||||||
}
|
}
|
||||||
const value =
|
const value =
|
||||||
valueRange.values[row - startRowIndex][col - startColumnIndex]
|
valueRange.values[row - startRowIndex][col - startColumnIndex]
|
||||||
|
@ -638,7 +646,15 @@ export class GoogleSheetsMock {
|
||||||
for (let col = startColumnIndex; col <= endColumnIndex; col++) {
|
for (let col = startColumnIndex; col <= endColumnIndex; col++) {
|
||||||
const cell = this.getCellNumericIndexes(sheetId, row, col)
|
const cell = this.getCellNumericIndexes(sheetId, row, col)
|
||||||
if (!cell) {
|
if (!cell) {
|
||||||
throw new Error("Cell not found")
|
const sheet = this.getSheetById(sheetId)
|
||||||
|
if (!sheet) {
|
||||||
|
throw new Error(`Sheet ${sheetId} not found`)
|
||||||
|
}
|
||||||
|
const sheetRows = sheet.data[0].rowData.length
|
||||||
|
const sheetCols = sheet.data[0].rowData[0].values.length
|
||||||
|
throw new Error(
|
||||||
|
`Failed to find cell at ${row}, ${col}. Range: ${valueRange.range}. Sheet dimensions: ${sheetRows}x${sheetCols}.`
|
||||||
|
)
|
||||||
}
|
}
|
||||||
values.push(this.cellValue(cell))
|
values.push(this.cellValue(cell))
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,8 @@ export interface QuotaTriggeredRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LicenseActivateRequest {
|
export interface LicenseActivateRequest {
|
||||||
installVersion?: string
|
installVersion: string
|
||||||
|
installId: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UpdateLicenseRequest {
|
export interface UpdateLicenseRequest {
|
||||||
|
|
Loading…
Reference in New Issue