LCOV - code coverage report
Current view: top level - www/src/components - UserInfo.vue.js (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 2 50.0 %
Date: 2024-07-30 12:54:47 Functions: 0 1 0.0 %

          Line data    Source code
       1             : // @ts-check
       2             : 
       3             : import Vue from "vue";
       4             : import { mapGetters } from "vuex";
       5             : 
       6             : /**
       7             :  * @typedef {V.Instance<typeof component>} Instance
       8             :  */
       9           1 : const component = Vue.extend({
      10             :   name: "UserInfo",
      11             :   computed: {
      12             :     /** @return {Iface.User} */
      13           0 :     user() { return this.$store?.state?.user; },
      14             :     .../** @type { isOperator(): boolean, isExpert(): boolean } */mapGetters([ "isOperator", "isExpert" ])
      15             :   }
      16             : });
      17             : export default component;

Generated by: LCOV version 1.16