Skip to content

Commit eb33717

Browse files
committed
My test with a throw was bad.
1 parent 617ad62 commit eb33717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/schemaobjectmapper.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ describe('schemaobjectmapper', () => {
141141
throw('Configuration should not work');
142142

143143
} catch (e) {
144-
console.log(e);
145-
expect(e).to.exist;
144+
expect(e).to.be.not.null;;
145+
expect(e.message).to.contain('requires that the validateRequests and validateResponses');
146146
}
147147
}
148148
);

0 commit comments

Comments
 (0)