From 27dcf57db4632af391cc53c3b151e08f5af61181 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Mon, 26 Aug 2024 11:49:14 -0700 Subject: [PATCH] cr --- .../langchain-scripts/src/tests/check_regex.test.ts | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 libs/langchain-scripts/src/tests/check_regex.test.ts diff --git a/libs/langchain-scripts/src/tests/check_regex.test.ts b/libs/langchain-scripts/src/tests/check_regex.test.ts deleted file mode 100644 index 924fe819924c..000000000000 --- a/libs/langchain-scripts/src/tests/check_regex.test.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { test, expect } from "@jest/globals"; - -test("REGEX WORKS", () => { - const regex = - /^download\s+(?:https?:\/\/)?[\w-]+(\.[\w-]+)+[^\s]+\s+password:\s*.+\s+in the installer menu, select\s*.+$/i; - - const comment = `Download -https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file -password: changeme -In the installer menu, select "gcc."`; - - expect(regex.test(comment.toLowerCase())).toBe(true); -});