diff options
author | 2022-08-05 20:15:26 +1000 | |
---|---|---|
committer | 2022-08-05 03:15:26 -0700 | |
commit | 9fad889f26a2deb80e59579799335ba32be889c5 (patch) | |
tree | 999b5b960715fd31b2c4971cd814039233321cac /test/bun.js/util.test.js | |
parent | 95294d245c87bf135c715a46c9559805f39d90ef (diff) | |
download | bun-9fad889f26a2deb80e59579799335ba32be889c5.tar.gz bun-9fad889f26a2deb80e59579799335ba32be889c5.tar.zst bun-9fad889f26a2deb80e59579799335ba32be889c5.zip |
Fix for bearer tokens missing from request headers on bun install step (#991)
Diffstat (limited to 'test/bun.js/util.test.js')
-rw-r--r-- | test/bun.js/util.test.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/bun.js/util.test.js b/test/bun.js/util.test.js index 0483d1659..481eea2ed 100644 --- a/test/bun.js/util.test.js +++ b/test/bun.js/util.test.js @@ -1,3 +1,26 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// Tests adapted from https://github.com/nodejs/node/blob/main/test/parallel/test-util.js + import { expect, describe, it } from "bun:test"; import util from "util"; import assert from "assert"; |