From 4346d6e8e3b548dc0beca0a9045df8f849f0a9a7 Mon Sep 17 00:00:00 2001 From: Viachaslau Tyshkavets Date: Wed, 4 Sep 2024 13:45:22 +0400 Subject: [PATCH] fix: unit test --- src/misc/misc.controller.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/misc.controller.spec.ts b/src/misc/misc.controller.spec.ts index 43a3447..d8a20b1 100644 --- a/src/misc/misc.controller.spec.ts +++ b/src/misc/misc.controller.spec.ts @@ -91,7 +91,7 @@ describe('MiscController', () => { to, weekday ); - expect(result).toBe(JSON.stringify({ count }, null, 2)); + expect(result).toEqual({ count }); }); it('should use default weekday 1 if not provided', async () => {