mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
test(ui): give the dialog service spec the now-required confirm labels
ConfirmDialogData.confirmLabel became required, and the spec still built confirmations without one. Jest only transpiles, so the suite stayed green, but the "Typecheck Jest spec programs" CI step rejected it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0095c37f46
commit
ddc49643fe
1 file changed
+4
@@ -33,6 +33,7 @@ describe('DialogService', () => {
|
||||
service.openConfirmDialog({
|
||||
title: 'Remove',
|
||||
message: 'Confirm removal?',
|
||||
confirmLabel: 'Remove playlist',
|
||||
onConfirm: jest.fn(),
|
||||
});
|
||||
|
||||
@@ -57,6 +58,7 @@ describe('DialogService', () => {
|
||||
service.openConfirmDialog({
|
||||
title: 'Refresh Xtream Playlist',
|
||||
message: 'Confirm refresh?',
|
||||
confirmLabel: 'Refresh playlist',
|
||||
width: '400px',
|
||||
onConfirm: jest.fn(),
|
||||
});
|
||||
@@ -78,6 +80,7 @@ describe('DialogService', () => {
|
||||
service.openConfirmDialog({
|
||||
title: 'Remove',
|
||||
message: 'Confirm removal?',
|
||||
confirmLabel: 'Remove playlist',
|
||||
onConfirm,
|
||||
});
|
||||
|
||||
@@ -89,6 +92,7 @@ describe('DialogService', () => {
|
||||
service.openConfirmDialog({
|
||||
title: 'Recovery',
|
||||
message: 'Path',
|
||||
confirmLabel: 'Copy path',
|
||||
keepOpenOnConfirm: true,
|
||||
onConfirm,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user