tests: easysync: Run with the frontend tests

This commit is contained in:
Richard Hansen 2021-10-15 20:53:41 -04:00 committed by webzwo0i
parent 3722d943c7
commit 428736cdc3

View file

@ -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);
}; };
describe('easysync', function () {
it('tests', async function () {
runTests(); runTests();
});
});