From e4ff4a78cc0c4dd64e8b6670b82a6389501bee32 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 16 Jul 2026 12:27:35 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20cloudcmd:=20actions:=20lint=20?= =?UTF-8?q?=E2=98=98=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/cloudfunc.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/cloudfunc.spec.js b/common/cloudfunc.spec.js index f4cabead..b679feeb 100644 --- a/common/cloudfunc.spec.js +++ b/common/cloudfunc.spec.js @@ -250,9 +250,11 @@ test('cloudfunc: getTitle: no options', (t) => { }); test('cloudfunc: getTitle: with name', (t) => { - const result = getTitle({name: 'MyName'}); + const result = getTitle({ + name: 'MyName', + }); - t.ok(result.includes('MyName'), 'should return title with name'); + t.match(result, 'MyName', 'should return title with name'); t.end(); });