diff --git a/routes/routeSearch.js b/routes/routeSearch.js index f5d14a3..8453d53 100644 --- a/routes/routeSearch.js +++ b/routes/routeSearch.js @@ -36,6 +36,12 @@ router.get("/", (req, res) => { } }); +// TEST + +router.get("/test/", (req, res) => { + res.send(req.query.string); +}); + // SEARCH RESTAURANTS BY LOCATION router.get("/location", async (req, res) => { diff --git a/services/azureServices.test.js b/services/azureServices.test.js deleted file mode 100644 index a4164d9..0000000 --- a/services/azureServices.test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { removePrefix } from "./azureServices.js"; - -jest.mock("@azure/storage-blob", () => { - return { - StorageSharedKeyCredential: jest.fn(), - newPipeline: jest.fn(), - BlobServiceClient: jest.fn(), - }; -}); - -test("should remove TEMP_ prefix", () => { - expect(removePrefix("TEMP_abcdef")).toBe("abcdef"); -});