Registration and server authentification
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import { describe, expect, test } from '@jest/globals'
|
||||
|
||||
describe('registration', () => {
|
||||
test('garbage body', () => {
|
||||
expect(3).toBe(3)
|
||||
})
|
||||
test('incorrect data format', () => {
|
||||
expect(3).toBe(3)
|
||||
})
|
||||
test('duplicate server', () => {
|
||||
expect(3).toBe(3)
|
||||
})
|
||||
test('invisible server', () => {
|
||||
expect(3).toBe(3)
|
||||
})
|
||||
test('wrong verification', () => {
|
||||
expect(3).toBe(3)
|
||||
})
|
||||
test('masterserver unreachable', () => {
|
||||
expect(3).toBe(3)
|
||||
})
|
||||
test('registration successful', () => {
|
||||
expect(3).toBe(3)
|
||||
})
|
||||
test('server deletion', () => {
|
||||
expect(3).toBe(3)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user