Skip to content

Commit

Permalink
fix(deps): Adjust test-setup for changed lib methods
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Jan 28, 2024
1 parent dfefe5a commit 746cfb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ jest.mock('extendable-media-recorder-wav-encoder', () => ({
connect: jest.fn(),
}))

window._oc_webroot = '/nc-webroot' // used by getRootUrl() | since @nextcloud/router 2.2.1

global.appName = 'spreed'

global.OC = {
requestToken: '123',
webroot: '/nc-webroot',
coreApps: [
'core',
],
Expand Down

0 comments on commit 746cfb3

Please sign in to comment.