mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-28 08:48:48 +02:00
Тест подсказки имен внешних источников
This commit is contained in:
parent
2b7a04d54e
commit
7d1cbc4409
@ -1040,6 +1040,15 @@ describe("Проверка автокомлита и подсказок реда
|
||||
assert.equal(suggestions.some(suggest => suggest.label === "НомерСтроки"), true);
|
||||
|
||||
});
|
||||
|
||||
it("проверка подсказки внешних источников", function () {
|
||||
|
||||
bsl = helper('ВнешниеИсточникиДанных.');
|
||||
let suggestions = bsl.getCodeCompletion({triggerCharacter: ''});
|
||||
expect(suggestions).to.be.an('array').that.not.is.empty;
|
||||
assert.equal(suggestions.some(suggest => suggest.label === "РозничныйСайт"), true);
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user