Skip to content

Contributing Guidelines

Dolan edited this page Feb 7, 2018 · 3 revisions

Writing Code

Include documentation reference(s) at the top of each file:

// http://officeopenxml.com/WPdocument.php

Follow Prettier standards, and consider using the Prettier VSCode plugin.

Testing

Please write a test of every file you make and suffix it with .spec.ts.

Here is a template of a test:

import { assert } from "chai";

describe("ClassName", () => {

    beforeEach(() => {
        // TODO
    });

    describe("#methodName()", () => {
        it("should ", () => {
            // TODO
        });
    });
});
Clone this wiki locally