diff --git a/test/sample.ts b/test/sample.ts index b06c728..a7b89ef 100644 --- a/test/sample.ts +++ b/test/sample.ts @@ -528,5 +528,7 @@ enum OrderStatus { dec.register(enumSchema('OrderStatus', OrderStatus)); const st = 'pending'; -console.log(OrderStatus); test('enumSchema', 'OrderStatus', st); + +const st2 = 'pendding'; +test('enumSchema error example', 'OrderStatus', st2, false);