From 8b4dff5c6e16136eec93944ed1a98fef7fa4ae35 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 10 Feb 2021 16:55:07 +0000 Subject: [PATCH] style: lint ttfb fixture --- test/fixture/pages/index.vue | 12 ++++++------ test/fixture/pages/ttfb.vue | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/fixture/pages/index.vue b/test/fixture/pages/index.vue index 87fd8ed0..ed268168 100644 --- a/test/fixture/pages/index.vue +++ b/test/fixture/pages/index.vue @@ -42,9 +42,7 @@
  • meta
  • wrappers
  • -
    - TTFB: {{ ttfb }}ms -
    +
    TTFB: {{ ttfb }}ms
    @@ -54,7 +52,7 @@ import { ref, computed, useFetch, - onMounted + onMounted, } from '@nuxtjs/composition-api' import ChildComp from '../components/comp.vue' @@ -80,7 +78,9 @@ export default defineComponent({ const ttfb = ref(-1) onMounted(() => { - ttfb.value = globalThis.performance.getEntriesByType('navigation')[0].responseStart + ttfb.value = globalThis.performance.getEntriesByType( + 'navigation' + )[0].responseStart }) return { @@ -88,7 +88,7 @@ export default defineComponent({ email, computedProp, myFunction, - ttfb + ttfb, } }, }) diff --git a/test/fixture/pages/ttfb.vue b/test/fixture/pages/ttfb.vue index afc83082..027efdfc 100644 --- a/test/fixture/pages/ttfb.vue +++ b/test/fixture/pages/ttfb.vue @@ -1,7 +1,5 @@