first commit
This commit is contained in:
16
src/shared/tests/index.test.ts
Normal file
16
src/shared/tests/index.test.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { APP_NAME, APP_VERSION, DEFAULT_MCPD_URL } from '../src/constants/index.js';
|
||||
|
||||
describe('shared package', () => {
|
||||
it('exports APP_NAME constant', () => {
|
||||
expect(APP_NAME).toBe('mcpctl');
|
||||
});
|
||||
|
||||
it('exports APP_VERSION constant', () => {
|
||||
expect(APP_VERSION).toBe('0.1.0');
|
||||
});
|
||||
|
||||
it('exports DEFAULT_MCPD_URL constant', () => {
|
||||
expect(DEFAULT_MCPD_URL).toBe('http://localhost:3000');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user