Skip to content

Commit

Permalink
fix: correct hello-world example
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Oct 8, 2024
1 parent 6b98418 commit b8c944c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/hello-world/test.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
describe("example", async () => {
await new Promise();
it("2 + 2", () => {});
describe("example", () => {
it("2 + 2", () => {
if (2 + 2 !== 4) {
throw new Error("Oh no!");
}
});
});

0 comments on commit b8c944c

Please sign in to comment.