Skip to content

Commit ece21f0

Browse files
committed
use imported constant in sql status bar test
1 parent 1b1a1db commit ece21f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
CancellationTokenSource,
66
NotebookCell,
77
NotebookCellKind,
8+
NotebookCellStatusBarAlignment,
89
NotebookDocument,
910
TextDocument,
1011
Uri
@@ -83,7 +84,7 @@ suite('SqlCellStatusBarProvider', () => {
8384

8485
assert.isDefined(result);
8586
assert.strictEqual((result as any).text, '$(database) My Postgres DB');
86-
assert.strictEqual((result as any).alignment, 1); // NotebookCellStatusBarAlignment.Left
87+
assert.strictEqual((result as any).alignment, NotebookCellStatusBarAlignment.Left);
8788
assert.isDefined((result as any).command);
8889
assert.strictEqual((result as any).command.command, 'deepnote.manageIntegrations');
8990
assert.deepStrictEqual((result as any).command.arguments, [integrationId]);

0 commit comments

Comments
 (0)