mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
[cm6+rt] Add cypress tests for atomic decorations (#11486)
GitOrigin-RevId: c8bd264603dbb8eb5354d07f8d277010aeb9a2c0
This commit is contained in:
parent
2dbc0e3b3d
commit
a87d44ffdd
3 changed files with 43 additions and 0 deletions
40
package-lock.json
generated
40
package-lock.json
generated
|
@ -8424,6 +8424,15 @@
|
|||
"integrity": "sha512-QCWHkbMv4Y5U9oW10Uxbr45qMMSzl4OzijsozynUAgx3kEHUdXB00udx2dWDQ7f2TU2a2uuiFaRZjCe3unPpeg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/mocha-each": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/mocha-each/-/mocha-each-2.0.0.tgz",
|
||||
"integrity": "sha512-wZWPqB+pnH9SL7qzORZha1dBt5ypYgPYDSma9wwtQVGmu36QonRWnc8hbJwgMaCPYHTHzrAGMnwp+we/SGI2YQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/mocha": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/mongodb": {
|
||||
"version": "3.6.20",
|
||||
"resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.20.tgz",
|
||||
|
@ -22993,6 +23002,15 @@
|
|||
"url": "https://opencollective.com/mochajs"
|
||||
}
|
||||
},
|
||||
"node_modules/mocha-each": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/mocha-each/-/mocha-each-2.0.1.tgz",
|
||||
"integrity": "sha512-0ZgWY5ajbnROXkfyaDb+0RAYzDBH3QVow/1zJiyl7lYMRnj1Nid8RDP2+/2TTajB5n4vr21v35MjB72GjFFj2g==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"sprintf-js": "^1.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/mocha/node_modules/brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
|
@ -34516,6 +34534,7 @@
|
|||
"@types/events": "^3.0.0",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/mocha": "^9.1.0",
|
||||
"@types/mocha-each": "^2.0.0",
|
||||
"@types/react": "^17.0.40",
|
||||
"@types/react-bootstrap": "^0.32.29",
|
||||
"@types/react-dom": "^17.0.13",
|
||||
|
@ -34568,6 +34587,7 @@
|
|||
"mensch": "^0.3.4",
|
||||
"mini-css-extract-plugin": "^2.6.0",
|
||||
"mocha": "^10.2.0",
|
||||
"mocha-each": "^2.0.1",
|
||||
"mock-fs": "^5.1.2",
|
||||
"nock": "^13.1.1",
|
||||
"node-fetch": "^2.6.7",
|
||||
|
@ -43520,6 +43540,7 @@
|
|||
"@types/events": "^3.0.0",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/mocha": "^9.1.0",
|
||||
"@types/mocha-each": "^2.0.0",
|
||||
"@types/react": "^17.0.40",
|
||||
"@types/react-bootstrap": "^0.32.29",
|
||||
"@types/react-dom": "^17.0.13",
|
||||
|
@ -43645,6 +43666,7 @@
|
|||
"minimist": "^1.2.7",
|
||||
"mmmagic": "^0.5.3",
|
||||
"mocha": "^10.2.0",
|
||||
"mocha-each": "^2.0.1",
|
||||
"mock-fs": "^5.1.2",
|
||||
"moment": "^2.29.4",
|
||||
"mongodb": "~3.6.0",
|
||||
|
@ -46407,6 +46429,15 @@
|
|||
"integrity": "sha512-QCWHkbMv4Y5U9oW10Uxbr45qMMSzl4OzijsozynUAgx3kEHUdXB00udx2dWDQ7f2TU2a2uuiFaRZjCe3unPpeg==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/mocha-each": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/mocha-each/-/mocha-each-2.0.0.tgz",
|
||||
"integrity": "sha512-wZWPqB+pnH9SL7qzORZha1dBt5ypYgPYDSma9wwtQVGmu36QonRWnc8hbJwgMaCPYHTHzrAGMnwp+we/SGI2YQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/mocha": "*"
|
||||
}
|
||||
},
|
||||
"@types/mongodb": {
|
||||
"version": "3.6.20",
|
||||
"resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.20.tgz",
|
||||
|
@ -58019,6 +58050,15 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"mocha-each": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/mocha-each/-/mocha-each-2.0.1.tgz",
|
||||
"integrity": "sha512-0ZgWY5ajbnROXkfyaDb+0RAYzDBH3QVow/1zJiyl7lYMRnj1Nid8RDP2+/2TTajB5n4vr21v35MjB72GjFFj2g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"sprintf-js": "^1.0.3"
|
||||
}
|
||||
},
|
||||
"mock-fs": {
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.2.0.tgz",
|
||||
|
|
|
@ -261,6 +261,7 @@
|
|||
"@types/events": "^3.0.0",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/mocha": "^9.1.0",
|
||||
"@types/mocha-each": "^2.0.0",
|
||||
"@types/react": "^17.0.40",
|
||||
"@types/react-bootstrap": "^0.32.29",
|
||||
"@types/react-dom": "^17.0.13",
|
||||
|
@ -313,6 +314,7 @@
|
|||
"mensch": "^0.3.4",
|
||||
"mini-css-extract-plugin": "^2.6.0",
|
||||
"mocha": "^10.2.0",
|
||||
"mocha-each": "^2.0.1",
|
||||
"mock-fs": "^5.1.2",
|
||||
"nock": "^13.1.1",
|
||||
"node-fetch": "^2.6.7",
|
||||
|
|
|
@ -52,6 +52,7 @@ export function EditorProviders({
|
|||
findEntityByPath: () => null,
|
||||
getEntityPath: () => '',
|
||||
getRootDocDirname: () => '',
|
||||
getPreviewUrlByPath: path => path,
|
||||
},
|
||||
editorManager = {
|
||||
getCurrentDocId: () => 'foo',
|
||||
|
|
Loading…
Reference in a new issue