From 7d1cbc4409e3224a28c338e64809e5c8a36e9a64 Mon Sep 17 00:00:00 2001 From: salexdv Date: Tue, 3 May 2022 09:01:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82=20=D0=BF=D0=BE=D0=B4?= =?UTF-8?q?=D1=81=D0=BA=D0=B0=D0=B7=D0=BA=D0=B8=20=D0=B8=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=20=D0=B2=D0=BD=D0=B5=D1=88=D0=BD=D0=B8=D1=85=20=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D0=BE=D1=87=D0=BD=D0=B8=D0=BA=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/test.js b/src/test.js index 51556a0..28fc0f7 100644 --- a/src/test.js +++ b/src/test.js @@ -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); + + }); }