mirror of
https://github.com/sern-handler/handler
synced 2026-06-21 07:12:15 +00:00
12 lines
414 B
TypeScript
12 lines
414 B
TypeScript
import { assertType, describe, it } from 'vitest';
|
|
|
|
import { __Services } from '../../src/core/structures';
|
|
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());
|
|
});
|
|
});
|