diff --git a/test/faker.spec.ts b/test/faker.spec.ts index 536ea8e6c9b..749e850110d 100644 --- a/test/faker.spec.ts +++ b/test/faker.spec.ts @@ -13,11 +13,14 @@ describe('faker', () => { ); }); - it('should not log anything on startup', () => { + it('should not log anything on startup', async () => { const spies: MockInstance[] = keys(console) .filter((key) => typeof console[key] === 'function') .map((methodName) => vi.spyOn(console, methodName)); + const file: unknown = await import('..'); + expect(file).toBeDefined(); + new Faker({ locale: { metadata: { title: '' } } }); for (const spy of spies) {