feat: migrate hello baseline from Python to TypeScript
sonar / sonar (push) Skipped
sonar / sonar (pull_request) Successful in 39s

Replace the greenfield Python hello world with a Node.js 22/TypeScript/npm toolchain while preserving the existing greeting behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-11 13:43:15 -03:00
co-authored by Cursor
parent 65ad31ea20
commit fc577aadf1
9 changed files with 135 additions and 18 deletions
+13
View File
@@ -0,0 +1,13 @@
import assert from "node:assert/strict";
import { describe, it } from "node:test";
import { greet } from "./hello.js";
describe("greet", () => {
it("returns the default greeting", () => {
assert.equal(greet(), "Hello, TicketLab MCP!");
});
it("returns a greeting for a custom name", () => {
assert.equal(greet("World"), "Hello, World!");
});
});