Skip to content

Commit

Permalink
chore: unskip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega committed Jan 5, 2023
1 parent 1901d53 commit e2a9790
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/interfaces/i_procedure_block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ export interface IProcedureBlock {
/** A type guard which checks if the given block is a procedure block. */
export function isProcedureBlock(block: Block|
IProcedureBlock): block is IProcedureBlock {
return (block as IProcedureBlock).doProcedureUpdate !== undefined;
return (block as IProcedureBlock).doProcedureUpdate !== undefined &&
(block as IProcedureBlock).getProcedureModel !== undefined;
}
2 changes: 1 addition & 1 deletion tests/mocha/blocks/procedures_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ suite('Procedures', function() {
});

suite('updating data models', function() {
test.skip(
test(
'renaming a procedure def block updates the procedure model',
function() {
const defBlock = createProcDefBlock(this.workspace);
Expand Down

0 comments on commit e2a9790

Please sign in to comment.