()
| 4 | |
| 5 | class Rating { |
| 6 | constructor(){ |
| 7 | this.type = ['ratings', 'scores', 'tags']; |
| 8 | this.getRatings = this.getRatings.bind(this); |
| 9 | this.getScores = this.getScores.bind(this); |
| 10 | this.getTags = this.getTags.bind(this); |
| 11 | } |
| 12 | async initData(restaurant_id){ |
| 13 | try{ |
| 14 | const status = await RatingModel.initData(restaurant_id); |
nothing calls this directly
no outgoing calls
no test coverage detected