mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
1be43911b4
Set Prettier's "trailingComma" setting to "es5" GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
26 lines
582 B
JavaScript
26 lines
582 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(),
|
|
}
|