From 781d816a401069801f1c65e3c9a94fff863fdf23 Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 26 Oct 2022 15:58:24 +0200 Subject: [PATCH 1/2] add a new test script in pkg.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b43409354..bf76a182a 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "nobuild:unit": "npm run mocha:ts -- --timeout 60000 'test/*.ts'", "prettier": "prettier 'ts_src/**/*.ts' 'test/**/*.ts' --ignore-path ./.prettierignore", "prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore", - "test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage", + "test:ci": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage", + "test": "npm run build && npm run nobuild:unit && npm run nobuild:integration", "unit": "npm run build && npm run nobuild:unit" }, "repository": { From 766c6a6318ad7e507da00b8c0804b5f76bb478e5 Mon Sep 17 00:00:00 2001 From: Louis Singer Date: Tue, 1 Nov 2022 12:23:44 +0100 Subject: [PATCH 2/2] rename test:ci by "checks" --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bf76a182a..0897a82a0 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "nobuild:unit": "npm run mocha:ts -- --timeout 60000 'test/*.ts'", "prettier": "prettier 'ts_src/**/*.ts' 'test/**/*.ts' --ignore-path ./.prettierignore", "prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore", - "test:ci": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage", + "checks": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage", "test": "npm run build && npm run nobuild:unit && npm run nobuild:integration", "unit": "npm run build && npm run nobuild:unit" },