Add a task of webapp test (#51)
* Add a task of webapp test * Flesh out tests * Simplify test case * Remove unnecessary dependency * Fix style * Add dependency * Add trainling newline
This commit is contained in:
		
							parent
							
								
									b8201a2731
								
							
						
					
					
						commit
						d08a4c1ccc
					
				
					 5 changed files with 2310 additions and 32 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -157,7 +157,7 @@ ifneq ($(HAS_SERVER),)
 | 
			
		|||
	$(GO) test -v $(GO_TEST_FLAGS) ./server/...
 | 
			
		||||
endif
 | 
			
		||||
ifneq ($(HAS_WEBAPP),)
 | 
			
		||||
	cd webapp && $(NPM) run fix;
 | 
			
		||||
	cd webapp && $(NPM) run fix && $(NPM) run test;
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
## Creates a coverage report for the server code.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue