Skip to content

Commit

Permalink
Update 'form shown by default' test'
Browse files Browse the repository at this point in the history
  • Loading branch information
jantoun-scottlogic committed Oct 3, 2024
1 parent d0eaed2 commit ff72388
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ describe('TechCarbonEstimatorComponent', () => {
const formElement = fixture.nativeElement.querySelector('carbon-estimator-form');
const assumptionsElement = fixture.nativeElement.querySelector('assumptions-and-limitation');

expect(formElement).toBeTruthy();
expect(assumptionsElement).toBeFalsy();
expect(formElement.checkVisibility()).toBeTrue();
expect(assumptionsElement.checkVisibility()).toBeFalse();
});

it('should call estimationService.calculateCarbonEstimation when handleFormSubmit is called', () => {
Expand Down

0 comments on commit ff72388

Please sign in to comment.