Fix tests

This commit is contained in:
Paul Kaplan 2017-11-16 14:23:56 -05:00
parent 34dfbb50ba
commit 91c93830a8
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ test('calling a custom block with no definition does not throw', t => {
}
};
t.doesNotThrow(() => {
blocks.callNoReturn(args, util);
blocks.call(args, util);
});
t.end();
});

View file

@ -139,7 +139,7 @@ test('goToNextBlock', t => {
block: 'fakeBlock',
name: 'STEPS',
next: null,
opcode: 'procedures_callnoreturn',
opcode: 'procedures_call',
mutation: {proccode: 'fakeCode'},
parent: null,
shadow: false,