fix issues
This commit is contained in:
8
apps/website/lib/infrastructure/ApiRequestLogger.test.ts
Normal file
8
apps/website/lib/infrastructure/ApiRequestLogger.test.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { ApiRequestLogger } from './ApiRequestLogger';
|
||||
|
||||
describe('ApiRequestLogger', () => {
|
||||
it('should be defined', () => {
|
||||
expect(ApiRequestLogger).toBeDefined();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { EnhancedErrorReporter } from './EnhancedErrorReporter';
|
||||
|
||||
describe('EnhancedErrorReporter', () => {
|
||||
it('should be defined', () => {
|
||||
expect(EnhancedErrorReporter).toBeDefined();
|
||||
});
|
||||
});
|
||||
10
apps/website/lib/infrastructure/ErrorReplay.test.ts
Normal file
10
apps/website/lib/infrastructure/ErrorReplay.test.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { ErrorReplaySystem, getGlobalReplaySystem } from './ErrorReplay';
|
||||
|
||||
describe('ErrorReplay', () => {
|
||||
it('should be defined', () => {
|
||||
expect(ErrorReplaySystem).toBeDefined();
|
||||
expect(getGlobalReplaySystem).toBeDefined();
|
||||
expect(getGlobalReplaySystem()).toBeInstanceOf(ErrorReplaySystem);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { GlobalErrorHandler } from './GlobalErrorHandler';
|
||||
|
||||
describe('GlobalErrorHandler', () => {
|
||||
it('should be defined', () => {
|
||||
expect(GlobalErrorHandler).toBeDefined();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { ConsoleErrorReporter } from './ConsoleErrorReporter';
|
||||
|
||||
describe('ConsoleErrorReporter', () => {
|
||||
it('should be defined', () => {
|
||||
expect(ConsoleErrorReporter).toBeDefined();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { ConsoleLogger } from './ConsoleLogger';
|
||||
|
||||
describe('ConsoleLogger', () => {
|
||||
it('should be defined', () => {
|
||||
expect(ConsoleLogger).toBeDefined();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user