From ad73222926dd2dd5800604d244a0daf35f22df55 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Thu, 29 Sep 2016 11:58:31 -0700 Subject: [PATCH] Fix(tests): Typo in object tests --- common/app/routes/challenges/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/routes/challenges/utils.js b/common/app/routes/challenges/utils.js index 1743c52d08..c73b88837e 100644 --- a/common/app/routes/challenges/utils.js +++ b/common/app/routes/challenges/utils.js @@ -36,7 +36,7 @@ export function getFileKey({ challengeType }) { export function createTests({ tests = [] }) { return tests .map(test => { - if (typeof tests === 'string') { + if (typeof test === 'string') { return { text: ('' + test).split('message: ').pop().replace(/\'\);/g, ''), testString: test