Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 committed Oct 17, 2024
1 parent 76cd887 commit 7eef947
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/params/test/e2e/ensure-config-is-synced.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ describe("Ensure config is synced", () => {
function assertCorrectPreset(localPreset: BeaconPreset, remotePreset: BeaconPreset): void {
const filteredLocalPreset: Partial<BeaconPreset> = Object.keys(localPreset)
.filter((key) => !ignoredLocalPresetFields.includes(key as keyof BeaconPreset))
.reduce((acc, key) => {
acc[key as keyof BeaconPreset] = localPreset[key as keyof BeaconPreset];
return acc;
}, {} as Partial<BeaconPreset>);
.reduce(
(acc, key) => {
acc[key as keyof BeaconPreset] = localPreset[key as keyof BeaconPreset];
return acc;
},
{} as Partial<BeaconPreset>
);

// Check each key for better debuggability
for (const key of Object.keys(remotePreset) as (keyof BeaconPreset)[]) {
Expand Down

0 comments on commit 7eef947

Please sign in to comment.