From de16045e4c47b9a5c739846e91445100ff8df59f Mon Sep 17 00:00:00 2001 From: mshanemc Date: Mon, 6 Nov 2023 10:43:14 -0600 Subject: [PATCH] chore: enum comparison (lint) --- test/nuts/tracking/lwc.nut.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nuts/tracking/lwc.nut.ts b/test/nuts/tracking/lwc.nut.ts index 28500406..d73bcf93 100644 --- a/test/nuts/tracking/lwc.nut.ts +++ b/test/nuts/tracking/lwc.nut.ts @@ -182,7 +182,7 @@ describe('lwc', () => { const bundleMembers = result?.filter((r) => r.fullName === 'heroDetails'); expect(bundleMembers).to.have.length(3); expect( - bundleMembers?.every((r) => r.state.toString() === 'Deleted'), + bundleMembers?.every((r) => r.state === ComponentStatus['Deleted']), JSON.stringify(bundleMembers, undefined, 2) ).to.be.true; });