summaryrefslogtreecommitdiff
path: root/server/app.controller.spec.ts
diff options
context:
space:
mode:
authorJoseph Ditton <jditton.atomic@gmail.com>2021-12-05 18:46:44 -0700
committerJoseph Ditton <jditton.atomic@gmail.com>2021-12-05 18:46:44 -0700
commitcc0f32a75f22fed46b9ba7509518d93d5293d1ec (patch)
tree678f18959b6a98725710de32a54136b2693f14c1 /server/app.controller.spec.ts
parent8ca1046bf3c049f3cc135ed383a23bd3490c4f01 (diff)
downloadlocchat-cc0f32a75f22fed46b9ba7509518d93d5293d1ec.tar.gz
locchat-cc0f32a75f22fed46b9ba7509518d93d5293d1ec.zip
configure unit tests
Diffstat (limited to 'server/app.controller.spec.ts')
-rw-r--r--server/app.controller.spec.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/app.controller.spec.ts b/server/app.controller.spec.ts
index 35a53c5..53d6cf8 100644
--- a/server/app.controller.spec.ts
+++ b/server/app.controller.spec.ts
@@ -13,9 +13,9 @@ describe('AppController', () => {
appController = app.get<AppController>(AppController);
});
- describe('root', () => {
- it('should return "Hello World!"', () => {
- expect(appController.index()).toBe('Hello World!');
+ describe('index', () => {
+ it('should run without crashing', () => {
+ expect(appController.index()).toBeUndefined();
});
});
});