mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
18 lines
654 B
JavaScript
18 lines
654 B
JavaScript
![]() |
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const assert = require("assert");
|
||
|
const mocha_1 = require("mocha");
|
||
|
// You can import and use all API from the 'vscode' module
|
||
|
// as well as import your extension to test it
|
||
|
const vscode = require("vscode");
|
||
|
// import * as myExtension from '../extension';
|
||
|
suite('Extension Test Suite', () => {
|
||
|
mocha_1.before(() => {
|
||
|
vscode.window.showInformationMessage('Start all tests.');
|
||
|
});
|
||
|
test('Sample test', () => {
|
||
|
assert.equal(-1, [1, 2, 3].indexOf(5));
|
||
|
assert.equal(-1, [1, 2, 3].indexOf(0));
|
||
|
});
|
||
|
});
|
||
|
//# sourceMappingURL=extension.test.js.map
|