diff options
| author | ST-DDT <[email protected]> | 2024-05-14 18:20:34 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-14 16:20:34 +0000 |
| commit | 7fb9bb52941e9c7bb458f1dc7cabb3737d05dffe (patch) | |
| tree | ab99e6f2fae667f3af4fcd125a46dd989f769725 /test/modules/git.spec.ts | |
| parent | 044a75600d03cd7f7abfc3b0cbf98f909f1b1d08 (diff) | |
| download | faker-7fb9bb52941e9c7bb458f1dc7cabb3737d05dffe.tar.xz faker-7fb9bb52941e9c7bb458f1dc7cabb3737d05dffe.zip | |
infra(vitest): prefer-to-have-length (#2900)
Diffstat (limited to 'test/modules/git.spec.ts')
| -rw-r--r-- | test/modules/git.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/modules/git.spec.ts b/test/modules/git.spec.ts index 8957e995..e4692b20 100644 --- a/test/modules/git.spec.ts +++ b/test/modules/git.spec.ts @@ -134,7 +134,7 @@ describe('git', () => { expect(commitDate).toBeTypeOf('string'); const parts = commitDate.split(' '); - expect(parts.length).toBe(6); + expect(parts).toHaveLength(6); }); }); |
