You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
	
		
			
				
				
					
						
						
						
							 | 
							
							#!/bin/bash | 
						
						
						
						
							 | 
							
							set -e | 
						
						
						
						
							 | 
							
							
 | 
						
						
						
						
							 | 
							
							if [ $TESTNAME = "unit-tests" ]; then | 
						
						
						
						
							 | 
							
							  echo "Running unit-tests" | 
						
						
						
						
							 | 
							
							  export DISPLAY=:99.0 | 
						
						
						
						
							 | 
							
							  sh -e /etc/init.d/xvfb start | 
						
						
						
						
							 | 
							
							  sleep 1 | 
						
						
						
						
							 | 
							
							  npm run test | 
						
						
						
						
							 | 
							
							  npm run codecov | 
						
						
						
						
							 | 
							
							elif [ $TESTNAME = "browser-tests" ]; then | 
						
						
						
						
							 | 
							
							  echo "Running browser-tests" | 
						
						
						
						
							 | 
							
							  npm run test:ci | 
						
						
						
						
							 | 
							
							fi
 | 
						
						
						
						
							 | 
							
							
 |