Made project Prettier compliant
This commit is contained in:
@ -9,14 +9,14 @@ describe("GridCol", () => {
|
||||
const grid = new GridCol(1234);
|
||||
const tree = new Formatter().format(grid);
|
||||
expect(tree).to.deep.equal({
|
||||
"w:gridCol": [{_attr: {"w:w": 1234}}],
|
||||
"w:gridCol": [{ _attr: { "w:w": 1234 } }],
|
||||
});
|
||||
});
|
||||
|
||||
it("does not set a width attribute if not given", () => {
|
||||
const grid = new GridCol();
|
||||
const tree = new Formatter().format(grid);
|
||||
expect(tree).to.deep.equal({"w:gridCol": []});
|
||||
expect(tree).to.deep.equal({ "w:gridCol": [] });
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -28,9 +28,9 @@ describe("TableGrid", () => {
|
||||
const tree = new Formatter().format(grid);
|
||||
expect(tree).to.deep.equal({
|
||||
"w:tblGrid": [
|
||||
{"w:gridCol": [{_attr: {"w:w": 1234}}]},
|
||||
{"w:gridCol": [{_attr: {"w:w": 321}}]},
|
||||
{"w:gridCol": [{_attr: {"w:w": 123}}]},
|
||||
{ "w:gridCol": [{ _attr: { "w:w": 1234 } }] },
|
||||
{ "w:gridCol": [{ _attr: { "w:w": 321 } }] },
|
||||
{ "w:gridCol": [{ _attr: { "w:w": 123 } }] },
|
||||
],
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user