| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | import axios from 'axios'; |
||
| 6 | const provideServices = (bottle) => { |
||
| 7 | bottle.constant('localStorage', global.localStorage); |
||
| 8 | bottle.service('Storage', Storage, 'localStorage'); |
||
| 9 | bottle.service('ColorGenerator', ColorGenerator, 'Storage'); |
||
| 10 | |||
| 11 | bottle.constant('axios', axios); |
||
| 12 | bottle.serviceFactory('buildShlinkApiClient', buildShlinkApiClient, 'axios'); |
||
| 13 | }; |
||
| 14 | |||
| 16 |