fix: change test-evaluator hash to refresh cache
This commit is contained in:
committed by
Kristofer Koishigawa
parent
bb5a9e8153
commit
fd72bd40f9
@ -70,13 +70,11 @@ self.onmessage = async e => {
|
|||||||
try {
|
try {
|
||||||
// Logging is proxyed after the build to catch console.log messages
|
// Logging is proxyed after the build to catch console.log messages
|
||||||
// generated during testing.
|
// generated during testing.
|
||||||
testResult = eval(`
|
testResult = eval(`${e.data.build}
|
||||||
${e.data.build}
|
__utils.flushLogs();
|
||||||
__utils.flushLogs();
|
__userCodeWasExecuted = true;
|
||||||
__userCodeWasExecuted = true;
|
__utils.toggleProxyLogger(true);
|
||||||
__utils.toggleProxyLogger(true);
|
${e.data.testString}`);
|
||||||
${e.data.testString}
|
|
||||||
`);
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (__userCodeWasExecuted) {
|
if (__userCodeWasExecuted) {
|
||||||
// rethrow error, since test failed.
|
// rethrow error, since test failed.
|
||||||
|
Reference in New Issue
Block a user