gotools/test/suite/extension.test.js

16 lines
456 B
JavaScript
Raw Normal View History

2023-08-06 01:23:45 +03:00
const assert = require('assert');
2021-03-22 02:27:33 +03:00
// You can import and use all API from the 'vscode' module
// as well as import your extension to test it
2023-08-06 01:23:45 +03:00
const vscode = require('vscode');
// const myExtension = require('../extension');
2021-03-22 02:27:33 +03:00
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));
});
});