mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
tests: easysync: Run with the frontend tests
This commit is contained in:
parent
3722d943c7
commit
428736cdc3
1 changed files with 7 additions and 3 deletions
|
@ -23,8 +23,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const Changeset = require('../static/js/Changeset');
|
const Changeset = require('../../../static/js/Changeset');
|
||||||
const AttributePool = require('../static/js/AttributePool');
|
const AttributePool = require('../../../static/js/AttributePool');
|
||||||
|
|
||||||
function random() {
|
function random() {
|
||||||
this.nextInt = (maxValue) => Math.floor(Math.random() * maxValue);
|
this.nextInt = (maxValue) => Math.floor(Math.random() * maxValue);
|
||||||
|
@ -992,4 +992,8 @@ const runTests = () => {
|
||||||
for (let i = 0; i < 30; i++) testInverseRandom(i);
|
for (let i = 0; i < 30; i++) testInverseRandom(i);
|
||||||
};
|
};
|
||||||
|
|
||||||
runTests();
|
describe('easysync', function () {
|
||||||
|
it('tests', async function () {
|
||||||
|
runTests();
|
||||||
|
});
|
||||||
|
});
|
Loading…
Add table
Add a link
Reference in a new issue