Skip to content

Commit

Permalink
test: add Chrome profile listing tests and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mherod committed Jan 3, 2025
1 parent a17ed5f commit ad72235
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 56 deletions.
56 changes: 0 additions & 56 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions src/tests/listChromeProfiles.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import {
listChromeProfiles,
listChromeProfilePaths,
} from "../core/browsers/listChromeProfiles";

describe("Chrome Profile Tests", () => {
it("should list Chrome profiles and cookie paths", () => {
// Get all Chrome profiles
const profiles = listChromeProfiles();
console.log("\nChrome Profiles Found:");
console.log(JSON.stringify(profiles, null, 2));

// Get all cookie file paths
const cookiePaths = listChromeProfilePaths();
console.log("\nCookie File Paths Found:");
console.log(JSON.stringify(cookiePaths, null, 2));
});
});

0 comments on commit ad72235

Please sign in to comment.