restructure timetracker tests to use promise all (#7)

* restructure timetracker tests to use promise all

* remove unused variables & lint

---------

Co-authored-by: Gregor Vostrak <gregorvostrak@Gregors-MacBook-Pro.local>
This commit is contained in:
Gregor Vostrak
2024-03-13 19:44:25 +01:00
committed by GitHub
parent aaed43b697
commit 7cc686f230
12 changed files with 346 additions and 318 deletions

View File

@@ -9,7 +9,7 @@ defineProps<{
<template>
<div class="px-4 py-3 grid grid-cols-3">
<div class="col-span-2">
<p class="font-semibold text-white ">
<p class="font-semibold text-white">
{{ name }}
</p>
<div class="text-muted font-medium">

View File

@@ -39,8 +39,7 @@ const close = () => {
</div>
</div>
<div
class="flex flex-row justify-end px-6 py-4 bg-gray-100 text-end">
<div class="flex flex-row justify-end px-6 py-4 bg-gray-100 text-end">
<slot name="footer" />
</div>
</Modal>

View File

@@ -13,8 +13,7 @@ defineProps<{
<template>
<AppLayout title="API Tokens">
<template #header>
<h2
class="font-semibold text-xl text-white leading-tight">
<h2 class="font-semibold text-xl text-white leading-tight">
API Tokens
</h2>
</template>

View File

@@ -34,9 +34,7 @@ const submit = () => {
you to choose a new one.
</div>
<div
v-if="status"
class="mb-4 font-medium text-sm text-green-400">
<div v-if="status" class="mb-4 font-medium text-sm text-green-400">
{{ status }}
</div>

View File

@@ -38,9 +38,7 @@ const submit = () => {
<AuthenticationCardLogo />
</template>
<div
v-if="status"
class="mb-4 font-medium text-sm text-green-400">
<div v-if="status" class="mb-4 font-medium text-sm text-green-400">
{{ status }}
</div>

View File

@@ -10,7 +10,7 @@ import type { Organization, User } from '@/types/models';
import { onMounted } from 'vue';
import { useProjectsStore } from '@/utils/useProjects';
import ActivityGraphCard from '@/Components/Dashboard/ActivityGraphCard.vue';
import MainContainer from "@/Pages/MainContainer.vue";
import MainContainer from '@/Pages/MainContainer.vue';
const page = usePage<{
auth: {

View File

@@ -1,6 +1,4 @@
<script setup lang="ts">
</script>
<script setup lang="ts"></script>
<template>
<div class="sm:px-6 lg:px-8 xl:px-12 mx-auto">
@@ -8,6 +6,4 @@
</div>
</template>
<style scoped>
</style>
<style scoped></style>

View File

@@ -31,8 +31,7 @@ const page = usePage<{
<template>
<AppLayout title="Profile">
<template #header>
<h2
class="font-semibold text-xl text-white leading-tight">
<h2 class="font-semibold text-xl text-white leading-tight">
Profile
</h2>
</template>

View File

@@ -6,8 +6,7 @@ import CreateTeamForm from '@/Pages/Teams/Partials/CreateTeamForm.vue';
<template>
<AppLayout title="Create Team">
<template #header>
<h2
class="font-semibold text-xl text-white leading-tight">
<h2 class="font-semibold text-xl text-white leading-tight">
Create Team
</h2>
</template>

View File

@@ -17,8 +17,7 @@ defineProps<{
<template>
<AppLayout title="Team Settings">
<template #header>
<h2
class="font-semibold text-xl text-white leading-tight">
<h2 class="font-semibold text-xl text-white leading-tight">
Team Settings
</h2>
</template>