From b7cc0947f631ef6c207dd2453bfccab56d7c069d Mon Sep 17 00:00:00 2001 From: nikoloz-code23 Date: Tue, 10 Jun 2025 19:25:47 +0400 Subject: [PATCH 1/2] unit test should fail --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index a4083bb..7483192 100644 --- a/src/utils.js +++ b/src/utils.js @@ -1,5 +1,5 @@ function powerOfTwo(number) { - return number**2; + return number**3; } module.exports = powerOfTwo; \ No newline at end of file From be352f19ef00a976ec2c39222991f443c7f47000 Mon Sep 17 00:00:00 2001 From: nikoloz-code23 Date: Tue, 10 Jun 2025 19:27:53 +0400 Subject: [PATCH 2/2] unit test should not fail --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 7483192..a4083bb 100644 --- a/src/utils.js +++ b/src/utils.js @@ -1,5 +1,5 @@ function powerOfTwo(number) { - return number**3; + return number**2; } module.exports = powerOfTwo; \ No newline at end of file