This commit is contained in:
Conrad Irwin
2025-08-27 10:59:00 -06:00
parent c5b0e3c91c
commit dc78ab2eb4
4 changed files with 1569 additions and 3 deletions

1537
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,11 @@
"build": "tsc",
"start": "node dist/index.js",
"dev": "npm run build && npm run start",
"lint": "eslint src --ext .ts"
"lint": "eslint src --ext .ts",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage"
},
"keywords": [
"claude",
@@ -34,8 +38,10 @@
"@types/minimist": "^1.2.5",
"@types/node": "^20.11.30",
"@types/uuid": "^10.0.0",
"@vitest/ui": "^3.2.4",
"eslint": "^8.56.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.0"
"typescript": "^5.4.0",
"vitest": "^3.2.4"
}
}

View File

@@ -0,0 +1,7 @@
import { describe, it, expect } from 'vitest';
describe('Basic Test Example', () => {
it('should assert that false is true', () => {
expect(false).toBe(true);
});
});

18
vitest.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html']
}
},
resolve: {
alias: {
'@': '/src'
}
}
});