diff options
Diffstat (limited to 'spec/frontend_integration/test_helpers/snapshot_serializer.js')
-rw-r--r-- | spec/frontend_integration/test_helpers/snapshot_serializer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend_integration/test_helpers/snapshot_serializer.js b/spec/frontend_integration/test_helpers/snapshot_serializer.js index 8c4f95a9156..aacd144217f 100644 --- a/spec/frontend_integration/test_helpers/snapshot_serializer.js +++ b/spec/frontend_integration/test_helpers/snapshot_serializer.js @@ -4,7 +4,7 @@ export default { }, print(element, serialize) { element.$_hit = true; - element.querySelectorAll('[style]').forEach(el => { + element.querySelectorAll('[style]').forEach((el) => { el.$_hit = true; if (el.style.display === 'none') { el.textContent = '(jest: contents hidden)'; |