29 lines
605 B
TypeScript
29 lines
605 B
TypeScript
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)
|
|
})
|
|
})
|