From 16a00ff2b9d165a6730a846e689972846d010941 Mon Sep 17 00:00:00 2001 From: rcholic Date: Fri, 26 Dec 2025 08:55:27 -0800 Subject: [PATCH] linted --- .gitattributes | 1 + .npmignore | 1 + docs/QUERY_DSL.md | 1 + examples/click-rect-demo.ts | 1 + src/expect.ts | 1 + src/inspector.ts | 1 + src/screenshot.ts | 1 + src/types.ts | 1 + tests/query.test.ts | 1 + tests/screenshot.test.ts | 1 + tests/tsconfig.json | 1 + 11 files changed, 11 insertions(+) diff --git a/.gitattributes b/.gitattributes index faa01efd..ba825f17 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,3 +11,4 @@ *.yml text eol=lf *.yaml text eol=lf + diff --git a/.npmignore b/.npmignore index 41705fae..d0fcf259 100644 --- a/.npmignore +++ b/.npmignore @@ -43,3 +43,4 @@ docs/ *.tmp *.temp + diff --git a/docs/QUERY_DSL.md b/docs/QUERY_DSL.md index 1384c9d0..06b8bf0f 100644 --- a/docs/QUERY_DSL.md +++ b/docs/QUERY_DSL.md @@ -506,3 +506,4 @@ const center = query(snap, 'bbox.x>400 bbox.x<600 bbox.y>300 bbox.y<500'); - [Type Definitions](../../spec/sdk-types.md) - [Snapshot Schema](../../spec/snapshot.schema.json) + diff --git a/examples/click-rect-demo.ts b/examples/click-rect-demo.ts index 4526c769..32ae8e80 100644 --- a/examples/click-rect-demo.ts +++ b/examples/click-rect-demo.ts @@ -97,3 +97,4 @@ async function main() { main().catch(console.error); + diff --git a/src/expect.ts b/src/expect.ts index 73bc7c1a..41811955 100644 --- a/src/expect.ts +++ b/src/expect.ts @@ -93,3 +93,4 @@ export function expect(browser: SentienceBrowser, selector: QuerySelector): Expe return new Expectation(browser, selector); } + diff --git a/src/inspector.ts b/src/inspector.ts index 2ee09701..ffc8705f 100644 --- a/src/inspector.ts +++ b/src/inspector.ts @@ -165,3 +165,4 @@ export function inspect(browser: SentienceBrowser): Inspector { return new Inspector(browser); } + diff --git a/src/screenshot.ts b/src/screenshot.ts index e7ee1381..8e9b26e9 100644 --- a/src/screenshot.ts +++ b/src/screenshot.ts @@ -48,3 +48,4 @@ export async function screenshot( return `data:${mimeType};base64,${base64Data}`; } + diff --git a/src/types.ts b/src/types.ts index 67009979..a777a3f6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -75,3 +75,4 @@ export interface QuerySelectorObject { export type QuerySelector = string | QuerySelectorObject; + diff --git a/tests/query.test.ts b/tests/query.test.ts index 339ccef5..c064c172 100644 --- a/tests/query.test.ts +++ b/tests/query.test.ts @@ -248,3 +248,4 @@ describe('find', () => { }); }); + diff --git a/tests/screenshot.test.ts b/tests/screenshot.test.ts index 9787260a..0e661b36 100644 --- a/tests/screenshot.test.ts +++ b/tests/screenshot.test.ts @@ -82,3 +82,4 @@ describe('screenshot', () => { }); }); + diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 1a4de77a..e3af6f53 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -8,3 +8,4 @@ "include": ["**/*.test.ts"] } +