diff options
author | Max <max@nextcloud.com> | 2022-03-23 10:14:59 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-03-23 10:14:59 +0300 |
commit | 852e4f376f360da6a58d38ec7b913c5a9fa23f24 (patch) | |
tree | 2c03443d675199aa5de1191a587e170785fca8eb /package.json | |
parent | 00b3f63060a45c04c334f6f586f27de215eb091d (diff) |
test: configure jest to exclude cypress
Configure jest rather than setting command line options in npm scripts.
Make `npx jest` pass without additional options.
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json index 61cf31580..253f6956e 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "lint:fix": "eslint --ext .js,.vue src --fix", "stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css", "stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix", - "test": "NODE_ENV=test jest --passWithNoTests src/", - "test:coverage": "NODE_ENV=test jest --coverage src/" + "test": "NODE_ENV=test jest", + "test:coverage": "NODE_ENV=test jest --coverage" }, "browserslist": [ "extends @nextcloud/browserslist-config" @@ -119,7 +119,8 @@ }, "testPathIgnorePatterns": [ "<rootDir>/src/tests/fixtures/", - "<rootDir>/build" + "<rootDir>/build", + "<rootDir>/cypress" ], "transform": { "^.+\\.js$": "<rootDir>/node_modules/babel-jest", |