From 3005330034f5db5d943764d406256f6c06d72823 Mon Sep 17 00:00:00 2001 From: Ahn Date: Sat, 23 Oct 2021 15:05:05 +0200 Subject: [PATCH] refactor(serializers): migrate `html-comment` to new Jest serializer (#1114) --- src/serializers/html-comment.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serializers/html-comment.ts b/src/serializers/html-comment.ts index 15af587f7d..b5d7f74902 100644 --- a/src/serializers/html-comment.ts +++ b/src/serializers/html-comment.ts @@ -3,9 +3,9 @@ const HTML_ELEMENT_REGEXP = /Comment/; const test = (value: any): boolean => value?.nodeType === 8 && value.constructor !== undefined && HTML_ELEMENT_REGEXP.test(value.constructor.name); -const print = (): string => ''; +const serialize = (): string => ''; export = { - print, + serialize, test, };