Merge pull request #10981 from BerkeleyTrue/fix/test-object-typo
Fix(tests): Typo in object tests
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user