Revert "Push reported"

This commit is contained in:
kchadha 2018-02-02 12:42:09 -05:00 committed by GitHub
parent 0e4e6be9e7
commit 107adad647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 66 additions and 199 deletions

View file

@ -91,8 +91,7 @@ const generateThread = function (runtime) {
rt.blocks.createBlock(generateBlock(next));
th.pushStack(next);
th.target = rt;
th.blockContainer = rt.blocks;
runtime.threads.push(th);
return th;

View file

@ -89,8 +89,8 @@ test('pushReportedValue', t => {
th.pushStack('arbitraryString');
th.pushStack('secondString');
th.pushReportedValue('value');
t.strictEquals(th.peekParentStackFrame().justReported, 'value');
t.strictEquals(th.peekParentStackFrame().reported.null, 'value');
t.end();
});