Skip to content

Commit 9c68cca

Browse files
committed
chore: fix tests
1 parent 0a411bc commit 9c68cca

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/constructs/__tests__/regex.test.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,3 @@ test('`regex` no-op pattern', () => {
55
expect(regex(['a', 'b'])).toEqualRegex(/ab/);
66
expect([regex('a'), regex(['b', 'c'])]).toEqualRegex(/abc/);
77
});
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

Comments
 (0)