Skip to content

Commit

Permalink
fix: linting code style fixes to typescript files
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Dec 2, 2024
1 parent 298cfd2 commit 3c20f7d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion cypress/e2e/nodes/Links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ describe('test link marks', function() {

describe('link bubble', function() {

function clickLink(link, options = {}) {
/**
* Find link and click on it
*
* @param {string} link The link URL
* @param {object|null} options the click options
*/
const clickLink = (link, options = {}) => {
cy.getContent()
.find(`a[href*="${link}"]`)
.click(options)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import {
import ReadonlyBar from './Menu/ReadonlyBar.vue'

import { logger } from '../helpers/logger.js'
import { getDocumentState, applyDocumentState } from '../helpers/yjs.js'
import { getDocumentState } from '../helpers/yjs.js'
import { SyncService, ERROR_TYPE, IDLE_TIMEOUT } from './../services/SyncService.js'
import SessionApi from '../services/SessionApi.js'
import createSyncServiceProvider from './../services/SyncServiceProvider.js'
Expand Down
3 changes: 2 additions & 1 deletion src/services/Outbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type Sendable = {
}

export default class Outbox {

#awarenessUpdate = ''
#syncUpdate = ''
#syncQuery = ''
Expand All @@ -33,7 +34,7 @@ export default class Outbox {
}

getDataToSend(): Sendable {
return {
return {
steps: [this.#syncUpdate, this.#syncQuery].filter(s => s),
awareness: this.#awarenessUpdate,
}
Expand Down

0 comments on commit 3c20f7d

Please sign in to comment.