ValidationError: "action" is required If you see this kind of error when you typed it('should be a valid schema', async () => { await InputSchema.validateAsync({}) }) like this, it's because you typed your object in the { } this bracket. To solve this, you should remove { } bracket it('should be a valid schema', async () => { await InputSchema.validateAsync() }) Then, it will work