10 lines
272 B
TypeScript
10 lines
272 B
TypeScript
|
|
import { describe, it, expect } from 'vitest';
|
||
|
|
import { helloServer } from './index.js';
|
||
|
|
|
||
|
|
describe('server tests', () => {
|
||
|
|
it('should export helloServer function', () => {
|
||
|
|
expect(helloServer).toBeDefined();
|
||
|
|
expect(typeof helloServer).toBe('function');
|
||
|
|
});
|
||
|
|
});
|