aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/spread_with_key.hmr.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snapshots/spread_with_key.hmr.tsx')
-rw-r--r--integration/snapshots/spread_with_key.hmr.tsx7
1 files changed, 2 insertions, 5 deletions
diff --git a/integration/snapshots/spread_with_key.hmr.tsx b/integration/snapshots/spread_with_key.hmr.tsx
index 093d061da..0209cb3e2 100644
--- a/integration/snapshots/spread_with_key.hmr.tsx
+++ b/integration/snapshots/spread_with_key.hmr.tsx
@@ -10,7 +10,7 @@ __HMRModule as HMR
import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
-var jsx = require(JSX).jsxDEV, fileName = "spread_with_key.tsx", jsxEl = require(JSXClassic).createElement;
+var jsx = require(JSX).jsxDEV, jsxEl = require(JSXClassic).createElement;
var { default: React} = require($bbcd215f);
Bun.activate(false);
@@ -31,10 +31,7 @@ var hmr = new HMR(2717584935, "spread_with_key.tsx"), exports = hmr.exports;
function test() {
console.assert(React.isValidElement(jsx(SpreadWithTheKey, {
className: "foo"
- }, undefined, true, {
- fileName,
- lineNumber: 375
- }, this)));
+ }, undefined, true, {}, this)));
return testDone(import.meta.url);
}
hmr.exportAll({