зеркало из https://github.com/nextcloud/text.git
fix: fix linting errors and warnings
Signed-off-by: Jonas <jonas@freesources.org>
This commit is contained in:
Родитель
c002890a5b
Коммит
97e572a2c0
|
@ -8,7 +8,7 @@ import { initUserAndFiles, randUser } from '../utils/index.js'
|
|||
const user = randUser()
|
||||
|
||||
/**
|
||||
*
|
||||
* Enter content and close
|
||||
*/
|
||||
function enterContentAndClose() {
|
||||
cy.intercept({ method: 'POST', url: '**/session/*/close' }).as('closeRequest')
|
||||
|
|
|
@ -27,6 +27,12 @@ describe('test link marks', function() {
|
|||
|
||||
describe('link bubble', function() {
|
||||
|
||||
/**
|
||||
* 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}"]`)
|
||||
|
|
|
@ -93,7 +93,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'
|
||||
|
|
Загрузка…
Ссылка в новой задаче