1
0
Fork 0

chore: More linting

This commit is contained in:
Joost De Cock 2022-09-15 13:49:55 +02:00
parent 8e187a947a
commit a416b8b860
134 changed files with 1041 additions and 1055 deletions

View file

@ -1,12 +1,12 @@
module.exports = function tests(store, config, chai) {
describe('Admin routes', () => {
it('should login ad admin', done => {
it('should login ad admin', (done) => {
chai
.request(config.backend)
.post('/login')
.send({
username: 'admin',
password: 'admin'
password: 'admin',
})
.end((err, res) => {
console.log(res)
@ -15,7 +15,7 @@ module.exports = function tests(store, config, chai) {
})
})
it('should load a user account', done => {
it('should load a user account', (done) => {
chai
.request(config.backend)
.get('/admin/users/rracx')