|
|
@ -30,7 +30,7 @@ |
|
|
|
"unit-test": "cross-env TS_NODE_PROJECT=tsconfig.json mocha --require ts-node/register 'src/__tests__/unit/**/*.test.ts' --recursive --check-leaks --exit", |
|
|
|
"unit-test": "cross-env TS_NODE_PROJECT=tsconfig.json mocha --require ts-node/register 'src/__tests__/unit/**/*.test.ts' --recursive --check-leaks --exit", |
|
|
|
"local:test:unit": "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"local:test:unit": "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"test:unit": "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"test:unit": "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"test:unit:pg": "cp packages/nocodb/tests/unit/.pg.env packages/nocodb/tests/unit/.env; cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"test:unit:pg": "cp tests/unit/.pg.env tests/unit/.env; cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"test:lint": "tslint --project . && prettier \"src/**/*.ts\" --list-different", |
|
|
|
"test:lint": "tslint --project . && prettier \"src/**/*.ts\" --list-different", |
|
|
|
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"", |
|
|
|
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"", |
|
|
|
"clean": "trash build src/test", |
|
|
|
"clean": "trash build src/test", |
|
|
|