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 8533141 commit 790b72dCopy full SHA for 790b72d
src/notebooks/deepnote/deepnoteProjectUtils.unit.test.ts
@@ -40,20 +40,11 @@ project:
40
41
const result = await readDeepnoteProjectFile(testUri);
42
43
- assert.deepStrictEqual(result, {
44
- version: 1,
45
- project: {
46
- id: 'test-project-id',
47
- name: 'Test Project',
48
- notebooks: [
49
- {
50
- id: 'test-notebook-id',
51
- title: 'Test Notebook',
52
- blocks: []
53
- }
54
- ]
55
56
- });
+ assert.isDefined(result.version);
+ assert.strictEqual(result.project.id, 'test-project-id');
+ assert.strictEqual(result.project.name, 'Test Project');
+ assert.strictEqual(result.project.notebooks.length, 1);
+ assert.strictEqual(result.project.notebooks[0].id, 'test-notebook-id');
57
});
58
59
test('should throw error for invalid YAML content', async () => {
0 commit comments