aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Dylan Conway <dylan.conway567@gmail.com> 2023-10-03 13:50:36 -0700
committerGravatar Dylan Conway <dylan.conway567@gmail.com> 2023-10-03 13:50:36 -0700
commitffe6bb0b7fd801ef6a3bb408708fbbf070904dd8 (patch)
treea65d0c538968f5e9906f849d52077205633844f4
parentb7982ac1318937560f38e0f8eb18f45eaa43480f (diff)
downloadbun-ffe6bb0b7fd801ef6a3bb408708fbbf070904dd8.tar.gz
bun-ffe6bb0b7fd801ef6a3bb408708fbbf070904dd8.tar.zst
bun-ffe6bb0b7fd801ef6a3bb408708fbbf070904dd8.zip
fix decorator tests
-rw-r--r--test/transpiler/decorators.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transpiler/decorators.test.ts b/test/transpiler/decorators.test.ts
index d7a625524..0feacda2b 100644
--- a/test/transpiler/decorators.test.ts
+++ b/test/transpiler/decorators.test.ts
@@ -714,7 +714,7 @@ test("decorators with different property key types", () => {
expect(propertyKey).toBeDefined();
// If Reflect.decorate is defined, propertyKey will be stringified
- expect(propertyKey).toBe(String(x));
+ expect(String(propertyKey)).toBe(String(x));
};
}
function foo(x, y, z) {