init helloworld test,

This commit is contained in:
louiscklaw
2025-04-24 10:26:30 +08:00
parent 2f8acbbcdf
commit 29b074f6dd
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
/// <reference types="jest" />
import { helloworld } from './helloworld';
describe('helloworld', () => {
it('should return "Helloworld"', () => {
expect(helloworld()).toBe('Helloworld');
});
});

View File

@@ -0,0 +1,3 @@
export function helloworld(): string {
return 'Helloworld';
}