Skip to content
Permalink
23e713423a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
46 lines (35 sloc) 717 Bytes
'use strict'
const Accounts = require('../modules/accounts.js')
describe('register()', () => {
test('register a valid account', async done => {
expect.assertions(1)
try {
const account = await new Accounts()
// test goes here
} catch(err) {
} finally {
}
})
})
describe('login()', () => {
test('log in with valid credentials', done => {
expect.assertions(1)
try {
const account = await new Accounts()
// test goes here
} catch(err) {
} finally {
}
})
})
describe('checkCredentials()', () => {
test('check valid credentials', done => {
expect.assertions(1)
try {
const account = await new Accounts()
// test goes here
} catch(err) {
} finally {
}
})
})