Skip to content

Commit 239bb9a

Browse files
committed
fix: add example src and tests
Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>
1 parent a7e387d commit 239bb9a

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/__tests__/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import mod from '..';
2+
3+
test('example test', () => {
4+
expect(typeof mod).toStrictEqual('function');
5+
});

src/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/**
2+
* Program main entry point.
3+
*/
4+
export default () => {};
5+
6+
/**
7+
* When CLI interface is needed.
8+
*/
9+
export const cli = () => {};

0 commit comments

Comments
 (0)