From 666674327f009e9b1013218fc384f193b64c6997 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 14 Dec 2025 22:39:18 -0800 Subject: Adds unit tests --- tst/http_status.test.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tst/http_status.test.ts (limited to 'tst/http_status.test.ts') diff --git a/tst/http_status.test.ts b/tst/http_status.test.ts new file mode 100644 index 0000000..09d6790 --- /dev/null +++ b/tst/http_status.test.ts @@ -0,0 +1,9 @@ +import { HttpStatusCodes } from '../lib/index'; + +describe('server/http/status', () => { + test('contains common status codes', () => { + expect(HttpStatusCodes[200]).toBe('OK'); + expect(HttpStatusCodes[404]).toBe('Not Found'); + expect(HttpStatusCodes[500]).toBe('Internal Server Error'); + }); +}); -- cgit v1.2.3-70-g09d2