summaryrefslogtreecommitdiff
path: root/extension/src/test-suite/extension.test.ts
blob: 890820b2e4e02ae0eb20c19b435071365a3ba700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { test, describe } from "mocha";
import * as assert from "assert";

// You can import and use all API from the 'vscode' module
// as well as import your extension to test it
import * as vscode from "vscode";
// import * as myExtension from '../../extension';

describe("Extension Test Suite", () => {
  vscode.window.showInformationMessage("Start all tests.");

  test("Sample test", () => {
    assert.strictEqual(-1, [1, 2, 3].indexOf(5));
    assert.strictEqual(-1, [1, 2, 3].indexOf(0));
  });
});