diff options
Diffstat (limited to 'integration/snapshots/tsx-fallback-rewrite-works.js')
-rw-r--r-- | integration/snapshots/tsx-fallback-rewrite-works.js | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/integration/snapshots/tsx-fallback-rewrite-works.js b/integration/snapshots/tsx-fallback-rewrite-works.js index d3aa0919a..a4e489f28 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.js +++ b/integration/snapshots/tsx-fallback-rewrite-works.js @@ -1,25 +1,3 @@ -import { -__HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; -import { -__HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; -Bun.activate(true); - -var hmr = new HMR(2117426367, "tsx-fallback-rewrite-works.tsx"), exports = hmr.exports; -(hmr._load = function() { - function test() { - return testDone(import.meta.url); - } - hmr.exportAll({ - test: () => test - }); -})(); -var $$hmr_test = hmr.exports.test; -hmr._update = function(exports) { - $$hmr_test = exports.test; -}; - -export { - $$hmr_test as test -}; +export function test() { + return testDone(import.meta.url); +} |