diff options
| author | ST-DDT <[email protected]> | 2025-03-06 18:25:45 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-06 18:25:45 +0100 |
| commit | 1982431fd0b236de7580fde132fd7491e1ed5d13 (patch) | |
| tree | a020cea764f3537ed022e1b9334babf531def95e /test/modules | |
| parent | 7b4f85a2c00bf2adff2b88957bd6322100e6e541 (diff) | |
| download | faker-1982431fd0b236de7580fde132fd7491e1ed5d13.tar.xz faker-1982431fd0b236de7580fde132fd7491e1ed5d13.zip | |
refactor(internet): deprecate color method for removal (#3401)
Diffstat (limited to 'test/modules')
| -rw-r--r-- | test/modules/internet.spec.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/modules/internet.spec.ts b/test/modules/internet.spec.ts index 9dc376f9..45c51705 100644 --- a/test/modules/internet.spec.ts +++ b/test/modules/internet.spec.ts @@ -847,6 +847,7 @@ describe('internet', () => { describe('color()', () => { it('should return a random hex value', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated const color = faker.internet.color(); expect(color).toBeTruthy(); @@ -855,6 +856,7 @@ describe('internet', () => { }); it('should return a random hex value with given values', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated const color = faker.internet.color({ redBase: 100, greenBase: 100, |
