mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
✌️
This commit is contained in:
parent
0ac54c90b9
commit
4e91e0e7b9
10
test/api.ts
10
test/api.ts
@ -55,16 +55,6 @@ describe('API', () => {
|
|||||||
db.get('authSessions').drop()
|
db.get('authSessions').drop()
|
||||||
]));
|
]));
|
||||||
|
|
||||||
it('greet server', done => {
|
|
||||||
_chai.request(server)
|
|
||||||
.get('/')
|
|
||||||
.end((err, res) => {
|
|
||||||
res.should.have.status(200);
|
|
||||||
res.text.should.be.equal('YEE HAW');
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
describe('signup', () => {
|
describe('signup', () => {
|
||||||
it('不正なユーザー名でアカウントが作成できない', async(async () => {
|
it('不正なユーザー名でアカウントが作成できない', async(async () => {
|
||||||
const res = await request('/signup', {
|
const res = await request('/signup', {
|
||||||
|
Loading…
Reference in New Issue
Block a user