Skip to content

Commit

Permalink
add debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 8, 2024
1 parent 8eaab04 commit 9f43e1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ describe('header', function () {
'🧡You can get a date with me if you seek a beautiful companion.💞',
);

console.log(process.version)
console.log(process.version.substring(1))
console.log((undefined ?? process.version.substring(1)).split('.'))
console.log(utils.node_min('20.11.0'))
console.log(utils.node_min('20.11.0', '18.20.0'))

if (utils.node_min('20.11.0')) {
// RegExp 'v' flag requires ES2024 (node 20.11+)
assert.ok(this.h.get_decoded('subject').match(/\p{RGI_Emoji}/gv));
Expand Down

0 comments on commit 9f43e1f

Please sign in to comment.