easysync tests: Convert IIFE into a `describe()`

pull/5300/head
webzwo0i 2021-10-17 23:57:47 +02:00 committed by Richard Hansen
parent 6a7b54313f
commit ec3833ab66
1 changed files with 2 additions and 2 deletions

View File

@ -596,7 +596,7 @@ describe('easysync', function () {
expect(cs12).to.equal('Z:2>1+1*0|1=2$x'); expect(cs12).to.equal('Z:2>1+1*0|1=2$x');
}); });
(() => { describe('followAttributes & composeAttributes', function () {
const p = new AttributePool(); const p = new AttributePool();
p.putAttrib(['x', '']); p.putAttrib(['x', '']);
p.putAttrib(['x', 'abc']); p.putAttrib(['x', 'abc']);
@ -623,7 +623,7 @@ describe('easysync', function () {
testFollow('*0*1', '', '', '*0*1', '*0*1'); testFollow('*0*1', '', '', '*0*1', '*0*1');
testFollow('*0*4', '*2*3', '*3', '*0', '*0*3'); testFollow('*0*4', '*2*3', '*3', '*0', '*0*3');
testFollow('*0*4', '*2', '', '*0*4', '*0*4'); testFollow('*0*4', '*2', '', '*0*4', '*0*4');
})(); });
const testFollow = (randomSeed) => { const testFollow = (randomSeed) => {
it(`testFollow#${randomSeed}`, async function () { it(`testFollow#${randomSeed}`, async function () {