Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

21 rinda
693 B

pirms 8 gadiem
pirms 8 gadiem
  1. //
  2. // Note: This example test is leveraging the Mocha test framework.
  3. // Please refer to their documentation on https://mochajs.org/ for help.
  4. //
  5. // The module 'assert' provides assertion methods from node
  6. import * as assert from 'assert';
  7. // You can import and use all API from the 'vscode' module
  8. // as well as import your extension to test it
  9. // import * as vscode from 'vscode';
  10. // import * as myExtension from '../src/extension';
  11. // Defines a Mocha test suite to group tests of similar kind together
  12. suite('Extension Tests', () => {
  13. // Defines a Mocha unit test
  14. test('Something 1', () => {
  15. assert.equal(-1, [1, 2, 3].indexOf(5));
  16. assert.equal(-1, [1, 2, 3].indexOf(0));
  17. });
  18. });