Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
77it committed Dec 27, 2024
1 parent 65843f3 commit 9da4047
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ t('test sanitize() with object sanitization - custom default sanitization values
objToSanitize = { str: wrongValue, num: wrongValue, date: wrongValue, bigInt: wrongValue, bigInt_number: wrongValue };
assert.deepStrictEqual((s.sanitize({ value: objToSanitize, sanitization: sanitization, options })), (expObj_0));

// when sanitizing number, -0 is sanitized to 0
wrongValue = -0;
//@ts-ignore
objToSanitize = { str: wrongValue, num: wrongValue, date: wrongValue, bigInt: wrongValue, bigInt_number: wrongValue };
Expand Down

0 comments on commit 9da4047

Please sign in to comment.