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 = [] }) {
|
export function createTests({ tests = [] }) {
|
||||||
return tests
|
return tests
|
||||||
.map(test => {
|
.map(test => {
|
||||||
if (typeof tests === 'string') {
|
if (typeof test === 'string') {
|
||||||
return {
|
return {
|
||||||
text: ('' + test).split('message: ').pop().replace(/\'\);/g, ''),
|
text: ('' + test).split('message: ').pop().replace(/\'\);/g, ''),
|
||||||
testString: test
|
testString: test
|
||||||
|
Reference in New Issue
Block a user