We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20b5fd3 commit 868b979Copy full SHA for 868b979
test/masking.test.ts
@@ -7,6 +7,18 @@ import { object } from '~/objects';
7
8
import { INPUTS } from './_fixtures';
9
10
+// XXX Also test with other containers, not just object()
11
+// - exact()
12
+// - inexact()
13
+// - either()
14
+// - array()
15
+// - record
16
+// - mapping
17
+// - setFromArray()
18
+
19
+// XXX For inexact(), is there a way to specify that all extra fields should
20
+// match a specific decoder? And if so, could we mask() that one?
21
22
describe("scalar values that are masked won't echo back their inputs when invalid", () => {
23
describe('with default mask', () => {
24
const decoder = masked(string);
0 commit comments