From 2030acb82ded141123f9ca7246e22c43c4c9ddea Mon Sep 17 00:00:00 2001 From: Sam Richardson Date: Mon, 2 Oct 2023 17:18:41 -0400 Subject: [PATCH] test(button-area): fix failing test --- src/test/spec/button-area/button-area.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/spec/button-area/button-area.spec.ts b/src/test/spec/button-area/button-area.spec.ts index 53c822db9..65587f016 100644 --- a/src/test/spec/button-area/button-area.spec.ts +++ b/src/test/spec/button-area/button-area.spec.ts @@ -49,7 +49,7 @@ describe('ButtonAreaComponent', function(this: ITestContext) { this.context.component.disabled = true; const callback = jasmine.createSpy('callback'); this.context.component.addEventListener('click', callback); - this.context.component.click(); + this.context.button.click(); expect(callback).not.toHaveBeenCalled(); expect(this.context.button.disabled).toBeTrue(); });