From fc04fad6d28a7a41fc705d38dfe2db54393aeeee Mon Sep 17 00:00:00 2001 From: Stuart Taylor Date: Fri, 23 Mar 2018 13:53:40 +0000 Subject: [PATCH] chore(seed): Remove test challenge format --- .../api-and-microservice-projects.json | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/seed/challenges/05-apis-and-microservices/api-and-microservice-projects.json b/seed/challenges/05-apis-and-microservices/api-and-microservice-projects.json index ca80b08ff8..eca6eab092 100644 --- a/seed/challenges/05-apis-and-microservices/api-and-microservice-projects.json +++ b/seed/challenges/05-apis-and-microservices/api-and-microservice-projects.json @@ -4,34 +4,6 @@ "time": "150 hours", "helpRoom": "HelpBackend", "challenges": [ - { - "id": "57ed709d334ad35e8fe79acb", - "title": "New Backend Format", - "isBeta": "true", - "meta": "This is just a test", - "description": [ - "This is just a test of the new backend challenge test framework" - ], - "tests": [ - { - "text": "website should return 200", - "testString": "getUserInput => $.ajax({ url: getUserInput('url'), method: 'HEAD' }).then(null, (err) => assert.fail(err));" - }, - { - "text": "package.json should have a valid \"keywords\" key", - "testString": "getUserInput => ($.get(getUserInput('url') + '/_api/package.json').then(function(data){ var packJson = JSON.parse(data); assert(packJson.keywords); }, err => { throw new Error('Err: ' + err.statusText);}))" - }, - { - "text": "\"keywords\" field should be an Array", - "testString": "getUserInput => ($.get(getUserInput('url') + '/_api/package.json').then(function(data){ var packJson = JSON.parse(data); assert.isArray(packJson.keywords); }, err => { throw new Error('Err: ' + err.statusText);}))" - }, - { - "text": "\"keywords\" should include \"freecodecamp\"", - "testString": "getUserInput => ($.get(getUserInput('url') + '/_api/package.json').then(function(data){ var packJson = JSON.parse(data); assert.include(packJson.keywords, 'freecodecamp'); }, err => { throw new Error('Err: ' + err.statusText); }))" - } - ], - "type": "backend" - }, { "id": "bd7158d8c443edefaeb5bdef", "title": "Timestamp Microservice",