Skip to content

Commit

Permalink
Fix test cases to support new eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
tshemsedinov committed Aug 31, 2024
1 parent bde61b0 commit 8d1ab12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/schemas/.types.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
const [a, b] = arr;
const chars = new Set([...a, ...b]);
for (const char of chars) {
if (!this.symbols.includes(char))
if (!this.symbols.includes(char)) {
return `Field "${path}" not a decimal 3`;
}
}
return 'Valid';
},
},
});

0 comments on commit 8d1ab12

Please sign in to comment.