From 1ed5efb7abd49ab5921251936752d5f62debec93 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Fri, 23 Jun 2023 06:43:24 +0100 Subject: [PATCH] Format --- .../src/document_loaders/tests/cheerio.int.test.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/langchain/src/document_loaders/tests/cheerio.int.test.ts b/langchain/src/document_loaders/tests/cheerio.int.test.ts index aaa59cb4efbd..c10a2223cf39 100644 --- a/langchain/src/document_loaders/tests/cheerio.int.test.ts +++ b/langchain/src/document_loaders/tests/cheerio.int.test.ts @@ -21,12 +21,13 @@ test("Test cheerio web scraper loader with selector", async () => { }); test("Test cheerio web scraper loader with textDecoder", async () => { - const loader = new CheerioWebBaseLoader("https://corp.163.com/gb/about/management.html", { - textDecoder: new TextDecoder("gbk"), - }); + const loader = new CheerioWebBaseLoader( + "https://corp.163.com/gb/about/management.html", + { + textDecoder: new TextDecoder("gbk"), + } + ); const doc = await loader.load(); - expect(doc[0].pageContent.trim()).toEqual( - expect.stringContaining("网易") - ); + expect(doc[0].pageContent.trim()).toEqual(expect.stringContaining("网易")); });