Skip to content

Commit fdcce65

Browse files
committed
chore: Fix failing tests
1 parent 5dbd328 commit fdcce65

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/utils/chrome/__tests__/__snapshots__/chrome-crawler.test.ts.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Bun Snapshot v1, https://goo.gl/fbAQLP
1+
// Bun Snapshot v1, https://bun.sh/docs/test/snapshots
22

33
exports[`Chrome Web Store Crawler should extract extension details from 2025-02-26-kofbbilhmnkcmibjbioafflgmpkbnmme.html 1`] = `
44
{
@@ -78,6 +78,7 @@ AI Integration: Extract and convert relevant website information into markdown f
7878
],
7979
"shortDescription": "Convert webpages to Markdown. Easily convert headers, text, tables or code snippets to Markdown.",
8080
"storeUrl": "https://chromewebstore.google.com/detail/html-to-markdown/kofbbilhmnkcmibjbioafflgmpkbnmme?hl=en",
81+
"users": 77,
8182
"version": "0.0.13",
8283
"weeklyActiveUsers": 77,
8384
}
@@ -117,6 +118,7 @@ https://github.com/aklinker1/github-better-line-counts"
117118
],
118119
"shortDescription": "Remove generated files from GitHub line counts",
119120
"storeUrl": "https://chromewebstore.google.com/detail/github-better-line-counts/ocfdgncpifmegplaglcnglhioflaimkd?hl=en",
121+
"users": 251,
120122
"version": "1.7.1",
121123
"weeklyActiveUsers": 251,
122124
}
@@ -216,6 +218,7 @@ Absolutely! Blync is 100% secure.
216218
],
217219
"shortDescription": "Preview links, search the web without leaving your current tab and use AI (ChatGPT, Gemini) in popup and sidebar",
218220
"storeUrl": "https://chromewebstore.google.com/detail/blync-preview-links-selec/odffpjnpocjfcaclnenaaaddghkgijdb?hl=en",
221+
"users": 40,
219222
"version": "0.3.3",
220223
"weeklyActiveUsers": 40,
221224
}

src/utils/chrome/__tests__/chrome-crawler.e2e.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ describe("Chrome Web Store Crawler E2E", () => {
1212
"https://lh3.googleusercontent.com/GcffNyCJaxT2G9dsQCJHhUEMlu_E0vEzph5cLPrQj7UHKat7QyCzGu69Dmp_DDUL8rY-bPMFJceQarS1wcqdwTalTg=s256",
1313
id: githubBetterLineCountsId,
1414
lastUpdated: expect.any(String),
15-
longDescription: expect.stringContaining("Isn't it annoying when you"),
15+
longDescription: expect.stringContaining(
16+
"Lots of code is generated nowadays",
17+
),
1618
name: "GitHub Better Line Counts",
1719
rating: expect.any(Number),
1820
reviewCount: expect.any(Number),
@@ -21,6 +23,7 @@ describe("Chrome Web Store Crawler E2E", () => {
2123
"https://chromewebstore.google.com/detail/github-better-line-counts/ocfdgncpifmegplaglcnglhioflaimkd",
2224
),
2325
version: expect.any(String),
26+
users: expect.any(Number),
2427
weeklyActiveUsers: expect.any(Number),
2528
screenshots: [
2629
{

0 commit comments

Comments
 (0)