We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8becf4e commit fe81891Copy full SHA for fe81891
src/notebooks/deepnote/deepnoteProjectUtils.unit.test.ts
@@ -40,11 +40,20 @@ project:
40
41
const result = await readDeepnoteProjectFile(testUri);
42
43
- assert.isDefined(result.version);
44
- assert.strictEqual(result.project.id, 'test-project-id');
45
- assert.strictEqual(result.project.name, 'Test Project');
46
- assert.strictEqual(result.project.notebooks.length, 1);
47
- assert.strictEqual(result.project.notebooks[0].id, 'test-notebook-id');
+ assert.deepStrictEqual(result, {
+ version: 1,
+ project: {
+ id: 'test-project-id',
+ name: 'Test Project',
48
+ notebooks: [
49
+ {
50
+ id: 'test-notebook-id',
51
+ title: 'Test Notebook',
52
+ blocks: []
53
+ }
54
+ ]
55
56
+ });
57
});
58
59
test('should throw error for invalid YAML content', async () => {
0 commit comments