Merge pull request #12 from Bouncey/feat/featureBuild

Feat/feature build
This commit is contained in:
Stuart Taylor
2018-04-13 16:45:21 +01:00
committed by Mrugesh Mohapatra
parent 28fcbc0970
commit 9a4fa06fad
10 changed files with 79 additions and 31 deletions

View File

@@ -20,7 +20,8 @@ import {
initConsole,
updateConsole,
checkChallenge,
updateTests
updateTests,
disableJSOnError
} from './';
import { buildFromFiles } from '../utils/build';
import {
@@ -101,7 +102,7 @@ function executeChallengeEpic(action$, { getState }, { document }) {
.do(frameTests)
.ignoreElements()
.startWith(initConsole('// running test'))
.catch(err => console.log(err));
.catch(err => disableJSOnError(err));
})
);
return merge(buildAndFrameChallenge, challengeResults);