From 24965f613d2f2b2b48d56cc3adcf0eb666855ccb Mon Sep 17 00:00:00 2001 From: Kean Mariotti Date: Wed, 31 May 2023 08:51:17 +0000 Subject: [PATCH] Add 'npm run test:presubmit' script Fix: b/285562786 Test: npm run test:presubmit Change-Id: Ieddaf47c6737fe49d485bf4d81d2b711e4334cd2 --- tools/winscope/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/winscope/package.json b/tools/winscope/package.json index 5eaa4e6b5..ef27d793a 100644 --- a/tools/winscope/package.json +++ b/tools/winscope/package.json @@ -19,6 +19,7 @@ "test:unit": "webpack --config webpack.config.unit_test.js && jasmine dist/unit_test/bundle.js", "test:component": "npx karma start", "test:e2e": "rm -rf dist/e2e_test && npx tsc -p ./src/test/e2e && npx protractor protractor.config.js", + "test:presubmit": "npm run test:unit && npm run test:component && npm run format:check && npm run tslint:check && npm run eslint:check && npm run deps_graph:check_cycles", "test:all": "npm run test:unit && npm run test:component && npm run test:e2e && npm run format:check && npm run tslint:check && npm run eslint:check && npm run deps_graph:check_cycles" }, "private": true,