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

@@ -12,14 +12,14 @@ describe('POST /user/sleep', () => {
// More tests in common code unit tests
it('toggles sleep status', async () => {
let res = await user.post(`/user/sleep`);
let res = await user.post('/user/sleep');
expect(res).to.eql({
preferences: {sleep: true},
});
await user.sync();
expect(user.preferences.sleep).to.be.true;
let res2 = await user.post(`/user/sleep`);
let res2 = await user.post('/user/sleep');
expect(res2).to.eql({
preferences: {sleep: false},
});