Skip to content

Commit 97d188c

Browse files
test: Update assertions
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 848fa4f commit 97d188c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ project:
4040

4141
const result = await readDeepnoteProjectFile(testUri);
4242

43-
assert.isDefined(result.version);
43+
assert.strictEqual(result.version, '1');
4444
assert.strictEqual(result.project.id, 'test-project-id');
4545
assert.strictEqual(result.project.name, 'Test Project');
4646
assert.strictEqual(result.project.notebooks.length, 1);
4747
assert.strictEqual(result.project.notebooks[0].id, 'test-notebook-id');
48+
assert.strictEqual(result.project.notebooks[0].name, 'Test Notebook');
4849
});
4950

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

0 commit comments

Comments
 (0)