Package: Validate challenges on test (#17216)
This PR allows us to validate the schema during test. It also removes some cruft from the seed files and ensures only the required data is packaged and consumable, reducing the package weight somewhat.
This commit is contained in:
		
				
					committed by
					
						
						mrugesh mohapatra
					
				
			
			
				
	
			
			
			
						parent
						
							1ccaf255a6
						
					
				
				
					commit
					8535669ea4
				
			@@ -27,7 +27,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -74,7 +73,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -136,7 +134,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -209,7 +206,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -254,7 +250,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -305,7 +300,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -378,7 +372,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -433,7 +426,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -480,7 +472,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -526,7 +517,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -571,7 +561,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -617,7 +606,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -670,7 +658,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -708,7 +695,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -772,7 +758,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -825,7 +810,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -870,7 +854,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -924,7 +907,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -977,7 +959,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1041,7 +1022,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1105,7 +1085,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1164,7 +1143,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1213,7 +1191,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1262,7 +1239,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1324,7 +1300,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1386,7 +1361,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1444,7 +1418,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1494,7 +1467,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1560,7 +1532,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1636,7 +1607,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1683,7 +1653,6 @@
 | 
			
		||||
      ],
 | 
			
		||||
      "solutions": [],
 | 
			
		||||
      "hints": [],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
@@ -1730,7 +1699,6 @@
 | 
			
		||||
      "hints": [
 | 
			
		||||
        "You can use .replace() to remove the matched items by replacing them with an empty string."
 | 
			
		||||
      ],
 | 
			
		||||
      "type": "waypoint",
 | 
			
		||||
      "releasedOn": "Feb 17, 2017",
 | 
			
		||||
      "challengeType": 1,
 | 
			
		||||
      "translations": {},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user