Skip to content
Snippets Groups Projects
Commit f92c803e authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore: add eslint exception for snake case

parent 603dbe6f
No related branches found
No related tags found
No related merge requests found
......@@ -538,6 +538,7 @@ describe('Consumption service', () => {
it('should throw an error when no data is available', async () => {
mockClient
.getStackClient()
// eslint-disable-next-line camelcase
.fetchJSON.mockResolvedValueOnce({ nb_results: 0 })
const result = await consumptionDataManager.fetchAvgTemperature(2023, 5)
expect(result).toBe(null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment