add ci action (#12)

* add ci action

* pre-commit hook

* format
This commit is contained in:
Chris Tate
2026-01-12 00:02:38 -06:00
committed by GitHub
parent 24881c7327
commit 5a7c7440c0
10 changed files with 590 additions and 46 deletions
+3 -1
View File
@@ -123,7 +123,9 @@ describe('BrowserManager', () => {
it('should set cookie with domain', async () => {
const page = browser.getPage();
const context = page.context();
await context.addCookies([{ name: 'domainCookie', value: 'domainValue', domain: 'example.com', path: '/' }]);
await context.addCookies([
{ name: 'domainCookie', value: 'domainValue', domain: 'example.com', path: '/' },
]);
const cookies = await context.cookies();
const testCookie = cookies.find((c) => c.name === 'domainCookie');
expect(testCookie?.value).toBe('domainValue');