mirror of https://gitgud.io/fatchan/gm
parent
1a2757949a
commit
588b5e3d92
2 changed files with 18 additions and 1 deletions
@ -0,0 +1,17 @@ |
|||||||
|
|
||||||
|
var assert = require('assert'); |
||||||
|
|
||||||
|
module.exports = function (_, dir, finish, gm) { |
||||||
|
if (!gm.integration) |
||||||
|
return finish(); |
||||||
|
|
||||||
|
gm(dir + '/original.gif') |
||||||
|
.format(function (err, type) { |
||||||
|
if (err) return finish(err); |
||||||
|
|
||||||
|
assert.equal(type, 'GIF'); |
||||||
|
assert.equal(this.data.format, 'GIF'); |
||||||
|
|
||||||
|
finish(); |
||||||
|
}) |
||||||
|
} |
Loading…
Reference in new issue