Skip to content

Commit 3d49146

Browse files
Fixed test
1 parent 8cb2246 commit 3d49146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/foam-vscode/src/features/panels/dataviz.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('Graph Panel', () => {
3535
expect(graphPanel?.group.viewColumn).toBeGreaterThan(vscode.ViewColumn.One);
3636
});
3737

38-
it('should create graph in ViewColumn.Two when no active editor', async () => {
38+
it('should create graph in ViewColumn.One when no active editor', async () => {
3939
// Make sure no editors are open
4040
await closeEditors();
4141

@@ -51,7 +51,7 @@ describe('Graph Panel', () => {
5151
.find(tab => tab.label === 'Foam Graph');
5252

5353
expect(graphPanel).toBeDefined();
54-
expect(graphPanel?.group.viewColumn).toBe(vscode.ViewColumn.Two);
54+
expect(graphPanel?.group.viewColumn).toBe(vscode.ViewColumn.One);
5555
});
5656

5757
it('should reveal existing graph panel without moving it', async () => {

0 commit comments

Comments
 (0)