feat: show sync conflict details

This commit is contained in:
2026-06-29 03:38:03 +08:00
parent a4d4e5ed0e
commit efaeed7bcb
2 changed files with 40 additions and 0 deletions
+9
View File
@@ -15,5 +15,14 @@ if (!source.includes('sanitizeError(settings.lastError)')) {
if (!source.includes('Last sync error')) {
throw new Error('SyncSettings must label the persisted sync error');
}
if (!source.includes('function formatSyncConflict')) {
throw new Error('SyncSettings must format individual sync conflicts');
}
if (!source.includes('conflictDetails')) {
throw new Error('SyncSettings must store sync conflict details after Sync Now');
}
if (!source.includes('Sync conflicts')) {
throw new Error('SyncSettings must label the conflict details section');
}
console.log('sync plugin smoke passed');