aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-02 01:56:55 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-02 01:56:55 -0700
commit062c3948ba54d58974fb91f1b1902075dd7a9fab (patch)
treeace6278f67a050bb881044a18cbcde2e659f492d /test
parentbff3b902e8b55296d785e7224652de78d14914c2 (diff)
downloadbun-062c3948ba54d58974fb91f1b1902075dd7a9fab.tar.gz
bun-062c3948ba54d58974fb91f1b1902075dd7a9fab.tar.zst
bun-062c3948ba54d58974fb91f1b1902075dd7a9fab.zip
Fix test failures
Diffstat (limited to 'test')
-rw-r--r--test/bun.js/fetch.test.js2
-rw-r--r--test/bun.js/inspect.test.js2
-rw-r--r--test/bun.js/util/util-promisify.test.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/bun.js/fetch.test.js b/test/bun.js/fetch.test.js
index 9b8cbfabd..87d9e0576 100644
--- a/test/bun.js/fetch.test.js
+++ b/test/bun.js/fetch.test.js
@@ -8,7 +8,7 @@ describe("fetch", () => {
gc();
it(url, async () => {
gc();
- const response = await fetch(url);
+ const response = await fetch(url, {}, { verbose: true });
gc();
const text = await response.text();
gc();
diff --git a/test/bun.js/inspect.test.js b/test/bun.js/inspect.test.js
index 7428933c9..65ba67edf 100644
--- a/test/bun.js/inspect.test.js
+++ b/test/bun.js/inspect.test.js
@@ -10,7 +10,7 @@ it("Blob inspect", () => {
expect(Bun.inspect(Bun.file(123))).toBe(`FileRef (fd: 123) {
type: "application/octet-stream"
}`);
- expect(Bun.inspect(new Response(""))).toBe(`Response (0 KB) {
+ expect(Bun.inspect(new Response(new Blob()))).toBe(`Response (0 KB) {
ok: true,
url: "",
statusText: "",
diff --git a/test/bun.js/util/util-promisify.test.js b/test/bun.js/util/util-promisify.test.js
index 3f1a4811d..251de0cc6 100644
--- a/test/bun.js/util/util-promisify.test.js
+++ b/test/bun.js/util/util-promisify.test.js
@@ -291,7 +291,7 @@ describe("util.promisify", () => {
{
code: 'ERR_INVALID_ARG_TYPE',
name: 'TypeError',
- message: 'The "original" argument must be of type function.' + invalidArgTypeHelper(input)
+ message: 'The "original" argument must be of type Function'
});
});
})