Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\repos\chatforma\chatforma-api> node ace test
- 2018-05-04T09:33:28.119Z - info: serving app on http://127.0.0.1:4000
- Auth
- ✓ Reset password works for existing user (474ms)
- ✓ Reset password fails for invalid user (13ms)
- BotSanitizator
- ✓ Sanitizes normal bot payload (3ms)
- ✓ Sanitizes persistent menu (1ms)
- ✓ Sanitizes reply keyboard (1ms)
- BotValidator
- ✓ Validates bot on create (5ms)
- ✓ Validates bot on update (1ms)
- ✓ Validates bot data (3ms)
- ✓ Validates bot messages (2ms)
- ✓ Validates bot elements (11ms)
- ✓ Validate bot rules when creating a bot (4ms)
- ✓ Validate bot rules when updating a bot (1ms)
- ✓ Validates messenger's persistent menu button (6ms)
- ✓ Validator fails for invalid bot payload (8ms)
- ✓ Validates gallery (5ms)
- DispatchValidator
- ✓ Validates dispatch on create (6ms)
- ✓ Validates dispatch elements (5ms)
- ✓ Validates quick replies (4ms)
- Validator
- ✓ Validates a simple rule (1ms)
- ✓ Validates a rule with params (4ms)
- ✓ Validates multiple fields (6ms)
- PASSED
- total : 21
- passed : 21
- time : 604ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement