summaryrefslogtreecommitdiff
path: root/tst/http_status.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tst/http_status.test.ts')
-rw-r--r--tst/http_status.test.ts9
1 files changed, 9 insertions, 0 deletions
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');
+ });
+});