summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/pom.xml
diff options
context:
space:
mode:
authorEinav Weiss Keidar <EINAVW@amdocs.com>2018-02-14 14:00:07 +0200
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-02-15 10:38:31 +0000
commitd2f5794e8565764e71e171e77ff0a548ad206b05 (patch)
tree1b0de6b0fceb3ae4528827c8ef8422d866fa8220 /openecomp-ui/pom.xml
parent14592280a9791ca8e31a1581af04941fbb6f4794 (diff)
upgrade react framework
Issue-ID: SDC-894 Change-Id: Iab219b465333d88c2679b01639e8bad6232750d9 Signed-off-by: einavk <einavw@amdocs.com>
Diffstat (limited to 'openecomp-ui/pom.xml')
-rw-r--r--openecomp-ui/pom.xml24
1 files changed, 21 insertions, 3 deletions
diff --git a/openecomp-ui/pom.xml b/openecomp-ui/pom.xml
index 282a88e55d..8c90c826b1 100644
--- a/openecomp-ui/pom.xml
+++ b/openecomp-ui/pom.xml
@@ -17,8 +17,26 @@
<properties>
<maven.war.plugin.version>3.0.0</maven.war.plugin.version>
+ <jest.command />
</properties>
+ <!-- ============================================= -->
+ <!-- Profile for windows to run jest one by the other due to current defect in node-graceful-js creating race condition -->
+ <!-- https://github.com/isaacs/node-graceful-fs/pull/119 -->
+ <!-- ============================================= -->
+ <profiles>
+ <profile>
+ <id>jest-windows-profile</id>
+ <activation>
+ <os>
+ <family>windows</family>
+ </os>
+ </activation>
+ <properties>
+ <jest.command>--runInBand</jest.command>
+ </properties>
+ </profile>
+ </profiles>
<build>
<plugins>
<plugin>
@@ -79,7 +97,7 @@
<nodeVersion>v9.4.0</nodeVersion>
<yarnVersion>v1.3.2</yarnVersion>
</configuration>
- </execution>
+ </execution>
<execution>
<id>yarn install in dox-sequence-diagram-ui</id>
@@ -129,10 +147,10 @@
<id>ui test</id>
<goals>
<goal>yarn</goal>
- </goals>
+ </goals>
<configuration>
<yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
- <arguments>run test-build</arguments>
+ <arguments>run test-build ${jest.command}</arguments>
</configuration>
<!-- for some reason does not fail on test phase -->
<phase>install</phase>