Skip to content

Commit

Permalink
Répare un test
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-rutkowski committed Jan 30, 2025
1 parent 9582657 commit 460a890
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/api/src/indicateurs/actions/categorie.fetch.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {beforeAll, expect, test} from 'vitest';
import {signIn, signOut} from '../../tests/auth';
import {supabase} from '../../tests/supabase';
import {testReset} from '../../tests/testReset';
import {selectCategories} from './categorie.fetch';
import { beforeAll, expect, test } from 'vitest';
import { signIn, signOut } from '../../tests/auth';
import { supabase } from '../../tests/supabase';
import { testReset } from '../../tests/testReset';
import { selectCategories } from './categorie.fetch';

beforeAll(async () => {
await signIn('yolododo');
Expand All @@ -15,5 +15,5 @@ beforeAll(async () => {

test('Test selectCategories', async () => {
const def = await selectCategories(supabase, 1);
expect(def!).toHaveLength(16);
expect(def.length).toBeGreaterThanOrEqual(16);
});

0 comments on commit 460a890

Please sign in to comment.