We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a411bc commit 9c68ccaCopy full SHA for 9c68cca
src/constructs/__tests__/regex.test.tsx
@@ -5,9 +5,3 @@ test('`regex` no-op pattern', () => {
5
expect(regex(['a', 'b'])).toEqualRegex(/ab/);
6
expect([regex('a'), regex(['b', 'c'])]).toEqualRegex(/abc/);
7
});
8
-
9
-test('`regex` throws on empty children', () => {
10
- expect(() => regex([])).toThrowErrorMatchingInlineSnapshot(
11
- `"\`regex\` should receive at least one element"`,
12
- );
13
-});
0 commit comments