Skip to content

Commit ad7e0da

Browse files
committed
refactor(serializers): migrate html-comment to new Jest serializer (#1114)
1 parent 64229a8 commit ad7e0da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/serializers/html-comment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ const HTML_ELEMENT_REGEXP = /Comment/;
33
const test = (value: any): boolean =>
44
value?.nodeType === 8 && value.constructor !== undefined && HTML_ELEMENT_REGEXP.test(value.constructor.name);
55

6-
const print = (): string => '';
6+
const serialize = (): string => '';
77

88
export = {
9-
print,
9+
serialize,
1010
test,
1111
};

0 commit comments

Comments
 (0)