All files / src/components/modal/snackbars ImagesSharedSnackbar.vue

100% Statements 6/6
100% Branches 4/4
100% Functions 3/3
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35    1x               6x 6x                   2x                 88x   88x    
<template>
  <v-snackbar
    v-model="modelValue"
    variant="flat"
  >
    <v-icon
      color="primary"
      icon="check_circle"
      size="large"
      start
    />
    <span class="shark-950 text-center text-sm-medium">
      {{ t('texts.imagesShared') }}
    </span>
    <template #actions>
      <v-btn
        data-testid="closeBtn"
        class="shark-400"
        icon="close"
        size="small"
        variant="text"
        @click="modelValue = false"
      />
    </template>
  </v-snackbar>
</template>
 
<script setup lang="ts">
import { useI18n } from 'vue-i18n';
 
const { t } = useI18n();
 
const modelValue = defineModel<boolean>({ default: false });
</script>