File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { flushPromises, shallowMount } from '@vue/test-utils'
88import type { VueWrapper } from '@vue/test-utils'
99import { createPinia , setActivePinia } from 'pinia'
1010import axios from '@nextcloud/axios'
11+ import { loadState } from '@nextcloud/initial-state'
1112import type { useFilesStore as useFilesStoreType } from '../../../store/files.js'
1213import { usePoliciesStore } from '../../../store/policies'
1314import RequestSignatureTab from '../../../components/RightSidebar/RequestSignatureTab.vue'
@@ -577,7 +578,7 @@ describe('RequestSignatureTab - Critical Business Rules', () => {
577578 } )
578579
579580 it ( 'does not use stale sign_request_uuid from initial state when file has no signing UUIDs' , async ( ) => {
580- vi . mocked ( loadState ) . mockImplementation ( ( app , key , defaultValue ) => {
581+ vi . mocked ( loadState ) . mockImplementation ( ( _app : string , key : string , defaultValue : unknown ) => {
581582 if ( key === 'sign_request_uuid' ) {
582583 return 'stale-sign-request-uuid'
583584 }
You can’t perform that action at this time.
0 commit comments