Skip to content

Commit

Permalink
Update 08-add-to-window.problem.ts
Browse files Browse the repository at this point in the history
As far as I understood, the test message itself is not a part of the exercise, so encountering it upon opening the exercise can be confusing.
  • Loading branch information
freiondrej-lokalise authored Aug 11, 2023
1 parent 8e0f642 commit 147bb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/02-globals/08-add-to-window.problem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Equal, Expect } from "../helpers/type-utils";
* interface to add a makeGreeting function
*/

window.makeGreeting = () => "Hello!";
window.makeGreeting = () => "Hello, world!";

it("Should let you call makeGreeting from the window object", () => {
expect(window.makeGreeting()).toBe("Hello, world!");
Expand Down

0 comments on commit 147bb36

Please sign in to comment.