1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-11-24 08:33:29 +02:00

--console.log

This commit is contained in:
salexdv 2022-09-12 20:30:04 +03:00
parent 1337db4d96
commit 539adf6cc2

View File

@ -453,14 +453,12 @@ describe("Проверка автокомлита и подсказок реда
bsl = helper("ВЫРАЗИТЬ(Товары.Код ");
suggestions = bsl.getQueryCompletion();
console.log(suggestions);
expect(suggestions).to.be.an('object');
expect(suggestions.suggestions).to.be.an('array').that.is.not.empty;
assert.equal(suggestions.suggestions.some(suggest => suggest.label === "КАК "), true);
bsl = helper("ВЫРАЗИТЬ(Товары.Код КАК ");
suggestions = bsl.getQueryCompletion();
console.log(suggestions);
expect(suggestions).to.be.an('object');
expect(suggestions.suggestions).to.be.an('array').that.is.not.empty;
assert.equal(suggestions.suggestions.some(suggest => suggest.label === "Строка"), true);
@ -468,7 +466,6 @@ describe("Проверка автокомлита и подсказок реда
bsl = helper("ВЫРАЗИТЬ(Товары.Код КАК Справочник.");
suggestions = bsl.getQueryCompletion();
console.log(suggestions);
expect(suggestions).to.be.an('object');
expect(suggestions.suggestions).to.be.an('array').that.is.not.empty;
assert.equal(suggestions.suggestions.some(suggest => suggest.label === "Товары"), true);