Skip to content

Commit 40ede24

Browse files
committed
feat: Add chart big number converter tests
1 parent a476bfd commit 40ede24

File tree

2 files changed

+417
-2
lines changed

2 files changed

+417
-2
lines changed

src/notebooks/deepnote/converters/chartBigNumberBlockConverter.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export class ChartBigNumberBlockConverter implements BlockConverter {
2020
...block.metadata,
2121
[DEEPNOTE_VSCODE_RAW_CONTENT_KEY]: cell.value
2222
};
23+
2324
return;
2425
}
2526

@@ -50,10 +51,10 @@ export class ChartBigNumberBlockConverter implements BlockConverter {
5051
? deepnoteJupyterRawContentResult.data
5152
: deepnoteBigNumberMetadataResult.success
5253
? JSON.stringify(deepnoteBigNumberMetadataResult.data, null, 2)
53-
: JSON.stringify(DEFAULT_BIG_NUMBER_CONFIG);
54+
: JSON.stringify(DEFAULT_BIG_NUMBER_CONFIG, null, 2);
5455

5556
const cell = new NotebookCellData(NotebookCellKind.Code, configStr, 'json');
56-
console.log(cell);
57+
5758
return cell;
5859
}
5960

0 commit comments

Comments
 (0)