Merge pull request #10981 from BerkeleyTrue/fix/test-object-typo

Fix(tests): Typo in object tests
This commit is contained in:
Quincy Larson
2016-09-30 12:40:38 -07:00
committed by GitHub

View File

@ -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