fix decorator tests

This commit is contained in:
Dylan Conway
2023-10-03 13:50:36 -07:00
parent b7982ac131
commit ffe6bb0b7f

View File

@@ -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) {