Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kouak committed Jul 11, 2024
1 parent a68e50c commit 87f74ab
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Airspace/retrieveAUP.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { assert, beforeAll, describe, expect, test } from 'vitest';
import { makeAirspaceClient } from '..';
import { sub } from 'date-fns';
import b2bOptions from '../../tests/options';
import type { AUPSummary } from './types';
import { shouldUseRealB2BConnection } from '../../tests/utils';
import { describe, beforeAll, test, expect, assert } from 'vitest';
import type { AUPSummary } from './types';

describe('retrieveAUP', async () => {
const Airspace = await makeAirspaceClient(b2bOptions);
Expand All @@ -13,7 +12,7 @@ describe('retrieveAUP', async () => {
// Find some AUP id
const res = await Airspace.retrieveAUPChain({
amcIds: ['LFFAZAMC'],
chainDate: sub(new Date(), { days: 1 }),
chainDate: new Date(),
});

// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- TODO: Check if this condition is necessary ?
Expand Down

0 comments on commit 87f74ab

Please sign in to comment.