Skip to content

Commit 0fc9cd9

Browse files
authored
Update custom-transform.spec.ts
here we go...
1 parent 595e176 commit 0fc9cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/custom-transform.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ describe("custom transformation decorator", () => {
208208
expect(model instanceof Person);
209209
expect(model.address instanceof Address);
210210
model.hobbies.forEach((hobby: Hobby) => expect(hobby instanceof Hobby && hobby.type === 'sport'));
211-
}).not.toThrowError();
211+
}).to.not.throw();
212212
});
213213

214214
it ('should serialize a model into json', () => {

0 commit comments

Comments
 (0)