Skip to content

Commit

Permalink
chore: lint fix (#3044)
Browse files Browse the repository at this point in the history
Signed-off-by: Akshat Patel <akshat@live.ca>
  • Loading branch information
Akshat55 authored Nov 2, 2024
1 parent c20472b commit 6ec2793
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/number-input/number.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe("Number", () => {
buttonUp.click();
fixture.detectChanges();
expect(component.value).toEqual(2);
});
});

it("should increment and set value to max if value + step exceeds max", () => {
fixture.detectChanges();
Expand All @@ -129,8 +129,8 @@ describe("Number", () => {
component.min = 5;
buttonUp.click();
fixture.detectChanges();
expect(component.value).toBe(5);

expect(component.value).toBe(5);
});

it("should not increment value if max is reached", () => {
Expand Down Expand Up @@ -160,8 +160,8 @@ describe("Number", () => {
component.max = 15;
buttonUp.click();
fixture.detectChanges();
expect(component.value).toBe(15);

expect(component.value).toBe(15);
});

it("should decrement and set value to min if value - step is less than min", () => {
Expand All @@ -173,7 +173,7 @@ describe("Number", () => {
buttonUp.click();
fixture.detectChanges();
expect(component.value).toEqual(5);
});
});

it("should not decrement value min is reached", () => {
fixture.detectChanges();
Expand Down
2 changes: 1 addition & 1 deletion src/number-input/number.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
control: "radio"
},
// Actions
change: { action: 'changed'}
change: { action: "changed"}
},
component: NumberComponent
} as Meta;
Expand Down

0 comments on commit 6ec2793

Please sign in to comment.