diff options
author | 2022-06-09 21:29:57 -0700 | |
---|---|---|
committer | 2022-06-09 21:29:57 -0700 | |
commit | 5ccf606107b045ad32e2eed8d1c757b30a6e4040 (patch) | |
tree | 3839b85ef4089e3327018c0fa6737458ba00a5e5 /integration/bunjs-only-snippets/transpiler.test.js | |
parent | b8eea5cc4a1f9b6dd1a6a08d531e8e096c60cb5b (diff) | |
download | bun-5ccf606107b045ad32e2eed8d1c757b30a6e4040.tar.gz bun-5ccf606107b045ad32e2eed8d1c757b30a6e4040.tar.zst bun-5ccf606107b045ad32e2eed8d1c757b30a6e4040.zip |
`new Response(stream).arrayBuffer()` + 3 more
- `new Response(stream).arrayBuffer()`
- `new Response(stream).json()`
- `new Response(stream).text()`
- `new Response(stream).blob()`
Diffstat (limited to 'integration/bunjs-only-snippets/transpiler.test.js')
-rw-r--r-- | integration/bunjs-only-snippets/transpiler.test.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/integration/bunjs-only-snippets/transpiler.test.js b/integration/bunjs-only-snippets/transpiler.test.js index 30fc2afde..f8da4c18c 100644 --- a/integration/bunjs-only-snippets/transpiler.test.js +++ b/integration/bunjs-only-snippets/transpiler.test.js @@ -358,12 +358,9 @@ export var ComponentThatChecksDefaultPropsAndHasChildren = { type: Hello, key: null, ref: null, - props: !Hello.defaultProps ? { + props: __merge({ children: "my child" - } : { - ...Hello.defaultProps, - children: "my child" - }, + }, Hello.defaultProps), _owner: null }; export var ComponentThatHasSpreadCausesDeopt = jsx(Hello, { |