aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShinigami <[email protected]>2024-09-14 21:44:33 +0200
committerGitHub <[email protected]>2024-09-14 21:44:33 +0200
commit53ef42cc192996a0e09bba9d5f5f8a70a7932275 (patch)
tree0f1e6f4bf5d9257ac0b7b09d2921b3a53b13d4cc /test
parent18ab2c7b3c8fa78c46d4abafc07c3219f41caa46 (diff)
downloadfaker-53ef42cc192996a0e09bba9d5f5f8a70a7932275.tar.xz
faker-53ef42cc192996a0e09bba9d5f5f8a70a7932275.zip
fix: emit cts types (#3093)
Diffstat (limited to 'test')
-rw-r--r--test/faker.spec.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/faker.spec.ts b/test/faker.spec.ts
index 749e8501..6d928d63 100644
--- a/test/faker.spec.ts
+++ b/test/faker.spec.ts
@@ -18,6 +18,8 @@ describe('faker', () => {
.filter((key) => typeof console[key] === 'function')
.map((methodName) => vi.spyOn(console, methodName));
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ // @ts-ignore: Types may or may not exist, depending on whether the project was built first.
const file: unknown = await import('..');
expect(file).toBeDefined();