import { __require as require } from "http://localhost:8080/bun:wrap"; import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($a77976b9); var jsx = require(JSX).jsxDEV; import * as $66da6d1a from "http://localhost:8080/node_modules/react-dom/server.browser.js"; var ReactDOM = require($66da6d1a); const ReturnDescriptionAsString = ({ description }) => description; export function test() { const _bun = ReactDOM.renderToString(jsx(ReturnDescriptionAsString, { description: `line1 line2 trailing space line4 no trailing space 'single quote' \\t\\f\\v\\uF000 \`template string\` line6 no trailing space line7 trailing newline that \${terminates} the string literal ` })); const el = document.createElement("textarea"); el.innerHTML = _bun; const bun = el.value; const esbuild = `line1 line2 trailing space line4 no trailing space 'single quote' \\t\\f\\v\\uF000 \`template string\` line6 no trailing space line7 trailing newline that \${terminates} the string literal `; const tsc = `line1 line2 trailing space line4 no trailing space 'single quote' \\t\\f\\v\\uF000 \`template string\` line6 no trailing space line7 trailing newline that \${terminates} the string literal `; console.assert(bun === esbuild && bun === tsc, `strings did not match: ${JSON.stringify({ received: bun, expected: esbuild }, null, 2)}`); testDone(import.meta.url); } //# sourceMappingURL=http://localhost:8080/jsx-spacing.jsx.map ion value='ciro/fix-test-command'>ciro/fix-test-command Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/http/async_socket.zig (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-02-04[bun dev] Fix bug with serving static files on next.js apps introduced in af6...Gravatar Jarred Sumner 1-5/+7
2022-02-04Update types.zigGravatar Jarred Sumner 1-9/+10
2022-02-04Update test_command.zigGravatar Jarred Sumner 1-2/+0
2022-02-04`path.normalize()` tests passGravatar Jarred Sumner 2-146/+213
2022-02-03Fix test failures in path.joinGravatar Jarred Sumner 1-8/+115
2022-02-03Update mimalloc_arena.zigGravatar Jarred Sumner 1-0/+9
2022-02-03[bun test] Support multiple filesGravatar Jarred Sumner 1-2/+12
2022-02-03Update js_ast.zigGravatar Jarred Sumner 1-0/+1
2022-02-03Support loading multiple entry points by changing what `bun:main` points toGravatar Jarred Sumner 6-4/+36
2022-02-03[bun install] Configurable max http retry countGravatar Jarred Sumner 1-0/+7
2022-02-03Missing newline in errors in bun installGravatar Jarred Sumner 1-4/+8
2022-02-03Fix bug with http clientGravatar Jarred Sumner 6-107/+101
2022-02-03Move detectFastRefresh to later so HTTP request handler starts fasterGravatar Jarred Sumner 1-2/+1
2022-02-03Fix bug with macro remaps in Bun.Transpiler apiGravatar Jarred Sumner 2-5/+8
2022-02-03Slight improvement to non-ascii file path handlingGravatar Jarred Sumner 4-18/+79
2022-02-02`path.relative` passes Node's tests (which also fixed bugs)Gravatar Jarred Sumner 8-283/+571