mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #6133 from overleaf/ta-synctex-test-fix
Fix synctex test after merge GitOrigin-RevId: 66e9adf6ccc29acd8119176ecd903914b03946c1
This commit is contained in:
parent
00e792b022
commit
adf26344fb
1 changed files with 8 additions and 0 deletions
|
@ -219,6 +219,14 @@ describe('<PdfSynctexControls/>', function () {
|
|||
name: 'Go to code location in PDF',
|
||||
})
|
||||
|
||||
// mock editor cursor position update
|
||||
fireEvent(
|
||||
window,
|
||||
new CustomEvent('cursor:editor:update', {
|
||||
detail: { row: 100, column: 10 },
|
||||
})
|
||||
)
|
||||
|
||||
sysendTestHelper.receiveMessage({
|
||||
role: 'detached',
|
||||
event: 'state-sync-to-pdf-inflight',
|
||||
|
|
Loading…
Reference in a new issue