chore: changed cypress config to esm

This commit is contained in:
Jannat Patel
2025-05-14 11:52:48 +05:30
parent 48edd888a6
commit da8028784d
2 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
const { defineConfig } = require("cypress");
import { defineConfig } from "cypress";
module.exports = defineConfig({
export default defineConfig({
projectId: "vandxn",
adminPassword: "admin",
testUser: "frappe@example.com",

View File

@@ -94,6 +94,12 @@
{{ dayjs(job.data.creation).fromNow() }}
</Badge>
<Badge size="lg">
<template #prefix>
<ClipboardType class="size-3 stroke-2 text-ink-gray-7" />
</template>
{{ job.data.type }}
</Badge>
<Badge v-if="applicationCount.data" size="lg">
<template #prefix>
<SquareUserRound class="size-3 stroke-2 text-ink-gray-7" />
</template>
@@ -102,12 +108,6 @@
applicationCount.data == 1 ? __('applicant') : __('applicants')
}}
</Badge>
<Badge size="lg">
<template #prefix>
<ClipboardType class="size-3 stroke-2 text-ink-gray-7" />
</template>
{{ job.data.type }}
</Badge>
</div>
</div>