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
276 B

8 years ago
import test from 'ava';
import Canvas 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 => {
8 years ago
t.true(mergeImages([], { Canvas }) instanceof Promise);
});