Skip to content

Commit

Permalink
Add missed bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
XmiliaH committed Oct 20, 2021
1 parent 3482787 commit c9cbff6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/contextify.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ Decontextify.value = (value, traps, deepTraps, flags, mock) => {
case 'number':
case 'boolean':
case 'symbol':
case 'bigint':
return value;

default: // new, unknown types can be dangerous
Expand Down Expand Up @@ -955,6 +956,7 @@ Contextify.value = (value, traps, deepTraps, flags, mock) => {
case 'number':
case 'boolean':
case 'symbol':
case 'bigint':
return value;

default: // new, unknown types can be dangerous
Expand Down

0 comments on commit c9cbff6

Please sign in to comment.