diff options
-rw-r--r-- | test/transpiler/decorators.test.ts | 2 |
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) { |