From cc70e471ae5a5092ecc0f7d08ece762a276dccb0 Mon Sep 17 00:00:00 2001 From: mohamad khawam Date: Wed, 28 Feb 2024 18:19:45 -0500 Subject: [PATCH] added longer timeout because of 2s default --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 875e7e7..88665ae 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ }, "scripts": { "test": "mocha -r ts-node/register test/**/*.spec.ts", - "test_integration": "mocha -r ts-node/register tests/**/*.spec.ts", + "test_integration": "mocha -r --timeout 15000 ts-node/register tests/**/*.spec.ts ", "start": "tsc && cross-env DEV=true node --inspect --trace-warnings ./dist/Tortilla.js", "start_linux": "tsc && cross-env DEV=true node --inspect --trace-warnings ./dist/Tortilla.js", "build_linux": "export SALT=$(node -e \"const crypto = require('crypto'); console.log(crypto.randomBytes(256).toString('hex'));\") && export SALT_2=$(node -e \"const crypto = require('crypto'); console.log(crypto.randomBytes(256).toString('hex'));\") && node ./build/prebuild.js $SALT $SALT_2 && tsc && pkg --out-path releases/latest/arm -t \"node16-linux-arm64,node16-win-arm64,node16-macos-arm64\" -C Gzip -c package.json ./dist/Tortilla.js && node ./build/postbuild.js $SALT $SALT_2 && echo 'Binaries are located in releases/latest' ",