MCPcopy Create free account
hub / github.com/Rello/analytics /

Class

tests/playwright/53_panorama_pdf_upload.js:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77 OC.getCurrentUser = () => ({displayName: 'Test user'});
78 window.jspdf = {jsPDF: class {
79 constructor() {
80 this.internal = {pageSize: {getWidth: () => 842, getHeight: () => 595}};
81 }
82 setProperties() {}
83 setFontSize() {}
84 text(text, x, y) { window.draws.push({text, x, y}); }
85 addImage(data, format, x, y, width, height, alias) { window.draws.push({alias, x, y, width, height}); }
86 save() { window.pdfSaved = true; }
87 }};
88 });
89 for (const size of [{width: 1000, height: 600}, {width: 600, height: 1400}]) {
90 const output = await page.evaluate(async size => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected