15 lines
456 B
JavaScript
15 lines
456 B
JavaScript
const assert = require('assert');
|
|
|
|
// You can import and use all API from the 'vscode' module
|
|
// as well as import your extension to test it
|
|
const vscode = require('vscode');
|
|
// const myExtension = require('../extension');
|
|
|
|
suite('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));
|
|
});
|
|
});
|