Skip to content

Commit

Permalink
fix(deps): update dependency @nextcloud/router to ^2.2.1
Browse files Browse the repository at this point in the history
Signed-off-by: Max <[email protected]>
  • Loading branch information
renovate[bot] authored and max-nextcloud committed Jan 31, 2024
1 parent b991d98 commit 1d04855
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 14 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/api/SessionApi.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe('The session Api', function() {
config: { modRewriteWorking: false },
webroot: '',
}
window._oc_webroot = ''
})

beforeEach(function() {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/api/SyncServiceProvider.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ describe('Sync service provider', function() {
cy.createUser(user)
window.OC = {
config: { modRewriteWorking: false },
webroot: '',
}
window._oc_webroot = ''
})

beforeEach(function() {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/api/UsersApi.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe('The user mention API', function() {
cy.createUser(user)
window.OC = {
config: { modRewriteWorking: false },
webroot: '',
}
window._oc_webroot = ''
})

let fileId
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
return string
}
OC = {
webroot: '/dist/OC_WEBROOT',
config: {},
isUserAdmin() {
return true
}
}
_oc_webroot = '/dist/OC_WEBROOT'
</script>
<script type="module">
import { RichTextReader, AttachmentResolver, ATTACHMENT_RESOLVER } from './src/package.js'
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@nextcloud/l10n": "^2.2.0",
"@nextcloud/logger": "^2.7.0",
"@nextcloud/moment": "^1.3.1",
"@nextcloud/router": "^2.2.0",
"@nextcloud/router": "^2.2.1",
"@nextcloud/vue": "^8.6.0",
"@quartzy/markdown-it-mentions": "^0.2.0",
"@tiptap/core": "^2.1.13",
Expand Down
3 changes: 2 additions & 1 deletion src/tests/helpers/links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ global.OCA = {

global.OC = {
config: {modRewriteWorking: true},
webroot: ''
}

global._oc_webroot = ''

describe('Preparing href attributes for the DOM', () => {

test('leave empty hrefs alone', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jest.mock('@nextcloud/dialogs', () => ({

global.OC = {
requestToken: '123',
webroot: '/nc-webroot',
coreApps: [
'core',
],
Expand All @@ -74,6 +73,7 @@ global.OC = {
}
}

global._oc_webroot = '/nc-webroot'
global.OCA = {}


Expand Down

0 comments on commit 1d04855

Please sign in to comment.