| 
									
										
										
										
											2016-03-29 12:02:06 +02:00
										 |  |  | #!/bin/sh
 | 
					
						
							|  |  |  | set -e | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if [ -z "$TEST_GREP" ]; then | 
					
						
							|  |  |  |    TEST_GREP="" | 
					
						
							|  |  |  | fi | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-15 13:33:14 +02:00
										 |  |  | node node_modules/mocha/bin/_mocha `scripts/_get-test-directories.sh` --opts test/mocha.opts --grep "$TEST_GREP" | 
					
						
							| 
									
										
										
										
											2017-07-24 22:45:12 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Test `strapi-admin` | 
					
						
							| 
									
										
										
										
											2017-05-11 17:30:00 +02:00
										 |  |  | cd packages/strapi-admin | 
					
						
							| 
									
										
										
										
											2016-11-25 15:37:50 +01:00
										 |  |  | npm run test | 
					
						
							| 
									
										
										
										
											2017-07-24 22:45:12 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-08-09 22:21:49 +02:00
										 |  |  | # Test `strapi-plugin-content-manager` | 
					
						
							|  |  |  | cd ../strapi-plugin-content-manager | 
					
						
							|  |  |  | npm run test | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-24 22:45:12 +02:00
										 |  |  | # Test `strapi-plugin-settings-manager` | 
					
						
							| 
									
										
										
										
											2017-08-09 22:09:41 +02:00
										 |  |  | cd ../strapi-plugin-settings-manager | 
					
						
							| 
									
										
										
										
											2017-07-24 22:45:12 +02:00
										 |  |  | npm run test | 
					
						
							| 
									
										
										
										
											2017-09-08 13:53:20 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Test `strapi-plugin-content-type-builder` | 
					
						
							|  |  |  | cd ../strapi-plugin-content-type-builder | 
					
						
							|  |  |  | npm run test | 
					
						
							| 
									
										
										
										
											2017-11-27 17:27:16 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Test `strapi-plugin-content-type-builder` | 
					
						
							|  |  |  | cd ../strapi-plugin-users-permissions | 
					
						
							|  |  |  | npm run test |