<template>
  <div class="q-pa-md">
    <div class="q-gutter-md">

      <div class="q-pa-md">
        <q-input v-model="numval" label="Num Valori"></q-input>
        <q-btn label="Esegui Test MongoDB" @click="runTest(1)" color="primary" />
        <q-spinner v-if="loading" size="50px" class="q-my-md" />
        <pre v-if="log" class="q-mt-md">{{ log }}</pre>
      </div>
      <div class="q-pa-md">
        <q-input v-model="numval" label="Num Valori"></q-input>
        <q-btn label="Esegui Test FindByToken" @click="runTest(2)" color="primary" />
        <q-spinner v-if="loading" size="50px" class="q-my-md" />
        <pre v-if="log2" class="q-mt-md">{{ log2 }}</pre>
      </div>
    </div>
  </div>
</template>

<script lang="ts" src="./test.ts">
</script>
