From 8ac916b0ffc247cfa197bf89aca8a51707a470a0 Mon Sep 17 00:00:00 2001 From: anusree-bruno Date: Mon, 26 May 2025 14:49:21 +0530 Subject: [PATCH] removed unwanted tests --- .../src/utils/faker-functions.spec.ts | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/packages/bruno-common/src/utils/faker-functions.spec.ts b/packages/bruno-common/src/utils/faker-functions.spec.ts index 8df4eb190..61388ee9d 100644 --- a/packages/bruno-common/src/utils/faker-functions.spec.ts +++ b/packages/bruno-common/src/utils/faker-functions.spec.ts @@ -21,8 +21,6 @@ describe("mockDataFunctions Regex Validation", () => { test("all values should match their expected patterns", () => { const patterns: Record = { guid: /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/, - timestamp: /^\d{10}$/, - isoTimestamp: /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/, randomUUID: /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/, randomAlphaNumeric: /^[\w]$/, randomBoolean: /^(true|false)$/, @@ -156,23 +154,3 @@ describe("mockDataFunctions Regex Validation", () => { } }); }); - -describe("Time-based tests", () => { - beforeAll(() => { - // Set up fake timers - jest.useFakeTimers(); - // Set a specific point in time - jest.setSystemTime(new Date('2024-01-01T00:00:00.000Z')); - }); - - afterAll(() => { - // Clean up - jest.useRealTimers(); - }); - - test("should handle time-based operations", () => { - // Your time-based tests here - const now = new Date(); - expect(now.toISOString()).toBe('2024-01-01T00:00:00.000Z'); - }); -});