mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(flags): align board flag rendering (#1142)
* fix(flags): align board flag rendering * ci: run react doctor on changed pr files
This commit is contained in:
@@ -19,6 +19,30 @@ describe('board-flags', () => {
|
||||
x: 0,
|
||||
y: 0,
|
||||
});
|
||||
expect(getBoardFlagDefinition('pol', 'MZ')).toMatchObject({
|
||||
code: 'MZ',
|
||||
label: 'Task Force Z',
|
||||
x: 64,
|
||||
y: 24,
|
||||
});
|
||||
expect(getBoardFlagDefinition('pol', 'NB')).toMatchObject({
|
||||
code: 'NB',
|
||||
label: 'National Bolshevik',
|
||||
x: 0,
|
||||
y: 36,
|
||||
});
|
||||
expect(getBoardFlagDefinition('pol', 'RE')).toMatchObject({
|
||||
code: 'RE',
|
||||
label: 'Republican',
|
||||
x: 0,
|
||||
y: 48,
|
||||
});
|
||||
expect(getBoardFlagDefinition('pol', 'TM')).toMatchObject({
|
||||
code: 'TM',
|
||||
label: 'Templar',
|
||||
x: 16,
|
||||
y: 48,
|
||||
});
|
||||
expect(getBoardFlagDefinition('pol', 'WP')).toMatchObject({ code: 'WP', x: 64, y: 48 });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user