Add karma to run unit tests

This commit is contained in:
Surma
2018-05-29 23:03:22 +01:00
parent 7042491257
commit 668acf2698
6 changed files with 2492 additions and 163 deletions

9
test/lib/util.ts Normal file
View File

@@ -0,0 +1,9 @@
import {bitmapToImageData} from "../../src/lib/util";
const expect = chai.expect;
describe("util.bitmapToImageData", function () {
it("is a function", function () {
expect(bitmapToImageData).to.be.a('function');
});
});