mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 12:33:39 -05:00
c6b0d988f9
Only autocompile when the PDF preview is open GitOrigin-RevId: f1b2fa934da227c046c990fc86dbf78d6501a408
17 lines
311 B
TypeScript
17 lines
311 B
TypeScript
export const mockScope = () => ({
|
|
settings: {
|
|
syntaxValidation: false,
|
|
pdfViewer: 'pdfjs',
|
|
},
|
|
editor: {
|
|
sharejs_doc: {
|
|
doc_id: 'test-doc',
|
|
getSnapshot: () => 'some doc content',
|
|
},
|
|
},
|
|
hasLintingError: false,
|
|
ui: {
|
|
view: 'editor',
|
|
pdfLayout: 'sideBySide',
|
|
},
|
|
})
|