diff --git a/test/transpiler/decorators.test.ts b/test/transpiler/decorators.test.ts index d7a6255247..0feacda2b7 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) {