Skip to content

Commit

Permalink
test(button-area): fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
samrichardsontylertech committed Oct 2, 2023
1 parent cfbba7a commit 2030acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/spec/button-area/button-area.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 2030acb

Please sign in to comment.