(val, next)
| 374 | type: Sequelize.STRING, |
| 375 | validate: { |
| 376 | customFn(val, next) { |
| 377 | if (val !== '2') { |
| 378 | next("name should equal '2'"); |
| 379 | } else { |
| 380 | next(); |
| 381 | } |
| 382 | } |
| 383 | } |
| 384 | } |
| 385 | }); |
nothing calls this directly
no test coverage detected
searching dependent graphs…