Skip to content

Commit 5ad2bff

Browse files
committed
test: add better assertions for bin configuration test
1 parent 660663d commit 5ad2bff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/package.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ describe('Package configuration', () => {
1212

1313
it('should have correct bin configuration', () => {
1414
expect(packageJson.bin).toBeDefined();
15+
expect(typeof packageJson.bin).toBe('object');
16+
expect(packageJson.bin).toHaveProperty('mcp-wayback-machine');
1517
expect(packageJson.bin['mcp-wayback-machine']).toBe('dist/index.js');
1618
});
1719

0 commit comments

Comments
 (0)