mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
12 lines
434 B
TypeScript
12 lines
434 B
TypeScript
import { assertType, describe, it } from 'vitest';
|
|
|
|
import * as __Services from '../../src/core/structures/default-services';
|
|
import * as Contracts from '../../src/core/interfaces';
|
|
|
|
describe('default contracts', () => {
|
|
it('should satisfy contracts', () => {
|
|
assertType<Contracts.Logging>(new __Services.DefaultLogging());
|
|
assertType<Contracts.ErrorHandling>(new __Services.DefaultErrorHandling());
|
|
});
|
|
});
|