init helloworld test,
This commit is contained in:
9
002_source/cms/src/lib/helloworld.test.ts
Normal file
9
002_source/cms/src/lib/helloworld.test.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/// <reference types="jest" />
|
||||
|
||||
import { helloworld } from './helloworld';
|
||||
|
||||
describe('helloworld', () => {
|
||||
it('should return "Helloworld"', () => {
|
||||
expect(helloworld()).toBe('Helloworld');
|
||||
});
|
||||
});
|
3
002_source/cms/src/lib/helloworld.ts
Normal file
3
002_source/cms/src/lib/helloworld.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function helloworld(): string {
|
||||
return 'Helloworld';
|
||||
}
|
Reference in New Issue
Block a user