From d886f551a8e5762bd9bba40b4be26c767b6ad575 Mon Sep 17 00:00:00 2001 From: CookiesDeathCookies Date: Sun, 14 Apr 2019 21:19:54 +0300 Subject: [PATCH] fix function signature --- 1-js/03-code-quality/05-testing-mocha/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/03-code-quality/05-testing-mocha/article.md b/1-js/03-code-quality/05-testing-mocha/article.md index a22f44aa..c7b164b1 100644 --- a/1-js/03-code-quality/05-testing-mocha/article.md +++ b/1-js/03-code-quality/05-testing-mocha/article.md @@ -117,7 +117,7 @@ For the future, let's note that there are advanced test-runners, like [karma](ht Let's make a simple implementation of `pow`, for tests to pass: ```js -function pow() { +function pow(x, n) { return 8; // :) we cheat! } ```