MCPcopy
hub / github.com/philc/vimium / createMark

Function createMark

tests/unit_tests/marks_test.js:5–10  ·  view source on GitHub ↗
(markProperties, tabProperties)

Source from the content-addressed store, hash-verified

3
4context("marks", () => {
5 const createMark = async (markProperties, tabProperties) => {
6 const mark = Object.assign({ scrollX: 0, scrollY: 0 }, markProperties);
7 const tab = Object.assign({ url: "http://example.com" }, tabProperties);
8 const sender = { tab: tab };
9 await marks.create(mark, sender);
10 };
11
12 setup(() => {
13 chrome.storage.session.clear();

Callers 1

marks_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected