aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2025-03-06 18:25:45 +0100
committerGitHub <[email protected]>2025-03-06 18:25:45 +0100
commit1982431fd0b236de7580fde132fd7491e1ed5d13 (patch)
treea020cea764f3537ed022e1b9334babf531def95e /test
parent7b4f85a2c00bf2adff2b88957bd6322100e6e541 (diff)
downloadfaker-1982431fd0b236de7580fde132fd7491e1ed5d13.tar.xz
faker-1982431fd0b236de7580fde132fd7491e1ed5d13.zip
refactor(internet): deprecate color method for removal (#3401)
Diffstat (limited to 'test')
-rw-r--r--test/modules/internet.spec.ts2
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,