diff --git a/src/services/mpEthPriceService.test.ts b/src/services/mpEthPriceService.test.ts new file mode 100644 index 000000000..12ed411bf --- /dev/null +++ b/src/services/mpEthPriceService.test.ts @@ -0,0 +1,12 @@ +import { assert, expect } from 'chai'; +import { fetchMpEthPrice } from './mpEthPriceService'; + +describe('fetchMpEthPrice test cases', fetchMpEthPriceTestCases); + +function fetchMpEthPriceTestCases() { + it('should fetch the price from velodrome subgraph for mpeth', async () => { + const mpEthPrice = await fetchMpEthPrice(); + assert.isOk(mpEthPrice); + expect(mpEthPrice).to.gt(0); + }); +}