Adding some simple tests. (#54)

This commit is contained in:
Evan Senter
2025-04-19 18:07:24 +01:00
committed by GitHub
parent d9ad2a74ae
commit 0c9e1ef61b
8 changed files with 1626 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
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');
});
});