1.1 KiB
1.1 KiB
id | title | localeTitle | challengeType |
---|---|---|---|
587d7fb4367417b2b2512bff | Add a Version to Your package.json | أضف إصدارًا إلى الحزمة الخاصة بك. json | 2 |
Description
"version": "1.2",
Instruction
بإضافة نسخة إلى package.json في مشروع Glitch الخاص بك.
Instructions
Tests
tests:
- text: package.json يجب أن يكون لديك مفتاح "إصدار" صالح
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/_api/package.json'').then(data => { var packJson = JSON.parse(data); assert(packJson.version, ''"version" is missing''); }, xhr => { throw new Error(xhr.responseText); })'
Challenge Seed
Solution
// solution required