Fix incorrect spelling of BCrypt (#37247)

* Fix incorrect spelling of BCrypt

* Fixed spelling of BCrypt in the Chinese, Portuguese, and Spanish versions of the challenge
This commit is contained in:
gmal1
2019-10-24 04:39:53 -04:00
committed by Kristofer Koishigawa
parent bcef08424c
commit 94635dcc0b
4 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ Submit your page when you think you've got it right.
```yml
tests:
- text: BCyrpt is a dependency
- text: BCrypt is a dependency
testString: getUserInput => $.get(getUserInput('url')+ '/_api/package.json') .then(data => { var packJson = JSON.parse(data); assert.property(packJson.dependencies, 'bcrypt', 'Your project should list "bcrypt" as a dependency'); }, xhr => { throw new Error(xhr.statusText); })
- text: BCrypt has been properly required
testString: getUserInput => $.get(getUserInput('url')+ '/_api/server.js').then(data => {assert.match(data, /bcrypt.*=.*require.*('|")bcrypt('|")/gi, 'You should correctly require and instantiate socket.io as io.');}, xhr => { throw new Error(xhr.statusText); })