From 6b1159d7e897376ac02837356de9b72cf73cc75a Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sun, 23 Jun 2024 17:25:32 +0200 Subject: [PATCH] test: remove usage of vitest.todo (#2960) --- test/modules/helpers.spec.ts | 10 ---------- test/support/seeded-runs.ts | 13 ------------- 2 files changed, 23 deletions(-) diff --git a/test/modules/helpers.spec.ts b/test/modules/helpers.spec.ts index 3582799fff4..c41b004b838 100644 --- a/test/modules/helpers.spec.ts +++ b/test/modules/helpers.spec.ts @@ -1029,16 +1029,6 @@ describe('helpers', () => { ); }); - // TODO @ST-DDT 2023-01-17: Restore this test when the definitions proxy is restored: #893 - it.todo('should support deprecated definition aliases', () => { - expect(faker.definitions.location.city_name).toContain( - faker.helpers.fake('{{address.city_name}}') - ); - expect(faker.definitions.person.first_name).toContain( - faker.helpers.fake('{{name.first_name}}') - ); - }); - it('should not trim whitespace', () => { expect(faker.helpers.fake(' --- ')).toBe(' --- '); }); diff --git a/test/support/seeded-runs.ts b/test/support/seeded-runs.ts index 750197996cb..62b1d61613d 100644 --- a/test/support/seeded-runs.ts +++ b/test/support/seeded-runs.ts @@ -160,19 +160,6 @@ class TestGenerator< return this; } - /** - * Temporarily ignores this method. Useful for testing purposes. - * - * @param method The name of the method. - * - * @deprecated Implement a proper test. - */ - todo(method: MethodOf): this { - this.expectNotTested(method); - vi_it.todo(method); - return this; - } - /** * Generates a test for a method without arguments. *