chore: restore original directory structure (project under code-review-graph-main/)

This commit is contained in:
AuraK Developer
2026-08-31 13:08:20 +08:00
parent ecc55158c1
commit ecfd03a21c
404 changed files with 0 additions and 0 deletions
@@ -0,0 +1,16 @@
// Mocha TDD interface: enabled via `mocha --ui tdd`.
// `suite` is the describe-equivalent and `test` is the it-equivalent.
import { UserRepository, UserService } from './sample_typescript';
suite('UserService (mocha TDD)', () => {
test('constructs a service', () => {
const service = new UserService();
if (!service) throw new Error('expected service');
});
test('returns undefined for unknown id', () => {
const service = new UserService();
const user = service.getUser(404);
if (user !== undefined) throw new Error('expected undefined');
});
});