Skip to content
This repository was archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
minor tweak
Browse files Browse the repository at this point in the history
Signed-off-by: bfitzpat@redhat.com <bfitzpat@redhat.com>
  • Loading branch information
bfitzpat committed Aug 18, 2020
1 parent eca40c1 commit 3767a64
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/suite/extension.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as assert from 'assert';
import * as vscode from 'vscode';
import { getOpenAtStartupSetting } from '../../utils';
import { expect } from 'chai';

suite('Extension Test Suite', () => {
const extensionId = 'redhat.vscode-didact';
Expand All @@ -14,6 +13,10 @@ suite('Extension Test Suite', () => {
test('by default, didact setting to open on startup should be false', function () {
const openAtStartup : boolean = getOpenAtStartupSetting();
console.log(`openAtStartup = ${openAtStartup}`);
expect(openAtStartup).equals(false);
if (openAtStartup === true) {
assert.fail('Open by default setting should be false by default');
} else {
assert.ok('Open by Default setting is correctly set to false by default.');
}
});
});

0 comments on commit 3767a64

Please sign in to comment.