Skip to content

Commit 790b72d

Browse files
committed
Revert "test: Change assertion"
This reverts commit fe81891.
1 parent 8533141 commit 790b72d

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

src/notebooks/deepnote/deepnoteProjectUtils.unit.test.ts

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,11 @@ project:
4040

4141
const result = await readDeepnoteProjectFile(testUri);
4242

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-
});
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');
5748
});
5849

5950
test('should throw error for invalid YAML content', async () => {

0 commit comments

Comments
 (0)