website refactor
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { describe, it, expect, vi } from 'vitest';
|
||||
import { describe, it, expect, vi, beforeEach } from 'vitest';
|
||||
import { MediaService } from './MediaService';
|
||||
import { Result } from '@/lib/contracts/Result';
|
||||
|
||||
// Simple test that verifies the service structure
|
||||
describe('MediaService', () => {
|
||||
beforeEach(() => {
|
||||
vi.stubEnv('NEXT_PUBLIC_API_BASE_URL', 'http://localhost:3001');
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(MediaService).toBeDefined();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user