mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
improve test descriptions
This commit is contained in:
parent
17d2238da0
commit
64cf53974c
@ -169,12 +169,7 @@ describe('federation', () => {
|
||||
|
||||
describe('socket events', () => {
|
||||
describe('on data', () => {
|
||||
it('can be triggered', () => {
|
||||
socketEventMocks.data(Buffer.from('some-data'))
|
||||
expect(true).toBe(true)
|
||||
})
|
||||
|
||||
describe('on data with receiving simply a string', () => {
|
||||
describe('with receiving simply a string', () => {
|
||||
beforeEach(() => {
|
||||
jest.clearAllMocks()
|
||||
socketEventMocks.data(Buffer.from('no-json'))
|
||||
@ -192,7 +187,7 @@ describe('federation', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('on data with proper data', () => {
|
||||
describe('with proper data', () => {
|
||||
let result: DbCommunity[] = []
|
||||
beforeAll(async () => {
|
||||
jest.clearAllMocks()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user