mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
fix decorator tests
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user