You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
294 B

8 years ago
import test from 'ava';
import { Canvas, Image } from 'canvas';
8 years ago
import mergeImages from '../';
test('mergeImages is a function', t => {
t.is(typeof mergeImages, 'function');
});
test('mergeImages returns a Promise', t => {
t.true(mergeImages([], { Canvas, Image }) instanceof Promise);
});