Merge branch 'master' into feat/refactor-bidi
# Conflicts: # demo/demo22.js # src/file/paragraph/run/run.ts
This commit is contained in:
@ -16,6 +16,7 @@ describe("Run", () => {
|
||||
run.bold();
|
||||
const newJson = Utility.jsonify(run);
|
||||
assert.equal(newJson.root[0].root[0].rootKey, "w:b");
|
||||
assert.equal(newJson.root[0].root[1].rootKey, "w:bCs");
|
||||
});
|
||||
});
|
||||
|
||||
@ -24,6 +25,7 @@ describe("Run", () => {
|
||||
run.italic();
|
||||
const newJson = Utility.jsonify(run);
|
||||
assert.equal(newJson.root[0].root[0].rootKey, "w:i");
|
||||
assert.equal(newJson.root[0].root[1].rootKey, "w:iCs");
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user