mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 09:39:15 +00:00
Add karma to run unit tests
This commit is contained in:
9
test/lib/util.ts
Normal file
9
test/lib/util.ts
Normal 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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user