Commit 27a59980 authored by Augusto Mauch's avatar Augusto Mauch
Browse files

Fixes FR/46118: Supports dual modules by skipping web-jspack tests if...

Fixes FR/46118: Supports dual modules by skipping web-jspack tests if org.openbravo.core2 is not installed
parent 50069897
# *************************************************************************
# * The contents of this file are subject to the Openbravo Public License
# * Version 1.1 (the "License"), being the Mozilla Public License
# * Version 1.1 with a permitted attribution clause; you may not use this
# * file except in compliance with the License. You may obtain a copy of
# * the License at
# * Software distributed under the License is distributed on an "AS IS"
# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
# * License for the specific language governing rights and limitations
# * under the License.
# * The Original Code is Openbravo ERP.
# * The Initial Developer of the Original Code is Openbravo SLU
# * All portions are Copyright (C) 2021 Openbravo SLU
# * All Rights Reserved.
# * Contributor(s): ______________________________________.
# ************************************************************************
if [ -d "$CORE_2_PATH" ]; then
echo "org.openbravo.core2 not installed, ignoring web-jspack tests"
jest --testPathIgnorePatterns=web-jspack
......@@ -3,9 +3,12 @@
"version": "1.0.0",
"description": "This contains some utilities used to format and lint Javascript code",
"private": true,
"config": {
"test": "modules/org.openbravo.client.kernel/test-scripts/run-tests"
"scripts": {
"postinstall": "lerna bootstrap --no-ci --hoist; modules/org.openbravo.client.kernel/eslint-airbnb/copy-config",
"test": "jest",
"test": "$npm_package_config_test",
"coverage": "jest --coverage",
"jslint": "eslint --max-warnings 0",
"jsformat": "prettier"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment