chore(lint): lint files in preparation for eslint v2

This commit is contained in:
Blade Barringer
2016-04-15 08:15:09 -05:00
parent 1a64886f7d
commit 33c0cdd569
48 changed files with 140 additions and 122 deletions

View File

@@ -18,7 +18,7 @@ describe('POST /user/buy/:key', () => {
// More tests in common code unit tests
it('returns an error if the item is not found', async () => {
await expect(user.post(`/user/buy/notExisting`))
await expect(user.post('/user/buy/notExisting'))
.to.eventually.be.rejected.and.eql({
code: 404,
error: 'NotFound',
@@ -28,7 +28,7 @@ describe('POST /user/buy/:key', () => {
it('buys an item', async () => {
let potion = content.potion;
let res = await user.post(`/user/buy/potion`);
let res = await user.post('/user/buy/potion');
await user.sync();
expect(res.data).to.eql({