mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 12:01:32 +02:00
27 lines
579 B
JavaScript
27 lines
579 B
JavaScript
import sinon from 'sinon'
|
|
|
|
export const contextProps = {
|
|
projectId: 'test-project',
|
|
hasWritePermissions: true,
|
|
userHasFeature: () => true,
|
|
refProviders: {},
|
|
reindexReferences: () => {
|
|
console.log('reindex references')
|
|
},
|
|
setRefProviderEnabled: provider => {
|
|
console.log(`ref provider ${provider} enabled`)
|
|
},
|
|
setStartedFreeTrial: () => {
|
|
console.log('started free trial')
|
|
},
|
|
rootFolder: [
|
|
{
|
|
docs: [{ _id: 'entity-1' }],
|
|
fileRefs: [],
|
|
folders: []
|
|
}
|
|
],
|
|
initialSelectedEntityId: 'entity-1',
|
|
onSelect: sinon.stub()
|
|
}
|