From b54909c51fffc4628634356338740c27a5cea995 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Sat, 7 Sep 2024 15:47:40 -0300 Subject: [PATCH] readd test --- test/faker.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) {