aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/spread_with_key.debug.tsx
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-10 00:18:59 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-10 00:19:19 -0800
commitab49f95ef25a49f5d8a53bc8242ee490b15a5b74 (patch)
tree8d6dd6fd93a707fb15ec75e57145cf9c61380708 /test/snapshots/spread_with_key.debug.tsx
parent047754d5ddae0b760b807adafcb3678d8702d7df (diff)
downloadbun-ab49f95ef25a49f5d8a53bc8242ee490b15a5b74.tar.gz
bun-ab49f95ef25a49f5d8a53bc8242ee490b15a5b74.tar.zst
bun-ab49f95ef25a49f5d8a53bc8242ee490b15a5b74.zip
:camera:
Diffstat (limited to 'test/snapshots/spread_with_key.debug.tsx')
-rw-r--r--test/snapshots/spread_with_key.debug.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/snapshots/spread_with_key.debug.tsx b/test/snapshots/spread_with_key.debug.tsx
index 23ca37805..45bfcae20 100644
--- a/test/snapshots/spread_with_key.debug.tsx
+++ b/test/snapshots/spread_with_key.debug.tsx
@@ -8,10 +8,9 @@ var JSXClassic = require($a66742df);
var jsx = require(JSX).jsxDEV, jsxEl = require(JSXClassic).createElement;
var { default: React} = require($a66742df);
export function SpreadWithTheKey({ className }) {
- const rest = {};
return jsxEl("div", {
className,
- ...rest,
+ ...{},
onClick: () => console.log("click"),
key: "spread-with-the-key"
}, "Rendered component containing warning");
@@ -19,7 +18,7 @@ export function SpreadWithTheKey({ className }) {
export function test() {
console.assert(React.isValidElement(jsx(SpreadWithTheKey, {
className: "foo"
- }, undefined, false, undefined, this)));
+ })));
return testDone(import.meta.url);
}