Skip to content

Commit ff24a92

Browse files
authored
fix: Fix version type in deepnote project unit test
1 parent 0290572 commit ff24a92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ suite('DeepnoteProjectUtils', () => {
2525
const testUri = Uri.file('/test/project.deepnote');
2626

2727
const validYaml = `
28-
version: 1
28+
version: '1'
2929
project:
3030
id: test-project-id
3131
name: Test Project
@@ -40,7 +40,7 @@ project:
4040

4141
const result = await readDeepnoteProjectFile(testUri);
4242

43-
assert.strictEqual(result.version, 1);
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);
@@ -53,7 +53,7 @@ project:
5353
const testUri = Uri.file('/test/invalid.deepnote');
5454

5555
const invalidYaml = `
56-
version: 1
56+
version: '1'
5757
project:
5858
invalid: yaml: content: here
5959
- malformed

0 commit comments

Comments
 (0)