I can't write unit test of these component! help


#1
fa-copy {{ labelDetail.label }} {{ name }} {{ value }} {{ isEditing ? 'fa-check-circle' : 'fa-pencil-alt' }}
<input
  v-if="allowCopy"
  ref="clipboardInput"
  v-model="value"
  class="copyToClipboardInput"
  type="text">

#2

The code provided is currently not properly formatted for this forum. In it’s current state, it’s hardly readable and makes it hard for people to help you.

Please read the following guide about how to properly format code, and then edit your topic accordingly.

Thanks!