Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
*.yml text eol=lf
*.yaml text eol=lf


1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ docs/
*.tmp
*.temp


1 change: 1 addition & 0 deletions docs/QUERY_DSL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


1 change: 1 addition & 0 deletions examples/click-rect-demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,4 @@ async function main() {

main().catch(console.error);


1 change: 1 addition & 0 deletions src/expect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ export function expect(browser: SentienceBrowser, selector: QuerySelector): Expe
return new Expectation(browser, selector);
}


1 change: 1 addition & 0 deletions src/inspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,4 @@ export function inspect(browser: SentienceBrowser): Inspector {
return new Inspector(browser);
}


1 change: 1 addition & 0 deletions src/screenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ export async function screenshot(
return `data:${mimeType};base64,${base64Data}`;
}


1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ export interface QuerySelectorObject {

export type QuerySelector = string | QuerySelectorObject;


1 change: 1 addition & 0 deletions tests/query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,4 @@ describe('find', () => {
});
});


1 change: 1 addition & 0 deletions tests/screenshot.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@ describe('screenshot', () => {
});
});


1 change: 1 addition & 0 deletions tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
"include": ["**/*.test.ts"]
}