From 31192fcf7a1e282663ba80bba400341384a76483 Mon Sep 17 00:00:00 2001 From: tomaskatz96 <67865483+tomaskatz96@users.noreply.github.com> Date: Mon, 4 Nov 2024 18:09:37 +0200 Subject: [PATCH] Fixed tests --- test/unit/helper-specs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit/helper-specs.js b/test/unit/helper-specs.js index ada16ef6..33b7622e 100644 --- a/test/unit/helper-specs.js +++ b/test/unit/helper-specs.js @@ -480,8 +480,7 @@ describe('helpers', withMocks({fs}, function (mocks) { }); it('test invalid activity name', function () { const activity = "User@123"; - const result = String(matchComponentName(activity)); - result.should.be.eql('null'); + _.isNull(matchComponentName(activity)).should.be.true; }); }); }));