Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed Jan 17, 2020
1 parent 1ae3826 commit a79bbc5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/core/tests/decorator2.spec.ts
Expand Up @@ -319,13 +319,6 @@ test('test invalid @f', () => {

}).toThrowError('Model::sub type mismatch. Given {[key: string]: Config}, but declared is Array.');

expect(() => {
class Model {
@f.any()
any?: any[];
}
}).toThrowError('Model::any type mismatch. Given Any, but declared is Array.');

{
//works
class Model {
Expand Down

0 comments on commit a79bbc5

Please sign in to comment.