refactor: simplify l3

This commit is contained in:
Carlos Valente
2024-04-19 16:38:01 +02:00
committed by Carlos Valente
parent b14ac07568
commit dd81b92584
15 changed files with 81 additions and 120 deletions
@@ -14,7 +14,6 @@ describe('MessageService', () => {
it('should patch the message state', () => {
const message = {
timer: { text: 'new text', visible: true },
lower: { text: 'lower text' },
external: { visible: true },
};
@@ -22,10 +21,6 @@ describe('MessageService', () => {
expect(newState).toEqual({
timer: { text: 'new text', visible: true, blackout: false, blink: false },
lower: {
text: 'lower text',
visible: false,
},
external: {
text: '',
visible: true,
@@ -42,10 +37,6 @@ describe('MessageService', () => {
expect(newState).toEqual({
timer: { text: 'initial text', visible: true, blackout: false, blink: false },
lower: {
text: '',
visible: false,
},
external: {
text: '',
visible: false,