Skip to content
Snippets Groups Projects
QueryRunner.spec.ts 566 B
Newer Older
  • Learn to ignore specific revisions
  • Hugo NOUTS's avatar
    Hugo NOUTS committed
    'use strict'
    import QuerryRunner from '../../src/services/queryRunnerService'
    import { DateTime } from 'luxon'
    import { TimeStep } from '../../src/services/dataConsumptionContracts'
    
    // client needs to be mocked correctely to test the CDM
    const mockClient = {
      query: jest.fn(),
      get: jest.fn(),
    }
    
    describe('Querry Runner', () => {
      beforeEach(() => {
        jest.resetAllMocks()
      })
    
      //const qr = new QuerryRunner(mockClient);
    
      it('fetchFluidData', () => {
        expect(true).toBe(true)
      })
    
      it('getLastDateData', () => {
        expect(true).toBe(true)
      })
    })