Skip to content

Commit

Permalink
test: add test on index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Apr 25, 2024
1 parent 40286ce commit 0be7624
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { it, expect } from 'vitest';
import { createCheckPackage, createCheckPackageWithWorkspaces } from './index';

it.each([
['createCheckPackage', createCheckPackage],
['createCheckPackageWithWorkspaces', createCheckPackageWithWorkspaces],
])('%s should be defined', (_, fn) => {
expect(fn).toBeDefined();
});

0 comments on commit 0be7624

Please sign in to comment.