mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix(client): return frame-runner err correctly
This commit is contained in:
parent
79105af50d
commit
39b4aff4f8
@ -98,7 +98,7 @@ async function initTestFrame(e = { code: {} }) {
|
||||
console.error(err);
|
||||
}
|
||||
// return the error so that the curriculum tests are more informative
|
||||
return err;
|
||||
return { err };
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user