1.1 KiB
1.1 KiB
id | title | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
587d8247367417b2b2512c36 | Install and Require Helmet | 2 | 安装并需要头盔 |
Description
Instructions
Tests
tests:
- text: “helmet”依赖应该在package.json中
testString: 'getUserInput => $.get(getUserInput("url") + "/_api/package.json").then(data => { var packJson = JSON.parse(data); assert.property(packJson.dependencies, "helmet"); }, xhr => { throw new Error(xhr.responseText); })'
Challenge Seed
Solution
// solution required