fix: output console.logs as user types (JS)

This commit is contained in:
Oliver Eyton-Williams
2019-11-02 12:03:47 +01:00
committed by mrugesh
parent 29641986ab
commit 64fcbbb491
3 changed files with 23 additions and 12 deletions

View File

@@ -177,3 +177,7 @@ export function challengeHasPreview({ challengeType }) {
challengeType === challengeTypes.modern
);
}
export function isJavaScriptChallenge({ challengeType }) {
return challengeType === challengeTypes.js;
}