From cc17448c74534eb9e8f9da768d2b1894fd41a7b1 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 24 May 2022 17:39:07 +0800 Subject: [PATCH] chore: migrate faker --- packages/ui/client/components/dashboard/DashboardEntry.cy.tsx | 2 +- packages/ui/client/components/views/ViewReport.cy.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/client/components/dashboard/DashboardEntry.cy.tsx b/packages/ui/client/components/dashboard/DashboardEntry.cy.tsx index 6a0478765901..56ab3476d0c9 100644 --- a/packages/ui/client/components/dashboard/DashboardEntry.cy.tsx +++ b/packages/ui/client/components/dashboard/DashboardEntry.cy.tsx @@ -1,4 +1,4 @@ -import faker from '@faker-js/faker' +import { faker } from '@faker-js/faker' import DashboardEntry from './DashboardEntry.vue' const body = () => (
{ faker.lorem.words(2) }
) diff --git a/packages/ui/client/components/views/ViewReport.cy.tsx b/packages/ui/client/components/views/ViewReport.cy.tsx index e64fe7f68135..2280cab4e4a4 100644 --- a/packages/ui/client/components/views/ViewReport.cy.tsx +++ b/packages/ui/client/components/views/ViewReport.cy.tsx @@ -1,4 +1,4 @@ -import faker from '@faker-js/faker' +import { faker } from '@faker-js/faker' import ViewReport from './ViewReport.vue' import type { File } from '#types'