diff options
| author | Harsohail Brar <[email protected]> | 2022-05-22 13:14:09 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-22 21:14:09 +0200 |
| commit | bee6054f8da67e26dcfdf572103eebabbd6443c0 (patch) | |
| tree | 2390cf171db82a39acea58b793f630a5034feb35 /test/commerce.spec.ts | |
| parent | bd4d3dbc5ca54983ad28745825e4767c1f291e60 (diff) | |
| download | faker-bee6054f8da67e26dcfdf572103eebabbd6443c0.tar.xz faker-bee6054f8da67e26dcfdf572103eebabbd6443c0.zip | |
feat: color module (#801)
Co-authored-by: Shinigami <[email protected]>
Diffstat (limited to 'test/commerce.spec.ts')
| -rw-r--r-- | test/commerce.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/commerce.spec.ts b/test/commerce.spec.ts index 87385aa7..383b0a41 100644 --- a/test/commerce.spec.ts +++ b/test/commerce.spec.ts @@ -84,7 +84,7 @@ describe('commerce', () => { describe(`color()`, () => { it('should return random value from color array', () => { const actual = faker.commerce.color(); - expect(faker.definitions.commerce.color).toContain(actual); + expect(faker.definitions.color.human).toContain(actual); }); }); |
