egoport/tests/server.test.ts

11 lines
247 B
TypeScript
Raw Normal View History

2023-11-20 19:32:02 +01:00
import server from '../src/server.js';
import { test, describe, expect } from 'vitest';
describe('Server', () => {
test('Should return server instance', async () => {
expect(typeof server).eq('object');
await server.close();
});
});