Skip to content

Commit

Permalink
test: remove usage of vitest.todo (#2960)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Jun 23, 2024
1 parent 4514fce commit 6b1159d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
10 changes: 0 additions & 10 deletions test/modules/helpers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(' --- ');
});
Expand Down
13 changes: 0 additions & 13 deletions test/support/seeded-runs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<TModule>): this {
this.expectNotTested(method);
vi_it.todo(method);
return this;
}

/**
* Generates a test for a method without arguments.
*
Expand Down

0 comments on commit 6b1159d

Please sign in to comment.