This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Test User Registration', () => { | |
it('Should register a user and return user object', (done) => { | |
const user = { | |
username: 'kaykay', | |
email: '[email protected]', | |
password: 'itsasecret' | |
}; | |
request(app) | |
.post('api/users') | |
.send(user) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Test User Registration', () => { | |
it('Should register a user and return user object', (done) => { | |
const user = { | |
username: 'kaykay', | |
email: '[email protected]', | |
password: 'itsasecret' | |
}; | |
request(app) | |
.post('api/users') | |
.send(user) |
Token | Feature | Known Vulnerabilities | Resources | Examples |
---|---|---|---|---|
ERC20 | Allowance | Double withdrawal (front-running) |