all files / src/services/ DrinkService.js

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13                    
(() => {
    class DrinkService {
        getDrinks() {
            return [
                { name: 'Roba Cola', price: 1.25, amount: 0, isAlcoholic: false },
                { name: 'Robo Beer', price: 2.00, amount: 0, isAlcoholic: true },
                { name: 'Rob(w)ine', price: 3.00, amount: 0, isAlcoholic: true }
            ];
        }
    }
 
    app.service('drinkService', DrinkService);
})();