Skip to content

Commit

Permalink
refactor(serializers): migrate html-comment to new Jest serializer (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl authored Oct 23, 2021
1 parent 59ef5ba commit 3005330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/serializers/html-comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

0 comments on commit 3005330

Please sign in to comment.