Skip to content

Commit

Permalink
Change "equals to" => of
Browse files Browse the repository at this point in the history
  • Loading branch information
habere-et-dispertire authored Sep 7, 2023
1 parent f46d2a0 commit a082b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/factory-sensors/factory-sensors.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('monitorTheMachine', () => {
expect(actions.shutdown).not.toHaveBeenCalled();
});

test('should call only the shutdown action if the check throws an OverheatingError with a temperature equals to 651°C', () => {
test('should call only the shutdown action if the check throws an OverheatingError with a temperature of 651°C', () => {
actions.check = jest.fn(() => {
throw new OverheatingError(651);
});
Expand Down

0 comments on commit a082b0b

Please sign in to comment.