1.6 KiB
1.6 KiB
id | title | challengeType |
---|---|---|
587d7fb3367417b2b2512bfc | Add a Description to Your package.json | 2 |
Description
"description": "A project that does something awesome",
Instructions
Add a description to the package.json in your Glitch project.
Remember to use double-quotes for field-names (") and commas (,) to separate fields.
Instructions
Tests
tests:
- text: package.json should have a valid "description" key
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/_api/package.json'').then(data => { var packJson = JSON.parse(data); assert(packJson.description, ''"description" is missing''); }, xhr => { throw new Error(xhr.responseText); })'
Challenge Seed
Solution
// solution required