Skip to content

Commit 868b979

Browse files
committed
Stuff to think about
1 parent 20b5fd3 commit 868b979

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/masking.test.ts

+12
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ import { object } from '~/objects';
77

88
import { INPUTS } from './_fixtures';
99

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+
1022
describe("scalar values that are masked won't echo back their inputs when invalid", () => {
1123
describe('with default mask', () => {
1224
const decoder = masked(string);

0 commit comments

Comments
 (0)