Skip to content
Permalink
Browse files

fix: change test-evaluator hash to refresh cache

  • Loading branch information
ojeytonwilliams authored and scissorsneedfoodtoo committed Jan 13, 2020
1 parent bb5a9e8 commit fd72bd40f9ee775c413aa1ce6e1478fe05bb63f6
Showing with 5 additions and 7 deletions.
  1. +5 −7 client/src/client/workers/test-evaluator.js
@@ -70,13 +70,11 @@ self.onmessage = async e => {
try {
// Logging is proxyed after the build to catch console.log messages
// generated during testing.
testResult = eval(`
${e.data.build}
__utils.flushLogs();
__userCodeWasExecuted = true;
__utils.toggleProxyLogger(true);
${e.data.testString}
`);
testResult = eval(`${e.data.build}
__utils.flushLogs();
__userCodeWasExecuted = true;
__utils.toggleProxyLogger(true);
${e.data.testString}`);
} catch (err) {
if (__userCodeWasExecuted) {
// rethrow error, since test failed.

0 comments on commit fd72bd4

Please sign in to comment.
You can’t perform that action at this time.