UNPKG

jest-preset-angular

Version:

Jest preset configuration for Angular projects

9 lines (8 loc) 262 B
"use strict"; const HTML_ELEMENT_REGEXP = /Comment/; const test = (value) => value?.nodeType === 8 && value.constructor !== undefined && HTML_ELEMENT_REGEXP.test(value.constructor.name); const serialize = () => ''; module.exports = { serialize, test, };