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.

11 lines
276 B

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