Skip to content

Commit 310444f

Browse files
webzwo0irhansen
authored andcommitted
easysync tests: Rename tests
1 parent ec3833a commit 310444f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/tests/frontend/specs/easysync.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,14 +242,14 @@ const randomTestChangeset = (origText, withAttribs) => {
242242
};
243243

244244
describe('easysync', function () {
245-
it('throughIterator', async function () {
245+
it('opAssembler', async function () {
246246
const x = '-c*3*4+6|3=az*asdf0*1*2*3+1=1-1+1*0+1=1-1+1|c=c-1';
247247
const assem = Changeset.opAssembler();
248248
for (const op of Changeset.deserializeOps(x)) assem.append(op);
249249
expect(assem.toString()).to.equal(x);
250250
});
251251

252-
it('throughSmartAssembler', async function () {
252+
it('smartOpAssembler', async function () {
253253
const x = '-c*3*4+6|3=az*asdf0*1*2*3+1=1-1+1*0+1=1-1+1|c=c-1';
254254
const assem = Changeset.smartOpAssembler();
255255
for (const op of Changeset.deserializeOps(x)) assem.append(op);
@@ -607,7 +607,7 @@ describe('easysync', function () {
607607
let n = 0;
608608

609609
const testFollow = (a, b, afb, bfa, merge) => {
610-
it(`testFollow manual #${++n}`, async function () {
610+
it(`manual #${++n}`, async function () {
611611
expect(Changeset.exportedForTestingOnly.followAttributes(a, b, p)).to.equal(afb);
612612
expect(Changeset.exportedForTestingOnly.followAttributes(b, a, p)).to.equal(bfa);
613613
expect(Changeset.composeAttributes(a, afb, true, p)).to.equal(merge);
@@ -723,7 +723,7 @@ describe('easysync', function () {
723723
testCharacterRangeFollow(10, 'Z:2>1+1$a', [0, 0], false, [1, 1]);
724724
testCharacterRangeFollow(11, 'Z:2>1+1$a', [0, 0], true, [0, 0]);
725725

726-
it('testOpAttributeValue', async function () {
726+
it('opAttributeValue', async function () {
727727
const p = new AttributePool();
728728
p.putAttrib(['name', 'david']);
729729
p.putAttrib(['color', 'green']);
@@ -805,7 +805,7 @@ describe('easysync', function () {
805805
], '*0*1');
806806

807807
const testSubattribution = (testId, astr, start, end, correctOutput) => {
808-
it(`testSubattribution#${testId}`, async function () {
808+
it(`subattribution#${testId}`, async function () {
809809
const str = Changeset.subattribution(astr, start, end);
810810
expect(str).to.equal(correctOutput);
811811
});

0 commit comments

Comments
 (0)