aboutsummaryrefslogtreecommitdiff
path: root/test/commerce.spec.ts
diff options
context:
space:
mode:
authorHarsohail Brar <[email protected]>2022-05-22 13:14:09 -0600
committerGitHub <[email protected]>2022-05-22 21:14:09 +0200
commitbee6054f8da67e26dcfdf572103eebabbd6443c0 (patch)
tree2390cf171db82a39acea58b793f630a5034feb35 /test/commerce.spec.ts
parentbd4d3dbc5ca54983ad28745825e4767c1f291e60 (diff)
downloadfaker-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.ts2
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);
});
});