mirror of
https://github.com/danbulant/pngjs
synced 2026-07-09 13:10:46 +00:00
Even longer timeouts
This commit is contained in:
parent
411d777e22
commit
b24153494e
2 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ var bufferEqual = require('buffer-equal');
|
||||||
|
|
||||||
test('outputs background, created from scratch', function (t) {
|
test('outputs background, created from scratch', function (t) {
|
||||||
|
|
||||||
t.timeoutAfter(1000 * 60);
|
t.timeoutAfter(1000 * 60 * 5);
|
||||||
|
|
||||||
var png = new PNG({
|
var png = new PNG({
|
||||||
width: 10,
|
width: 10,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ fs.readdir(__dirname + '/in/', function (err, files) {
|
||||||
|
|
||||||
test('convert sync - ' + file, function (t) {
|
test('convert sync - ' + file, function (t) {
|
||||||
|
|
||||||
t.timeoutAfter(1000 * 60);
|
t.timeoutAfter(1000 * 60 * 5);
|
||||||
|
|
||||||
var data = fs.readFileSync(__dirname + '/in/' + file);
|
var data = fs.readFileSync(__dirname + '/in/' + file);
|
||||||
try {
|
try {
|
||||||
|
|
@ -54,7 +54,7 @@ fs.readdir(__dirname + '/in/', function (err, files) {
|
||||||
|
|
||||||
test('convert async - ' + file, function (t) {
|
test('convert async - ' + file, function (t) {
|
||||||
|
|
||||||
t.timeoutAfter(1000 * 60);
|
t.timeoutAfter(1000 * 60 * 5);
|
||||||
|
|
||||||
fs.createReadStream(__dirname + '/in/' + file)
|
fs.createReadStream(__dirname + '/in/' + file)
|
||||||
.pipe(new PNG())
|
.pipe(new PNG())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue