diff options
Diffstat (limited to '')
-rw-r--r-- | test/README.md (renamed from integration/README.md) | 6 | ||||
-rw-r--r-- | test/apps/bun-create-next.sh (renamed from integration/apps/bun-create-next.sh) | 0 | ||||
-rw-r--r-- | test/apps/bun-create-react.sh (renamed from integration/apps/bun-create-react.sh) | 0 | ||||
-rw-r--r-- | test/apps/bun-dev-index-html.sh (renamed from integration/apps/bun-dev-index-html.sh) | 0 | ||||
-rw-r--r-- | test/apps/bun-dev.sh (renamed from integration/apps/bun-dev.sh) | 0 | ||||
-rw-r--r-- | test/apps/bun-install-lockfile-status.sh (renamed from integration/apps/bun-install-lockfile-status.sh) | 0 | ||||
-rw-r--r-- | test/apps/bun-install-utf8.sh (renamed from integration/apps/bun-install-utf8.sh) | 0 | ||||
-rw-r--r-- | test/apps/bun-install.sh (renamed from integration/apps/bun-install.sh) | 0 | ||||
-rw-r--r-- | test/apps/bun-run-check-package.json (renamed from integration/apps/bun-run-check-package.json) | 0 | ||||
-rw-r--r-- | test/apps/bun-run-check.sh (renamed from integration/apps/bun-run-check.sh) | 0 | ||||
-rw-r--r-- | test/bun.js/atob.test.js (renamed from integration/bunjs-only-snippets/atob.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/baz.js (renamed from integration/bunjs-only-snippets/baz.js) | 0 | ||||
-rw-r--r-- | test/bun.js/buffer.test.js | 304 | ||||
-rw-r--r-- | test/bun.js/bun-jsc.test.js (renamed from integration/bunjs-only-snippets/bun-jsc.test.js) | 4 | ||||
-rwxr-xr-x | test/bun.js/bun.lockb (renamed from integration/bunjs-only-snippets/bun.lockb) | bin | 109914 -> 109914 bytes | |||
l--------- | test/bun.js/bundled/always-bundled-module/always-bundled-module (renamed from integration/bunjs-only-snippets/bundled/always-bundled-module/always-bundled-module) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/always-bundled-module/cjs.js (renamed from integration/bunjs-only-snippets/bundled/always-bundled-module/cjs.js) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/always-bundled-module/esm.js (renamed from integration/bunjs-only-snippets/bundled/always-bundled-module/esm.js) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/always-bundled-module/package.json (renamed from integration/bunjs-only-snippets/bundled/always-bundled-module/package.json) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/entrypoint.ts (renamed from integration/bunjs-only-snippets/bundled/entrypoint.ts) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/package.json (renamed from integration/bunjs-only-snippets/bundled/package.json) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/cjs.js (renamed from integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/cjs.js) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/esm.js (renamed from integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/esm.js) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/package.json (renamed from integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/package.json) | 0 | ||||
-rw-r--r-- | test/bun.js/bundled/tsconfig.json (renamed from integration/bunjs-only-snippets/bundled/tsconfig.json) | 0 | ||||
-rw-r--r-- | test/bun.js/concat.test.js (renamed from integration/bunjs-only-snippets/concat.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/console-log.js (renamed from integration/bunjs-only-snippets/console-log.js) | 0 | ||||
-rw-r--r-- | test/bun.js/crypto.test.js (renamed from integration/bunjs-only-snippets/crypto.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/dirname.test.js (renamed from integration/bunjs-only-snippets/dirname.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/escapeHTML.test.js (renamed from integration/bunjs-only-snippets/escapeHTML.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/esm/first.mjs (renamed from integration/bunjs-only-snippets/esm/first.mjs) | 0 | ||||
-rw-r--r-- | test/bun.js/esm/second-child.mjs (renamed from integration/bunjs-only-snippets/esm/second-child.mjs) | 0 | ||||
-rw-r--r-- | test/bun.js/esm/second.mjs (renamed from integration/bunjs-only-snippets/esm/second.mjs) | 0 | ||||
-rw-r--r-- | test/bun.js/esm/startEnd.mjs (renamed from integration/bunjs-only-snippets/esm/startEnd.mjs) | 0 | ||||
-rw-r--r-- | test/bun.js/esm/third.mjs (renamed from integration/bunjs-only-snippets/esm/third.mjs) | 0 | ||||
-rw-r--r-- | test/bun.js/exit.js (renamed from integration/bunjs-only-snippets/exit.js) | 0 | ||||
-rw-r--r-- | test/bun.js/fetch.js.txt (renamed from integration/bunjs-only-snippets/fetch.js.txt) | 0 | ||||
-rw-r--r-- | test/bun.js/fetch.test.js (renamed from integration/bunjs-only-snippets/fetch.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/ffi-test.c (renamed from integration/bunjs-only-snippets/ffi-test.c) | 0 | ||||
-rw-r--r-- | test/bun.js/ffi.test.fixture.callback.c (renamed from integration/bunjs-only-snippets/ffi.test.fixture.callback.c) | 2 | ||||
-rw-r--r-- | test/bun.js/ffi.test.fixture.receiver.c (renamed from integration/bunjs-only-snippets/ffi.test.fixture.receiver.c) | 2 | ||||
-rw-r--r-- | test/bun.js/ffi.test.js | 543 | ||||
-rw-r--r-- | test/bun.js/fs-stream.js (renamed from integration/bunjs-only-snippets/fs-stream.js) | 0 | ||||
-rw-r--r-- | test/bun.js/fs.test.js (renamed from integration/bunjs-only-snippets/fs.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/gc.js (renamed from integration/bunjs-only-snippets/gc.js) | 0 | ||||
-rw-r--r-- | test/bun.js/globals.test.js (renamed from integration/bunjs-only-snippets/globals.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/hash.test.js (renamed from integration/bunjs-only-snippets/hash.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/html-rewriter.test.js (renamed from integration/bunjs-only-snippets/html-rewriter.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/import-meta.test.js (renamed from integration/bunjs-only-snippets/import-meta.test.js) | 6 | ||||
-rw-r--r-- | test/bun.js/inline.macro.js (renamed from integration/bunjs-only-snippets/inline.macro.js) | 0 | ||||
-rw-r--r-- | test/bun.js/inspect.test.js (renamed from integration/bunjs-only-snippets/inspect.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/macro-check.js (renamed from integration/bunjs-only-snippets/macro-check.js) | 0 | ||||
-rw-r--r-- | test/bun.js/microtask.test.js (renamed from integration/bunjs-only-snippets/microtask.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/mmap.test.js (renamed from integration/bunjs-only-snippets/mmap.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/node-builtins.test.js (renamed from integration/bunjs-only-snippets/node-builtins.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/path.test.js (renamed from integration/bunjs-only-snippets/path.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/performance.test.js (renamed from integration/bunjs-only-snippets/performance.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/process-nexttick.js (renamed from integration/bunjs-only-snippets/process-nexttick.js) | 0 | ||||
-rw-r--r-- | test/bun.js/process-nexttick.test.js (renamed from integration/bunjs-only-snippets/process-nexttick.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/process.test.js (renamed from integration/bunjs-only-snippets/process.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/readFileSync.txt (renamed from integration/bunjs-only-snippets/readFileSync.txt) | 0 | ||||
-rw-r--r-- | test/bun.js/readdir.js (renamed from integration/bunjs-only-snippets/readdir.js) | 0 | ||||
-rw-r--r-- | test/bun.js/reportError.test.js (renamed from integration/bunjs-only-snippets/reportError.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/require-json.json (renamed from integration/bunjs-only-snippets/require-json.json) | 0 | ||||
-rw-r--r-- | test/bun.js/resolve-typescript-file.tsx (renamed from integration/bunjs-only-snippets/resolve-typescript-file.tsx) | 0 | ||||
-rw-r--r-- | test/bun.js/resolve.test.js (renamed from integration/bunjs-only-snippets/resolve.test.js) | 2 | ||||
-rw-r--r-- | test/bun.js/response.file.test.js (renamed from integration/bunjs-only-snippets/response.file.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/serve.test.ts (renamed from integration/bunjs-only-snippets/serve.test.ts) | 0 | ||||
-rw-r--r-- | test/bun.js/setInterval.test.js (renamed from integration/bunjs-only-snippets/setInterval.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/setTimeout.test.js (renamed from integration/bunjs-only-snippets/setTimeout.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/shadow.test.js (renamed from integration/bunjs-only-snippets/shadow.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/sleep.js (renamed from integration/bunjs-only-snippets/sleep.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/SVG/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/SVG/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/SVG/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/SVG/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/SVG/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/SVG/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/attributeExpressions/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/attributeExpressions/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/attributeExpressions/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/components/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/components/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/components/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/components/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/components/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/components/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/conditionalExpressions/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/conditionalExpressions/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/conditionalExpressions/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/customElements/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/customElements/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/customElements/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/customElements/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/customElements/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/customElements/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/eventExpressions/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/eventExpressions/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/eventExpressions/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/fragments/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/fragments/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/fragments/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/fragments/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/fragments/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/fragments/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/insertChildren/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/insertChildren/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/insertChildren/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/insertChildren/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/namespaceElements/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/namespaceElements/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/namespaceElements/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/namespaceElements/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/simpleElements/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/simpleElements/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/simpleElements/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/textInterpolation/code.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/textInterpolation/output.bun.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/output.bun.js) | 0 | ||||
-rw-r--r-- | test/bun.js/solid-dom-fixtures/textInterpolation/output.js (renamed from integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/output.js) | 0 | ||||
-rw-r--r-- | test/bun.js/some-fs.js (renamed from integration/bunjs-only-snippets/some-fs.js) | 0 | ||||
-rw-r--r-- | test/bun.js/sql-raw.test.js (renamed from integration/bunjs-only-snippets/sql-raw.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/sqlite.test.js (renamed from integration/bunjs-only-snippets/sqlite.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/streams.test.js (renamed from integration/bunjs-only-snippets/streams.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/text-encoder.test.js (renamed from integration/bunjs-only-snippets/text-encoder.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/toml-fixture.toml (renamed from integration/bunjs-only-snippets/toml-fixture.toml) | 0 | ||||
-rw-r--r-- | test/bun.js/toml.test.js (renamed from integration/bunjs-only-snippets/toml.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/transpiler.test.js (renamed from integration/bunjs-only-snippets/transpiler.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/tsconfig.json (renamed from integration/bunjs-only-snippets/tsconfig.json) | 0 | ||||
-rw-r--r-- | test/bun.js/unsafe.test.js (renamed from integration/bunjs-only-snippets/unsafe.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/url.test.ts (renamed from integration/bunjs-only-snippets/url.test.ts) | 0 | ||||
-rw-r--r-- | test/bun.js/wasm-return-1-test.zig (renamed from integration/bunjs-only-snippets/wasm-return-1-test.zig) | 0 | ||||
-rw-r--r-- | test/bun.js/wasm.js (renamed from integration/bunjs-only-snippets/wasm.js) | 0 | ||||
-rw-r--r-- | test/bun.js/wasm.test.js (renamed from integration/bunjs-only-snippets/wasm.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/web-globals.test.js (renamed from integration/bunjs-only-snippets/web-globals.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/websocket.test.js (renamed from integration/bunjs-only-snippets/websocket.test.js) | 0 | ||||
-rw-r--r-- | test/bun.js/writeFileSync.txt (renamed from integration/bunjs-only-snippets/writeFileSync.txt) | 0 | ||||
-rw-r--r-- | test/bun.js/zlib.test.js (renamed from integration/bunjs-only-snippets/zlib.test.js) | 0 | ||||
-rw-r--r-- | test/macro/assert.tsx (renamed from integration/macro/assert.tsx) | 0 | ||||
-rw-r--r-- | test/macro/fetchSync.tsx (renamed from integration/macro/fetchSync.tsx) | 0 | ||||
-rw-r--r-- | test/macro/hello-fetch-macro.tsx (renamed from integration/macro/hello-fetch-macro.tsx) | 0 | ||||
-rw-r--r-- | test/macro/loadMocks.tsx (renamed from integration/macro/loadMocks.tsx) | 0 | ||||
-rw-r--r-- | test/scripts/browser.js (renamed from integration/scripts/browser.js) | 0 | ||||
-rw-r--r-- | test/scripts/bun.js (renamed from integration/scripts/bun.js) | 0 | ||||
-rwxr-xr-x | test/scripts/bun.lockb (renamed from integration/scripts/bun.lockb) | bin | 15723 -> 15723 bytes | |||
-rw-r--r-- | test/scripts/package-lock.json (renamed from integration/scripts/package-lock.json) | 0 | ||||
-rw-r--r-- | test/scripts/package.json (renamed from integration/scripts/package.json) | 0 | ||||
-rw-r--r-- | test/scripts/snippets.json (renamed from integration/scripts/snippets.json) | 0 | ||||
-rw-r--r-- | test/snapshots/.prettierignore (renamed from integration/snapshots/.prettierignore) | 0 | ||||
-rw-r--r-- | test/snapshots/array-args-with-default-values.debug.js (renamed from integration/snapshots/array-args-with-default-values.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/array-args-with-default-values.hmr.debug.js (renamed from integration/snapshots/array-args-with-default-values.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/array-args-with-default-values.hmr.js (renamed from integration/snapshots/array-args-with-default-values.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/array-args-with-default-values.js (renamed from integration/snapshots/array-args-with-default-values.js) | 0 | ||||
-rw-r--r-- | test/snapshots/bundled-entry-point.debug.js (renamed from integration/snapshots/bundled-entry-point.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/bundled-entry-point.hmr.debug.js (renamed from integration/snapshots/bundled-entry-point.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/bundled-entry-point.hmr.js (renamed from integration/snapshots/bundled-entry-point.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/bundled-entry-point.js (renamed from integration/snapshots/bundled-entry-point.js) | 0 | ||||
-rw-r--r-- | test/snapshots/caught-require.debug.js (renamed from integration/snapshots/caught-require.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/caught-require.hmr.debug.js (renamed from integration/snapshots/caught-require.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/caught-require.hmr.js (renamed from integration/snapshots/caught-require.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/caught-require.js (renamed from integration/snapshots/caught-require.js) | 0 | ||||
-rw-r--r-- | test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.debug.js (renamed from integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js (renamed from integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js (renamed from integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js (renamed from integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js) | 0 | ||||
-rw-r--r-- | test/snapshots/code-simplification-neql-define.debug.js (renamed from integration/snapshots/code-simplification-neql-define.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/code-simplification-neql-define.hmr.debug.js (renamed from integration/snapshots/code-simplification-neql-define.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/code-simplification-neql-define.hmr.js (renamed from integration/snapshots/code-simplification-neql-define.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/code-simplification-neql-define.js (renamed from integration/snapshots/code-simplification-neql-define.js) | 0 | ||||
-rw-r--r-- | test/snapshots/custom-emotion-jsx/file.debug.jsx (renamed from integration/snapshots/custom-emotion-jsx/file.debug.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/custom-emotion-jsx/file.hmr.debug.jsx (renamed from integration/snapshots/custom-emotion-jsx/file.hmr.debug.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/custom-emotion-jsx/file.hmr.jsx (renamed from integration/snapshots/custom-emotion-jsx/file.hmr.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/custom-emotion-jsx/file.jsx (renamed from integration/snapshots/custom-emotion-jsx/file.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/export-default-module-hot.debug.js (renamed from integration/snapshots/export-default-module-hot.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/export-default-module-hot.hmr.debug.js (renamed from integration/snapshots/export-default-module-hot.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/export-default-module-hot.hmr.js (renamed from integration/snapshots/export-default-module-hot.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/export-default-module-hot.js (renamed from integration/snapshots/export-default-module-hot.js) | 0 | ||||
-rw-r--r-- | test/snapshots/export.debug.js (renamed from integration/snapshots/export.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/export.hmr.debug.js (renamed from integration/snapshots/export.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/export.hmr.js (renamed from integration/snapshots/export.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/export.js (renamed from integration/snapshots/export.js) | 0 | ||||
-rw-r--r-- | test/snapshots/forbid-in-is-correct.debug.js (renamed from integration/snapshots/forbid-in-is-correct.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/forbid-in-is-correct.hmr.debug.js (renamed from integration/snapshots/forbid-in-is-correct.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/forbid-in-is-correct.hmr.js (renamed from integration/snapshots/forbid-in-is-correct.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/forbid-in-is-correct.js (renamed from integration/snapshots/forbid-in-is-correct.js) | 0 | ||||
-rw-r--r-- | test/snapshots/global-is-remapped-to-globalThis.debug.js (renamed from integration/snapshots/global-is-remapped-to-globalThis.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/global-is-remapped-to-globalThis.hmr.debug.js (renamed from integration/snapshots/global-is-remapped-to-globalThis.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/global-is-remapped-to-globalThis.hmr.js (renamed from integration/snapshots/global-is-remapped-to-globalThis.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/global-is-remapped-to-globalThis.js (renamed from integration/snapshots/global-is-remapped-to-globalThis.js) | 0 | ||||
-rw-r--r-- | test/snapshots/jsx-entities.debug.jsx (renamed from integration/snapshots/jsx-entities.debug.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/jsx-entities.hmr.debug.jsx (renamed from integration/snapshots/jsx-entities.hmr.debug.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/jsx-entities.hmr.jsx (renamed from integration/snapshots/jsx-entities.hmr.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/jsx-entities.jsx (renamed from integration/snapshots/jsx-entities.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/jsx-spacing.debug.jsx (renamed from integration/snapshots/jsx-spacing.debug.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/jsx-spacing.hmr.debug.jsx (renamed from integration/snapshots/jsx-spacing.hmr.debug.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/jsx-spacing.hmr.jsx (renamed from integration/snapshots/jsx-spacing.hmr.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/jsx-spacing.jsx (renamed from integration/snapshots/jsx-spacing.jsx) | 0 | ||||
-rw-r--r-- | test/snapshots/latin1-chars-in-regexp.debug.js (renamed from integration/snapshots/latin1-chars-in-regexp.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/latin1-chars-in-regexp.hmr.debug.js (renamed from integration/snapshots/latin1-chars-in-regexp.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/latin1-chars-in-regexp.hmr.js (renamed from integration/snapshots/latin1-chars-in-regexp.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/latin1-chars-in-regexp.js (renamed from integration/snapshots/latin1-chars-in-regexp.js) | 0 | ||||
-rw-r--r-- | test/snapshots/lodash-regexp.debug.js (renamed from integration/snapshots/lodash-regexp.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/lodash-regexp.hmr.debug.js (renamed from integration/snapshots/lodash-regexp.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/lodash-regexp.hmr.js (renamed from integration/snapshots/lodash-regexp.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/lodash-regexp.js (renamed from integration/snapshots/lodash-regexp.js) | 0 | ||||
-rw-r--r-- | test/snapshots/multiple-imports.debug.js (renamed from integration/snapshots/multiple-imports.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/multiple-imports.hmr.debug.js (renamed from integration/snapshots/multiple-imports.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/multiple-imports.hmr.js (renamed from integration/snapshots/multiple-imports.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/multiple-imports.js (renamed from integration/snapshots/multiple-imports.js) | 0 | ||||
-rw-r--r-- | test/snapshots/multiple-var.debug.js (renamed from integration/snapshots/multiple-var.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/multiple-var.hmr.debug.js (renamed from integration/snapshots/multiple-var.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/multiple-var.hmr.js (renamed from integration/snapshots/multiple-var.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/multiple-var.js (renamed from integration/snapshots/multiple-var.js) | 0 | ||||
-rw-r--r-- | test/snapshots/number-literal-bug.debug.js (renamed from integration/snapshots/number-literal-bug.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/number-literal-bug.hmr.debug.js (renamed from integration/snapshots/number-literal-bug.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/number-literal-bug.hmr.js (renamed from integration/snapshots/number-literal-bug.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/number-literal-bug.js (renamed from integration/snapshots/number-literal-bug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/optional-chain-with-function.debug.js (renamed from integration/snapshots/optional-chain-with-function.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/optional-chain-with-function.hmr.debug.js (renamed from integration/snapshots/optional-chain-with-function.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/optional-chain-with-function.hmr.js (renamed from integration/snapshots/optional-chain-with-function.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/optional-chain-with-function.js (renamed from integration/snapshots/optional-chain-with-function.js) | 0 | ||||
-rw-r--r-- | test/snapshots/package-json-exports/index.debug.js (renamed from integration/snapshots/package-json-exports/index.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/package-json-exports/index.hmr.debug.js (renamed from integration/snapshots/package-json-exports/index.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/package-json-exports/index.hmr.js (renamed from integration/snapshots/package-json-exports/index.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/package-json-exports/index.js (renamed from integration/snapshots/package-json-exports/index.js) | 0 | ||||
-rw-r--r-- | test/snapshots/package-json-utf8.debug.js (renamed from integration/snapshots/package-json-utf8.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/package-json-utf8.hmr.debug.js (renamed from integration/snapshots/package-json-utf8.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/package-json-utf8.hmr.js (renamed from integration/snapshots/package-json-utf8.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/package-json-utf8.js (renamed from integration/snapshots/package-json-utf8.js) | 0 | ||||
-rw-r--r-- | test/snapshots/react-context-value-func.debug.tsx (renamed from integration/snapshots/react-context-value-func.debug.tsx) | 0 | ||||
-rw-r--r-- | test/snapshots/react-context-value-func.hmr.debug.tsx (renamed from integration/snapshots/react-context-value-func.hmr.debug.tsx) | 0 | ||||
-rw-r--r-- | test/snapshots/react-context-value-func.hmr.tsx (renamed from integration/snapshots/react-context-value-func.hmr.tsx) | 0 | ||||
-rw-r--r-- | test/snapshots/react-context-value-func.tsx (renamed from integration/snapshots/react-context-value-func.tsx) | 0 | ||||
-rw-r--r-- | test/snapshots/spread_with_key.debug.tsx (renamed from integration/snapshots/spread_with_key.debug.tsx) | 0 | ||||
-rw-r--r-- | test/snapshots/spread_with_key.hmr.debug.tsx (renamed from integration/snapshots/spread_with_key.hmr.debug.tsx) | 0 | ||||
-rw-r--r-- | test/snapshots/spread_with_key.hmr.tsx (renamed from integration/snapshots/spread_with_key.hmr.tsx) | 0 | ||||
-rw-r--r-- | test/snapshots/spread_with_key.tsx (renamed from integration/snapshots/spread_with_key.tsx) | 0 | ||||
-rw-r--r-- | test/snapshots/string-escapes.debug.js (renamed from integration/snapshots/string-escapes.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/string-escapes.hmr.debug.js (renamed from integration/snapshots/string-escapes.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/string-escapes.hmr.js (renamed from integration/snapshots/string-escapes.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/string-escapes.js (renamed from integration/snapshots/string-escapes.js) | 0 | ||||
-rw-r--r-- | test/snapshots/styled-components-output.hmr.js (renamed from integration/snapshots/styled-components-output.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/styledcomponents-output.debug.js (renamed from integration/snapshots/styledcomponents-output.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/styledcomponents-output.hmr.debug.js (renamed from integration/snapshots/styledcomponents-output.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/styledcomponents-output.hmr.js (renamed from integration/snapshots/styledcomponents-output.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/styledcomponents-output.js (renamed from integration/snapshots/styledcomponents-output.js) | 0 | ||||
-rw-r--r-- | test/snapshots/template-literal.debug.js (renamed from integration/snapshots/template-literal.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/template-literal.hmr.debug.js (renamed from integration/snapshots/template-literal.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/template-literal.hmr.js (renamed from integration/snapshots/template-literal.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/template-literal.js (renamed from integration/snapshots/template-literal.js) | 0 | ||||
-rw-r--r-- | test/snapshots/ts-fallback-rewrite-works.debug.js (renamed from integration/snapshots/ts-fallback-rewrite-works.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/ts-fallback-rewrite-works.hmr.debug.js (renamed from integration/snapshots/ts-fallback-rewrite-works.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/ts-fallback-rewrite-works.hmr.js (renamed from integration/snapshots/ts-fallback-rewrite-works.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/ts-fallback-rewrite-works.js (renamed from integration/snapshots/ts-fallback-rewrite-works.js) | 0 | ||||
-rw-r--r-- | test/snapshots/tsx-fallback-rewrite-works.debug.js (renamed from integration/snapshots/tsx-fallback-rewrite-works.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/tsx-fallback-rewrite-works.hmr.debug.js (renamed from integration/snapshots/tsx-fallback-rewrite-works.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/tsx-fallback-rewrite-works.hmr.js (renamed from integration/snapshots/tsx-fallback-rewrite-works.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/tsx-fallback-rewrite-works.js (renamed from integration/snapshots/tsx-fallback-rewrite-works.js) | 0 | ||||
-rw-r--r-- | test/snapshots/type-only-imports.debug.ts (renamed from integration/snapshots/type-only-imports.debug.ts) | 0 | ||||
-rw-r--r-- | test/snapshots/type-only-imports.hmr.debug.ts (renamed from integration/snapshots/type-only-imports.hmr.debug.ts) | 0 | ||||
-rw-r--r-- | test/snapshots/type-only-imports.hmr.ts (renamed from integration/snapshots/type-only-imports.hmr.ts) | 0 | ||||
-rw-r--r-- | test/snapshots/type-only-imports.ts (renamed from integration/snapshots/type-only-imports.ts) | 0 | ||||
-rw-r--r-- | test/snapshots/unicode-identifiers.debug.js (renamed from integration/snapshots/unicode-identifiers.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/unicode-identifiers.hmr.debug.js (renamed from integration/snapshots/unicode-identifiers.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/unicode-identifiers.hmr.js (renamed from integration/snapshots/unicode-identifiers.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/unicode-identifiers.js (renamed from integration/snapshots/unicode-identifiers.js) | 0 | ||||
-rw-r--r-- | test/snapshots/void-shouldnt-delete-call-expressions.debug.js (renamed from integration/snapshots/void-shouldnt-delete-call-expressions.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js (renamed from integration/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js) | 0 | ||||
-rw-r--r-- | test/snapshots/void-shouldnt-delete-call-expressions.hmr.js (renamed from integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js) | 0 | ||||
-rw-r--r-- | test/snapshots/void-shouldnt-delete-call-expressions.js (renamed from integration/snapshots/void-shouldnt-delete-call-expressions.js) | 0 | ||||
-rw-r--r-- | test/snippets/_auth.js (renamed from integration/snippets/_auth.js) | 0 | ||||
-rw-r--r-- | test/snippets/_bacon.js (renamed from integration/snippets/_bacon.js) | 0 | ||||
-rw-r--r-- | test/snippets/_login.js (renamed from integration/snippets/_login.js) | 0 | ||||
-rw-r--r-- | test/snippets/array-args-with-default-values.js (renamed from integration/snippets/array-args-with-default-values.js) | 0 | ||||
-rwxr-xr-x | test/snippets/bun.lockb (renamed from integration/snippets/bun.lockb) | bin | 20500 -> 20500 bytes | |||
-rw-r--r-- | test/snippets/bundled-entry-point.js (renamed from integration/snippets/bundled-entry-point.js) | 0 | ||||
-rw-r--r-- | test/snippets/caught-require.js (renamed from integration/snippets/caught-require.js) | 0 | ||||
-rw-r--r-- | test/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js (renamed from integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js) | 0 | ||||
-rw-r--r-- | test/snippets/code-simplification-neql-define.js (renamed from integration/snippets/code-simplification-neql-define.js) | 0 | ||||
-rw-r--r-- | test/snippets/custom-emotion-jsx/file.jsx (renamed from integration/snippets/custom-emotion-jsx/file.jsx) | 0 | ||||
-rw-r--r-- | test/snippets/custom-emotion-jsx/tsconfig.json (renamed from integration/snippets/custom-emotion-jsx/tsconfig.json) | 0 | ||||
-rw-r--r-- | test/snippets/export-default-module-hot.js (renamed from integration/snippets/export-default-module-hot.js) | 0 | ||||
-rw-r--r-- | test/snippets/export.js (renamed from integration/snippets/export.js) | 0 | ||||
-rw-r--r-- | test/snippets/forbid-in-is-correct.js (renamed from integration/snippets/forbid-in-is-correct.js) | 0 | ||||
-rw-r--r-- | test/snippets/global-is-remapped-to-globalThis.js (renamed from integration/snippets/global-is-remapped-to-globalThis.js) | 0 | ||||
-rw-r--r-- | test/snippets/jsx-entities.jsx (renamed from integration/snippets/jsx-entities.jsx) | 0 | ||||
-rw-r--r-- | test/snippets/jsx-spacing.js (renamed from integration/snippets/jsx-spacing.js) | 0 | ||||
-rw-r--r-- | test/snippets/jsx-spacing.jsx (renamed from integration/snippets/jsx-spacing.jsx) | 0 | ||||
-rw-r--r-- | test/snippets/jsx-top-level.tsx (renamed from integration/snippets/jsx-top-level.tsx) | 0 | ||||
-rw-r--r-- | test/snippets/latin1-chars-in-regexp.js (renamed from integration/snippets/latin1-chars-in-regexp.js) | 0 | ||||
-rw-r--r-- | test/snippets/lodash-regexp.js (renamed from integration/snippets/lodash-regexp.js) | 0 | ||||
-rw-r--r-- | test/snippets/multiple-imports.js (renamed from integration/snippets/multiple-imports.js) | 0 | ||||
-rw-r--r-- | test/snippets/multiple-var.js (renamed from integration/snippets/multiple-var.js) | 0 | ||||
-rw-r--r-- | test/snippets/number-literal-bug.js (renamed from integration/snippets/number-literal-bug.js) | 0 | ||||
-rw-r--r-- | test/snippets/optional-chain-with-function.js (renamed from integration/snippets/optional-chain-with-function.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/exact/im-exact.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/exact/package.json) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/exact/package.json (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/node/index.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/file.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/file.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/browser/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/browser/index.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/index.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/file.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/file.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/default/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/default/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/default/index.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/default/index.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/file.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/file.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/node/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/node/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/node/index.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/index.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/inexact/package.json (renamed from integration/snippets/package-json-exports/_node_modules_copy/inexact/package.json) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/file.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/file.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/index.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/index.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.ts (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.ts) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/file.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/file.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/index.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/index.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/file.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/file.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/foo.js (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/foo.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/index.js | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/_node_modules_copy/js-only-exports/package.json (renamed from integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/package.json) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/index.js (renamed from integration/snippets/package-json-exports/index.js) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-exports/package.json (renamed from integration/snippets/package-json-exports/package.json) | 0 | ||||
-rw-r--r-- | test/snippets/package-json-utf8.js (renamed from integration/snippets/package-json-utf8.js) | 0 | ||||
-rw-r--r-- | test/snippets/package.json (renamed from integration/snippets/package.json) | 0 | ||||
-rw-r--r-- | test/snippets/public/index.html (renamed from integration/snippets/public/index.html) | 0 | ||||
-rw-r--r-- | test/snippets/react-context-value-func.tsx (renamed from integration/snippets/react-context-value-func.tsx) | 0 | ||||
-rw-r--r-- | test/snippets/segfault.js (renamed from integration/snippets/segfault.js) | 0 | ||||
-rw-r--r-- | test/snippets/spread_with_key.tsx (renamed from integration/snippets/spread_with_key.tsx) | 0 | ||||
-rw-r--r-- | test/snippets/string-escapes.js (renamed from integration/snippets/string-escapes.js) | 0 | ||||
-rw-r--r-- | test/snippets/styledcomponents-output.js (renamed from integration/snippets/styledcomponents-output.js) | 0 | ||||
-rw-r--r-- | test/snippets/template-literal.js (renamed from integration/snippets/template-literal.js) | 0 | ||||
-rw-r--r-- | test/snippets/ts-fallback-rewrite-works.ts (renamed from integration/snippets/ts-fallback-rewrite-works.ts) | 0 | ||||
-rw-r--r-- | test/snippets/tsx-fallback-rewrite-works.tsx (renamed from integration/snippets/tsx-fallback-rewrite-works.tsx) | 0 | ||||
-rw-r--r-- | test/snippets/type-only-imports.ts (renamed from integration/snippets/type-only-imports.ts) | 0 | ||||
-rw-r--r-- | test/snippets/unicode-identifiers.js (renamed from integration/snippets/unicode-identifiers.js) | 0 | ||||
-rw-r--r-- | test/snippets/utf8-package-json.json (renamed from integration/snippets/utf8-package-json.json) | 0 | ||||
-rw-r--r-- | test/snippets/void-shouldnt-delete-call-expressions.js (renamed from integration/snippets/void-shouldnt-delete-call-expressions.js) | 0 | ||||
-rw-r--r-- | test/snippets/zero.js (renamed from integration/snippets/zero.js) | 0 |
326 files changed, 859 insertions, 10 deletions
diff --git a/integration/README.md b/test/README.md index 6f0f047b7..292d23cf2 100644 --- a/integration/README.md +++ b/test/README.md @@ -70,13 +70,13 @@ These were the first tests bun started with ### Runtime tests -These tests are in [./bunjs-only-snippets](./bunjs-only-snippets) and are files which are either `.test.js` or `.test.ts` files. +These tests are in [./bun.js](./bun.js) and are files which are either `.test.js` or `.test.ts` files. These test that the runtime behaves as expected. These also test the transpiler, both because test files are transpiled and directly by running the transpiler via `Bun.Transpiler`. #### Adding a new test -1. Create a new file in [./bunjs-only-snippets](./bunjs-only-snippets/) with `.test` in the name. +1. Create a new file in [./bun.js](./bun.js/) with `.test` in the name. These test use `bun:test` as the import (though you can also import from `vitest` or jest and it will work). @@ -98,7 +98,7 @@ describe("Example", () => { Run `bun wiptest ${part-of-file-name}` -If you run the test in the top-level bun repo directory, it will take an extra couple seconds because `bun wiptest` will scan through all of WebKit recursively. Consider running it in the `bunjs-only-snippets` directory instead. +If you run the test in the top-level bun repo directory, it will take an extra couple seconds because `bun wiptest` will scan through all of WebKit recursively. Consider running it in the `bun.js` directory instead. ### CLI tests diff --git a/integration/apps/bun-create-next.sh b/test/apps/bun-create-next.sh index 4f19e535d..4f19e535d 100644 --- a/integration/apps/bun-create-next.sh +++ b/test/apps/bun-create-next.sh diff --git a/integration/apps/bun-create-react.sh b/test/apps/bun-create-react.sh index 2b986134c..2b986134c 100644 --- a/integration/apps/bun-create-react.sh +++ b/test/apps/bun-create-react.sh diff --git a/integration/apps/bun-dev-index-html.sh b/test/apps/bun-dev-index-html.sh index eef41f78b..eef41f78b 100644 --- a/integration/apps/bun-dev-index-html.sh +++ b/test/apps/bun-dev-index-html.sh diff --git a/integration/apps/bun-dev.sh b/test/apps/bun-dev.sh index f2d76d028..f2d76d028 100644 --- a/integration/apps/bun-dev.sh +++ b/test/apps/bun-dev.sh diff --git a/integration/apps/bun-install-lockfile-status.sh b/test/apps/bun-install-lockfile-status.sh index b23b4fc3c..b23b4fc3c 100644 --- a/integration/apps/bun-install-lockfile-status.sh +++ b/test/apps/bun-install-lockfile-status.sh diff --git a/integration/apps/bun-install-utf8.sh b/test/apps/bun-install-utf8.sh index 66783cb50..66783cb50 100644 --- a/integration/apps/bun-install-utf8.sh +++ b/test/apps/bun-install-utf8.sh diff --git a/integration/apps/bun-install.sh b/test/apps/bun-install.sh index dd4083e33..dd4083e33 100644 --- a/integration/apps/bun-install.sh +++ b/test/apps/bun-install.sh diff --git a/integration/apps/bun-run-check-package.json b/test/apps/bun-run-check-package.json index b6eeda046..b6eeda046 100644 --- a/integration/apps/bun-run-check-package.json +++ b/test/apps/bun-run-check-package.json diff --git a/integration/apps/bun-run-check.sh b/test/apps/bun-run-check.sh index dca1db6ae..dca1db6ae 100644 --- a/integration/apps/bun-run-check.sh +++ b/test/apps/bun-run-check.sh diff --git a/integration/bunjs-only-snippets/atob.test.js b/test/bun.js/atob.test.js index 4945829e1..4945829e1 100644 --- a/integration/bunjs-only-snippets/atob.test.js +++ b/test/bun.js/atob.test.js diff --git a/integration/bunjs-only-snippets/baz.js b/test/bun.js/baz.js index 5837bb3bb..5837bb3bb 100644 --- a/integration/bunjs-only-snippets/baz.js +++ b/test/bun.js/baz.js diff --git a/test/bun.js/buffer.test.js b/test/bun.js/buffer.test.js new file mode 100644 index 000000000..6e9a3c6b4 --- /dev/null +++ b/test/bun.js/buffer.test.js @@ -0,0 +1,304 @@ +// import { describe, it, expect, beforeEach, afterEach } from "bun:test"; +// import { gc } from "./gc"; + +// beforeEach(() => gc()); +// afterEach(() => gc()); + +// it("buffer", () => { +// var buf = new Buffer(20); +// gc(); +// // if this fails or infinitely loops, it means there is a memory issue with the JSC::Structure object +// expect(Object.keys(buf).length > 0).toBe(true); +// gc(); +// expect(buf.write("hello world ")).toBe(12); +// expect(buf.write("hello world ", "utf8")).toBe(12); + +// gc(); +// expect(buf.toString("utf8", 0, "hello world ".length)).toBe("hello world "); +// gc(); +// expect(buf.toString("base64url", 0, "hello world ".length)).toBe( +// btoa("hello world ") +// ); +// gc(); +// expect(buf instanceof Uint8Array).toBe(true); +// gc(); +// expect(buf instanceof Buffer).toBe(true); +// gc(); +// expect(buf.slice() instanceof Uint8Array).toBe(true); +// gc(); +// expect(buf.slice(0, 1) instanceof Buffer).toBe(true); +// gc(); +// expect(buf.slice(0, 1) instanceof Uint8Array).toBe(true); +// gc(); +// expect(buf.slice(0, 1) instanceof Buffer).toBe(true); +// gc(); +// }); + +// it("Buffer", () => { +// var inputs = [ +// "hello world", +// "hello world".repeat(100), +// `😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌`, +// ]; +// var good = inputs.map((a) => new TextEncoder().encode(a)); +// for (let i = 0; i < inputs.length; i++) { +// var input = inputs[i]; +// expect(new Buffer(input).toString("utf8")).toBe(inputs[i]); +// gc(); +// expect(Array.from(new Buffer(input)).join(",")).toBe(good[i].join(",")); +// gc(); +// expect(Buffer.byteLength(input)).toBe(good[i].length); +// gc(); +// expect(Buffer.from(input).byteLength).toBe(Buffer.byteLength(input)); +// } +// }); + +// it("Buffer.byteLength", () => { +// expect(Buffer.byteLength("😀😃😄😁😆😅😂🤣☺️😊😊😇")).toBe( +// new TextEncoder().encode("😀😃😄😁😆😅😂🤣☺️😊😊😇").byteLength +// ); +// }); + +// it("Buffer.isBuffer", () => { +// expect(Buffer.isBuffer(new Buffer(1))).toBe(true); +// gc(); +// expect(Buffer.isBuffer(new Buffer(0))).toBe(true); +// gc(); +// expect(Buffer.isBuffer(new Uint8Array(0))).toBe(false); +// gc(); +// expect(Buffer.isBuffer(new Uint8Array(1))).toBe(false); +// gc(); +// var a = new Uint8Array(1); +// gc(); +// expect(Buffer.isBuffer(a)).toBe(false); +// gc(); +// Buffer.toBuffer(a); +// gc(); +// expect(Buffer.isBuffer(a)).toBe(true); +// gc(); +// }); + +// it("Buffer.toBuffer throws", () => { +// const checks = [ +// [], +// {}, +// "foo", +// new Uint16Array(), +// new DataView(new Uint8Array(14).buffer), +// ]; +// for (let i = 0; i < checks.length; i++) { +// try { +// Buffer.toBuffer(checks[i]); +// expect(false).toBe(true); +// } catch (exception) { +// expect(exception.message).toBe("Expected Uint8Array"); +// } +// } +// expect(true).toBe(true); +// }); + +// it("Buffer.toBuffer works", () => { +// var array = new Uint8Array(20); +// expect(array instanceof Buffer).toBe(false); +// var buf = Buffer.toBuffer(array); +// expect(array instanceof Buffer).toBe(true); +// // if this fails or infinitely loops, it means there is a memory issue with the JSC::Structure object +// expect(Object.keys(buf).length > 0).toBe(true); + +// expect(buf.write("hello world ")).toBe(12); +// gc(); +// expect(buf.toString("utf8", 0, "hello world ".length)).toBe("hello world "); +// gc(); +// expect(buf.toString("base64url", 0, "hello world ".length)).toBe( +// btoa("hello world ") +// ); +// gc(); + +// expect(buf instanceof Uint8Array).toBe(true); +// expect(buf instanceof Buffer).toBe(true); +// expect(buf.slice() instanceof Uint8Array).toBe(true); +// expect(buf.slice(0, 1) instanceof Buffer).toBe(true); +// expect(buf.slice(0, 1) instanceof Uint8Array).toBe(true); +// expect(buf.slice(0, 1) instanceof Buffer).toBe(true); +// expect(new Buffer(buf) instanceof Buffer).toBe(true); +// expect(new Buffer(buf.buffer) instanceof Buffer).toBe(true); +// }); + +// it("writeInt", () => { +// var buf = new Buffer(1024); +// var data = new DataView(buf.buffer); +// buf.writeInt32BE(100); +// expect(data.getInt32(0, false)).toBe(100); +// buf.writeInt32BE(100); +// expect(data.getInt32(0, false)).toBe(100); +// var childBuf = buf.subarray(0, 4); +// expect(data.getInt32(0, false)).toBe(100); +// expect(childBuf.readInt32BE(0, false)).toBe(100); +// }); + +// it("Buffer.from", () => { +// expect(Buffer.from("hello world").toString("utf8")).toBe("hello world"); +// expect(Buffer.from("hello world", "ascii").toString("utf8")).toBe( +// "hello world" +// ); +// expect(Buffer.from("hello world", "latin1").toString("utf8")).toBe( +// "hello world" +// ); +// gc(); +// expect(Buffer.from([254]).join(",")).toBe("254"); +// expect(Buffer.from(123).join(",")).toBe(Uint8Array.from(123).join(",")); +// expect(Buffer.from({ length: 124 }).join(",")).toBe( +// Uint8Array.from({ length: 124 }).join(",") +// ); + +// expect(Buffer.from(new ArrayBuffer(1024), 0, 512).join(",")).toBe( +// new Uint8Array(512).join(",") +// ); + +// expect(Buffer.from(new Buffer(new ArrayBuffer(1024), 0, 512)).join(",")).toBe( +// new Uint8Array(512).join(",") +// ); +// gc(); +// }); + +// it("Buffer.equals", () => { +// var a = new Uint8Array(10); +// a[2] = 1; +// var b = new Uint8Array(10); +// b[2] = 1; +// Buffer.toBuffer(a); +// Buffer.toBuffer(b); +// expect(a.equals(b)).toBe(true); +// b[2] = 0; +// expect(a.equals(b)).toBe(false); +// }); + +// it("Buffer.compare", () => { +// var a = new Uint8Array(10); +// a[2] = 1; +// var b = new Uint8Array(10); +// b[2] = 1; +// Buffer.toBuffer(a); +// Buffer.toBuffer(b); +// expect(a.compare(b)).toBe(0); +// b[2] = 0; +// expect(a.compare(b)).toBe(1); +// expect(b.compare(a)).toBe(-1); +// }); + +// it("Buffer.copy", () => { +// var array1 = new Uint8Array(128); +// array1.fill(100); +// Buffer.toBuffer(array1); +// var array2 = new Uint8Array(128); +// array2.fill(200); +// Buffer.toBuffer(array2); +// var array3 = new Uint8Array(128); +// Buffer.toBuffer(array3); +// gc(); +// expect(array1.copy(array2)).toBe(128); +// expect(array1.join("")).toBe(array2.join("")); +// }); + +// it("Buffer.concat", () => { +// var array1 = new Uint8Array(128); +// array1.fill(100); +// var array2 = new Uint8Array(128); +// array2.fill(200); +// var array3 = new Uint8Array(128); +// array3.fill(300); +// gc(); +// expect(Buffer.concat([array1, array2, array3]).join("")).toBe( +// array1.join("") + array2.join("") + array3.join("") +// ); +// expect(Buffer.concat([array1, array2, array3], 222).length).toBe(222); +// expect( +// Buffer.concat([array1, array2, array3], 222).subarray(0, 128).join("") +// ).toBe("100".repeat(128)); +// expect( +// Buffer.concat([array1, array2, array3], 222).subarray(129, 222).join("") +// ).toBe("200".repeat(222 - 129)); +// }); + +// it("read", () => { +// var buf = new Buffer(1024); +// var data = new DataView(buf.buffer); +// function reset() { +// new Uint8Array(buf.buffer).fill(0); +// } +// data.setBigInt64(0, BigInt(1000), false); +// expect(buf.readBigInt64BE(0)).toBe(BigInt(1000)); +// reset(); + +// data.setBigInt64(0, BigInt(1000), false); +// expect(buf.readBigInt64LE(0)).toBe(BigInt(1000)); +// reset(); + +// data.setBigUint64(0, BigInt(1000), false); +// expect(buf.readBigUInt64BE(0)).toBe(BigInt(1000)); +// reset(); + +// data.setBigUint64(0, BigInt(1000), false); +// expect(buf.readBigUInt64LE(0)).toBe(BigInt(1000)); +// reset(); + +// data.setFloat64(0, 1000, false); +// expect(buf.readDoubleBE(0)).toBe(1000); +// reset(); + +// data.setFloat64(0, 1000, true); +// expect(buf.readDoubleLE(0)).toBe(1000); +// reset(); + +// data.setFloat32(0, 1000, false); +// expect(buf.readFloatBE(0)).toBe(1000); +// reset(); + +// data.setFloat32(0, 1000, true); +// expect(buf.readFloatLE(0)).toBe(1000); +// reset(); + +// data.setInt16(0, 1000, false); +// expect(buf.readInt16BE(0)).toBe(1000); +// reset(); + +// data.setInt16(0, 1000, true); +// expect(buf.readInt16LE(0)).toBe(1000); +// reset(); + +// data.setInt32(0, 1000, false); +// expect(buf.readInt32BE(0)).toBe(1000); +// reset(); + +// data.setInt32(0, 1000, true); +// expect(buf.readInt32LE(0)).toBe(1000); +// reset(); + +// data.setInt8(0, 100, false); +// expect(buf.readInt8(0)).toBe(100); +// reset(); + +// data.setUint16(0, 1000, false); +// expect(buf.readUInt16BE(0)).toBe(1000); +// reset(); + +// data.setUint16(0, 1000, true); +// expect(buf.readUInt16LE(0)).toBe(1000); +// reset(); + +// data.setUint32(0, 1000, false); +// expect(buf.readUInt32BE(0)).toBe(1000); +// reset(); + +// data.setUint32(0, 1000, true); +// expect(buf.readUInt32LE(0)).toBe(1000); +// reset(); + +// data.setUint8(0, 255, false); +// expect(buf.readUInt8(0)).toBe(255); +// reset(); + +// data.setUint8(0, 255, false); +// expect(buf.readUInt8(0)).toBe(255); +// reset(); +// }); diff --git a/integration/bunjs-only-snippets/bun-jsc.test.js b/test/bun.js/bun-jsc.test.js index 975003b77..8ee0decf2 100644 --- a/integration/bunjs-only-snippets/bun-jsc.test.js +++ b/test/bun.js/bun-jsc.test.js @@ -20,6 +20,7 @@ import { totalCompileTime, reoptimizationRetryCount, drainMicrotasks, + startRemoteDebugger, } from "bun:jsc"; describe("bun:jsc", () => { @@ -91,4 +92,7 @@ describe("bun:jsc", () => { it("drainMicrotasks", () => { drainMicrotasks(); }); + it("startRemoteDebugger", () => { + startRemoteDebugger(""); + }); }); diff --git a/integration/bunjs-only-snippets/bun.lockb b/test/bun.js/bun.lockb Binary files differindex cff7a8ddc..cff7a8ddc 100755 --- a/integration/bunjs-only-snippets/bun.lockb +++ b/test/bun.js/bun.lockb diff --git a/integration/bunjs-only-snippets/bundled/always-bundled-module/always-bundled-module b/test/bun.js/bundled/always-bundled-module/always-bundled-module index f9a91ac4d..f9a91ac4d 120000 --- a/integration/bunjs-only-snippets/bundled/always-bundled-module/always-bundled-module +++ b/test/bun.js/bundled/always-bundled-module/always-bundled-module diff --git a/integration/bunjs-only-snippets/bundled/always-bundled-module/cjs.js b/test/bun.js/bundled/always-bundled-module/cjs.js index 087697589..087697589 100644 --- a/integration/bunjs-only-snippets/bundled/always-bundled-module/cjs.js +++ b/test/bun.js/bundled/always-bundled-module/cjs.js diff --git a/integration/bunjs-only-snippets/bundled/always-bundled-module/esm.js b/test/bun.js/bundled/always-bundled-module/esm.js index 28e702881..28e702881 100644 --- a/integration/bunjs-only-snippets/bundled/always-bundled-module/esm.js +++ b/test/bun.js/bundled/always-bundled-module/esm.js diff --git a/integration/bunjs-only-snippets/bundled/always-bundled-module/package.json b/test/bun.js/bundled/always-bundled-module/package.json index 5029c1695..5029c1695 100644 --- a/integration/bunjs-only-snippets/bundled/always-bundled-module/package.json +++ b/test/bun.js/bundled/always-bundled-module/package.json diff --git a/integration/bunjs-only-snippets/bundled/entrypoint.ts b/test/bun.js/bundled/entrypoint.ts index b9a17b538..b9a17b538 100644 --- a/integration/bunjs-only-snippets/bundled/entrypoint.ts +++ b/test/bun.js/bundled/entrypoint.ts diff --git a/integration/bunjs-only-snippets/bundled/package.json b/test/bun.js/bundled/package.json index cce72af9c..cce72af9c 100644 --- a/integration/bunjs-only-snippets/bundled/package.json +++ b/test/bun.js/bundled/package.json diff --git a/integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/cjs.js b/test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/cjs.js index 087697589..087697589 100644 --- a/integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/cjs.js +++ b/test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/cjs.js diff --git a/integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/esm.js b/test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/esm.js index 28e702881..28e702881 100644 --- a/integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/esm.js +++ b/test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/esm.js diff --git a/integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/package.json b/test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/package.json index 661a80b2d..661a80b2d 100644 --- a/integration/bunjs-only-snippets/bundled/to_bundle_node_modules/i-am-bundled/package.json +++ b/test/bun.js/bundled/to_bundle_node_modules/i-am-bundled/package.json diff --git a/integration/bunjs-only-snippets/bundled/tsconfig.json b/test/bun.js/bundled/tsconfig.json index 358cb5526..358cb5526 100644 --- a/integration/bunjs-only-snippets/bundled/tsconfig.json +++ b/test/bun.js/bundled/tsconfig.json diff --git a/integration/bunjs-only-snippets/concat.test.js b/test/bun.js/concat.test.js index a965fdb94..a965fdb94 100644 --- a/integration/bunjs-only-snippets/concat.test.js +++ b/test/bun.js/concat.test.js diff --git a/integration/bunjs-only-snippets/console-log.js b/test/bun.js/console-log.js index e8aa200ac..e8aa200ac 100644 --- a/integration/bunjs-only-snippets/console-log.js +++ b/test/bun.js/console-log.js diff --git a/integration/bunjs-only-snippets/crypto.test.js b/test/bun.js/crypto.test.js index c489e11c1..c489e11c1 100644 --- a/integration/bunjs-only-snippets/crypto.test.js +++ b/test/bun.js/crypto.test.js diff --git a/integration/bunjs-only-snippets/dirname.test.js b/test/bun.js/dirname.test.js index 98292dc49..98292dc49 100644 --- a/integration/bunjs-only-snippets/dirname.test.js +++ b/test/bun.js/dirname.test.js diff --git a/integration/bunjs-only-snippets/escapeHTML.test.js b/test/bun.js/escapeHTML.test.js index ecfcc5e7c..ecfcc5e7c 100644 --- a/integration/bunjs-only-snippets/escapeHTML.test.js +++ b/test/bun.js/escapeHTML.test.js diff --git a/integration/bunjs-only-snippets/esm/first.mjs b/test/bun.js/esm/first.mjs index 17021c623..17021c623 100644 --- a/integration/bunjs-only-snippets/esm/first.mjs +++ b/test/bun.js/esm/first.mjs diff --git a/integration/bunjs-only-snippets/esm/second-child.mjs b/test/bun.js/esm/second-child.mjs index 5fb06ed45..5fb06ed45 100644 --- a/integration/bunjs-only-snippets/esm/second-child.mjs +++ b/test/bun.js/esm/second-child.mjs diff --git a/integration/bunjs-only-snippets/esm/second.mjs b/test/bun.js/esm/second.mjs index 888eb11b9..888eb11b9 100644 --- a/integration/bunjs-only-snippets/esm/second.mjs +++ b/test/bun.js/esm/second.mjs diff --git a/integration/bunjs-only-snippets/esm/startEnd.mjs b/test/bun.js/esm/startEnd.mjs index 8b5549802..8b5549802 100644 --- a/integration/bunjs-only-snippets/esm/startEnd.mjs +++ b/test/bun.js/esm/startEnd.mjs diff --git a/integration/bunjs-only-snippets/esm/third.mjs b/test/bun.js/esm/third.mjs index f5ba5cc84..f5ba5cc84 100644 --- a/integration/bunjs-only-snippets/esm/third.mjs +++ b/test/bun.js/esm/third.mjs diff --git a/integration/bunjs-only-snippets/exit.js b/test/bun.js/exit.js index fb28b1fb4..fb28b1fb4 100644 --- a/integration/bunjs-only-snippets/exit.js +++ b/test/bun.js/exit.js diff --git a/integration/bunjs-only-snippets/fetch.js.txt b/test/bun.js/fetch.js.txt index 5a9b52fcf..5a9b52fcf 100644 --- a/integration/bunjs-only-snippets/fetch.js.txt +++ b/test/bun.js/fetch.js.txt diff --git a/integration/bunjs-only-snippets/fetch.test.js b/test/bun.js/fetch.test.js index 9b6093afd..9b6093afd 100644 --- a/integration/bunjs-only-snippets/fetch.test.js +++ b/test/bun.js/fetch.test.js diff --git a/integration/bunjs-only-snippets/ffi-test.c b/test/bun.js/ffi-test.c index cc87d0528..cc87d0528 100644 --- a/integration/bunjs-only-snippets/ffi-test.c +++ b/test/bun.js/ffi-test.c diff --git a/integration/bunjs-only-snippets/ffi.test.fixture.callback.c b/test/bun.js/ffi.test.fixture.callback.c index 3a557e7d5..d48ef6753 100644 --- a/integration/bunjs-only-snippets/ffi.test.fixture.callback.c +++ b/test/bun.js/ffi.test.fixture.callback.c @@ -1,7 +1,7 @@ #define IS_CALLBACK 1 // This file is part of Bun! // You can find the original source: -// https://github.com/Jarred-Sumner/bun/blob/main/src/javascript/jsc/api/FFI.h#L2 +// https://github.com/Jarred-Sumner/bun/blob/main/src/bun.js/api/FFI.h#L2 // // clang-format off // This file is only compatible with 64 bit CPUs diff --git a/integration/bunjs-only-snippets/ffi.test.fixture.receiver.c b/test/bun.js/ffi.test.fixture.receiver.c index 8a75e12f9..5bb51bda5 100644 --- a/integration/bunjs-only-snippets/ffi.test.fixture.receiver.c +++ b/test/bun.js/ffi.test.fixture.receiver.c @@ -2,7 +2,7 @@ #define USES_FLOAT 1 // This file is part of Bun! // You can find the original source: -// https://github.com/Jarred-Sumner/bun/blob/main/src/javascript/jsc/api/FFI.h#L2 +// https://github.com/Jarred-Sumner/bun/blob/main/src/bun.js/api/FFI.h#L2 // // clang-format off // This file is only compatible with 64 bit CPUs diff --git a/test/bun.js/ffi.test.js b/test/bun.js/ffi.test.js new file mode 100644 index 000000000..db2cfb6d4 --- /dev/null +++ b/test/bun.js/ffi.test.js @@ -0,0 +1,543 @@ +// import { describe, it, expect } from "bun:test"; +// import { unsafe } from "bun"; +// // +// import { +// native, +// viewSource, +// dlopen, +// CString, +// ptr, +// toBuffer, +// toArrayBuffer, +// FFIType, +// callback, +// CFunction, +// } from "bun:ffi"; + +// it("ffi print", async () => { +// await Bun.write( +// import.meta.dir + "/ffi.test.fixture.callback.c", +// viewSource( +// { +// returns: "bool", +// args: ["ptr"], +// }, +// true +// ) +// ); +// await Bun.write( +// import.meta.dir + "/ffi.test.fixture.receiver.c", +// viewSource( +// { +// not_a_callback: { +// returns: "float", +// args: ["float"], +// }, +// }, +// false +// )[0] +// ); +// expect( +// viewSource( +// { +// returns: "int8_t", +// args: [], +// }, +// true +// ).length > 0 +// ).toBe(true); +// expect( +// viewSource( +// { +// a: { +// returns: "int8_t", +// args: [], +// }, +// }, +// false +// ).length > 0 +// ).toBe(true); +// }); + +// function getTypes(fast) { +// const int64_t = fast ? "i64_fast" : "int64_t"; +// const uint64_t = fast ? "u64_fast" : "uint64_t"; +// return { +// returns_true: { +// returns: "bool", +// args: [], +// }, +// returns_false: { +// returns: "bool", +// args: [], +// }, +// returns_42_char: { +// returns: "char", +// args: [], +// }, +// returns_42_float: { +// returns: "float", +// args: [], +// }, +// returns_42_double: { +// returns: "double", +// args: [], +// }, +// returns_42_uint8_t: { +// returns: "uint8_t", +// args: [], +// }, +// returns_neg_42_int8_t: { +// returns: "int8_t", +// args: [], +// }, +// returns_42_uint16_t: { +// returns: "uint16_t", +// args: [], +// }, +// returns_42_uint32_t: { +// returns: "uint32_t", +// args: [], +// }, +// returns_42_uint64_t: { +// returns: uint64_t, +// args: [], +// }, +// returns_neg_42_int16_t: { +// returns: "int16_t", +// args: [], +// }, +// returns_neg_42_int32_t: { +// returns: "int32_t", +// args: [], +// }, +// returns_neg_42_int64_t: { +// returns: int64_t, +// args: [], +// }, + +// identity_char: { +// returns: "char", +// args: ["char"], +// }, +// identity_float: { +// returns: "float", +// args: ["float"], +// }, +// identity_bool: { +// returns: "bool", +// args: ["bool"], +// }, +// identity_double: { +// returns: "double", +// args: ["double"], +// }, +// identity_int8_t: { +// returns: "int8_t", +// args: ["int8_t"], +// }, +// identity_int16_t: { +// returns: "int16_t", +// args: ["int16_t"], +// }, +// identity_int32_t: { +// returns: "int32_t", +// args: ["int32_t"], +// }, +// identity_int64_t: { +// returns: int64_t, +// args: [int64_t], +// }, +// identity_uint8_t: { +// returns: "uint8_t", +// args: ["uint8_t"], +// }, +// identity_uint16_t: { +// returns: "uint16_t", +// args: ["uint16_t"], +// }, +// identity_uint32_t: { +// returns: "uint32_t", +// args: ["uint32_t"], +// }, +// identity_uint64_t: { +// returns: uint64_t, +// args: [uint64_t], +// }, + +// add_char: { +// returns: "char", +// args: ["char", "char"], +// }, +// add_float: { +// returns: "float", +// args: ["float", "float"], +// }, +// add_double: { +// returns: "double", +// args: ["double", "double"], +// }, +// add_int8_t: { +// returns: "int8_t", +// args: ["int8_t", "int8_t"], +// }, +// add_int16_t: { +// returns: "int16_t", +// args: ["int16_t", "int16_t"], +// }, +// add_int32_t: { +// returns: "int32_t", +// args: ["int32_t", "int32_t"], +// }, +// add_int64_t: { +// returns: int64_t, +// args: [int64_t, int64_t], +// }, +// add_uint8_t: { +// returns: "uint8_t", +// args: ["uint8_t", "uint8_t"], +// }, +// add_uint16_t: { +// returns: "uint16_t", +// args: ["uint16_t", "uint16_t"], +// }, +// add_uint32_t: { +// returns: "uint32_t", +// args: ["uint32_t", "uint32_t"], +// }, + +// does_pointer_equal_42_as_int32_t: { +// returns: "bool", +// args: ["ptr"], +// }, + +// ptr_should_point_to_42_as_int32_t: { +// returns: "ptr", +// args: [], +// }, +// identity_ptr: { +// returns: "ptr", +// args: ["ptr"], +// }, +// add_uint64_t: { +// returns: uint64_t, +// args: [uint64_t, uint64_t], +// }, + +// cb_identity_true: { +// returns: "bool", +// args: ["ptr"], +// }, +// cb_identity_false: { +// returns: "bool", +// args: ["ptr"], +// }, +// cb_identity_42_char: { +// returns: "char", +// args: ["ptr"], +// }, +// cb_identity_42_float: { +// returns: "float", +// args: ["ptr"], +// }, +// cb_identity_42_double: { +// returns: "double", +// args: ["ptr"], +// }, +// cb_identity_42_uint8_t: { +// returns: "uint8_t", +// args: ["ptr"], +// }, +// cb_identity_neg_42_int8_t: { +// returns: "int8_t", +// args: ["ptr"], +// }, +// cb_identity_42_uint16_t: { +// returns: "uint16_t", +// args: ["ptr"], +// }, +// cb_identity_42_uint32_t: { +// returns: "uint32_t", +// args: ["ptr"], +// }, +// cb_identity_42_uint64_t: { +// returns: uint64_t, +// args: ["ptr"], +// }, +// cb_identity_neg_42_int16_t: { +// returns: "int16_t", +// args: ["ptr"], +// }, +// cb_identity_neg_42_int32_t: { +// returns: "int32_t", +// args: ["ptr"], +// }, +// cb_identity_neg_42_int64_t: { +// returns: int64_t, +// args: ["ptr"], +// }, + +// return_a_function_ptr_to_function_that_returns_true: { +// returns: "ptr", +// args: [], +// }, +// }; +// } + +// function ffiRunner(types) { +// const { +// symbols: { +// returns_true, +// returns_false, +// return_a_function_ptr_to_function_that_returns_true, +// returns_42_char, +// returns_42_float, +// returns_42_double, +// returns_42_uint8_t, +// returns_neg_42_int8_t, +// returns_42_uint16_t, +// returns_42_uint32_t, +// returns_42_uint64_t, +// returns_neg_42_int16_t, +// returns_neg_42_int32_t, +// returns_neg_42_int64_t, +// identity_char, +// identity_float, +// identity_bool, +// identity_double, +// identity_int8_t, +// identity_int16_t, +// identity_int32_t, +// identity_int64_t, +// identity_uint8_t, +// identity_uint16_t, +// identity_uint32_t, +// identity_uint64_t, +// add_char, +// add_float, +// add_double, +// add_int8_t, +// add_int16_t, +// add_int32_t, +// add_int64_t, +// add_uint8_t, +// add_uint16_t, +// identity_ptr, +// add_uint32_t, +// add_uint64_t, +// does_pointer_equal_42_as_int32_t, +// ptr_should_point_to_42_as_int32_t, +// cb_identity_true, +// cb_identity_false, +// cb_identity_42_char, +// cb_identity_42_float, +// cb_identity_42_double, +// cb_identity_42_uint8_t, +// cb_identity_neg_42_int8_t, +// cb_identity_42_uint16_t, +// cb_identity_42_uint32_t, +// cb_identity_42_uint64_t, +// cb_identity_neg_42_int16_t, +// cb_identity_neg_42_int32_t, +// cb_identity_neg_42_int64_t, +// }, +// close, +// } = dlopen("/tmp/bun-ffi-test.dylib", types); + +// expect(returns_true()).toBe(true); + +// expect(returns_false()).toBe(false); + +// expect(returns_42_char()).toBe(42); +// console.log( +// returns_42_uint64_t().valueOf(), +// returns_42_uint64_t(), +// returns_42_uint64_t().valueOf() === returns_42_uint64_t() +// ); +// expect(returns_42_uint64_t().valueOf()).toBe(42); + +// expect(Math.fround(returns_42_float())).toBe(Math.fround(42.41999804973602)); +// expect(returns_42_double()).toBe(42.42); +// expect(returns_42_uint8_t()).toBe(42); +// expect(returns_neg_42_int8_t()).toBe(-42); +// expect(returns_42_uint16_t()).toBe(42); +// expect(returns_42_uint32_t()).toBe(42); +// expect(returns_42_uint64_t()).toBe(42); +// expect(returns_neg_42_int16_t()).toBe(-42); +// expect(returns_neg_42_int32_t()).toBe(-42); +// expect(identity_int32_t(10)).toBe(10); +// expect(returns_neg_42_int64_t()).toBe(-42); + +// expect(identity_char(10)).toBe(10); + +// expect(identity_float(10.199999809265137)).toBe(10.199999809265137); + +// expect(identity_bool(true)).toBe(true); + +// expect(identity_bool(false)).toBe(false); +// expect(identity_double(10.100000000000364)).toBe(10.100000000000364); + +// expect(identity_int8_t(10)).toBe(10); +// expect(identity_int16_t(10)).toBe(10); +// expect(identity_int64_t(10)).toBe(10); +// expect(identity_uint8_t(10)).toBe(10); +// expect(identity_uint16_t(10)).toBe(10); +// expect(identity_uint32_t(10)).toBe(10); +// expect(identity_uint64_t(10)).toBe(10); + +// var bigArray = new BigUint64Array(8); +// new Uint8Array(bigArray.buffer).fill(255); +// var bigIntArray = new BigInt64Array(bigArray.buffer); +// expect(identity_uint64_t(bigArray[0])).toBe(bigArray[0]); +// expect(identity_uint64_t(bigArray[0] - BigInt(1))).toBe( +// bigArray[0] - BigInt(1) +// ); + +// expect(add_uint64_t(BigInt(-1) * bigArray[0], bigArray[0])).toBe(0); +// expect(add_uint64_t(BigInt(-1) * bigArray[0] + BigInt(10), bigArray[0])).toBe( +// 10 +// ); +// expect(identity_uint64_t(0)).toBe(0); +// expect(identity_uint64_t(100)).toBe(100); +// expect(identity_uint64_t(BigInt(100))).toBe(100); +// expect(identity_int64_t(bigIntArray[0])).toBe(bigIntArray[0]); +// expect(identity_int64_t(bigIntArray[0] - BigInt(1))).toBe( +// bigIntArray[0] - BigInt(1) +// ); + +// expect(add_char(1, 1)).toBe(2); +// expect(add_float(2.4, 2.8)).toBe(Math.fround(5.2)); +// expect(add_double(4.2, 0.1)).toBe(4.3); +// expect(add_int8_t(1, 1)).toBe(2); +// expect(add_int16_t(1, 1)).toBe(2); +// expect(add_int32_t(1, 1)).toBe(2); +// expect(add_int64_t(1, 1)).toBe(2); +// expect(add_uint8_t(1, 1)).toBe(2); +// expect(add_uint16_t(1, 1)).toBe(2); +// expect(add_uint32_t(1, 1)).toBe(2); + +// const cptr = ptr_should_point_to_42_as_int32_t(); +// expect(cptr != 0).toBe(true); +// expect(typeof cptr === "number").toBe(true); +// expect(does_pointer_equal_42_as_int32_t(cptr)).toBe(true); +// const buffer = toBuffer(cptr, 0, 4); +// expect(buffer.readInt32(0)).toBe(42); +// expect(new DataView(toArrayBuffer(cptr, 0, 4), 0, 4).getInt32(0, true)).toBe( +// 42 +// ); +// expect(ptr(buffer)).toBe(cptr); +// expect(new CString(cptr, 0, 1).toString()).toBe("*"); +// expect(identity_ptr(cptr)).toBe(cptr); +// const second_ptr = ptr(new Buffer(8)); +// expect(identity_ptr(second_ptr)).toBe(second_ptr); + +// var myCFunction = new CFunction({ +// ptr: return_a_function_ptr_to_function_that_returns_true(), +// returns: "bool", +// }); +// expect(myCFunction()).toBe(true); + +// // function identityBool() { +// // return true; +// // } +// // globalThis.identityBool = identityBool; + +// // const first = native.callback( +// // { +// // returns: "bool", +// // }, +// // identityBool +// // ); +// // expect( +// // cb_identity_true() +// // ).toBe(true); + +// // expect(cb_identity_true(first)).toBe(true); + +// // expect( +// // cb_identity_false( +// // callback( +// // { +// // returns: "bool", +// // }, +// // () => false +// // ) +// // ) +// // ).toBe(false); + +// // expect( +// // cb_identity_42_char( +// // callback( +// // { +// // returns: "char", +// // }, +// // () => 42 +// // ) +// // ) +// // ).toBe(42); +// // expect( +// // cb_identity_42_uint8_t( +// // callback( +// // { +// // returns: "uint8_t", +// // }, +// // () => 42 +// // ) +// // ) +// // ).toBe(42); + +// // cb_identity_neg_42_int8_t( +// // callback( +// // { +// // returns: "int8_t", +// // }, +// // () => -42 +// // ) +// // ).toBe(-42); + +// // cb_identity_42_uint16_t( +// // callback( +// // { +// // returns: "uint16_t", +// // }, +// // () => 42 +// // ) +// // ).toBe(42); + +// // cb_identity_42_uint32_t( +// // callback( +// // { +// // returns: "uint32_t", +// // }, +// // () => 42 +// // ) +// // ).toBe(42); + +// // cb_identity_neg_42_int16_t( +// // callback( +// // { +// // returns: "int16_t", +// // }, +// // () => -42 +// // ) +// // ).toBe(-42); + +// // cb_identity_neg_42_int32_t( +// // callback( +// // { +// // returns: "int32_t", +// // }, +// // () => -42 +// // ) +// // ).toBe(-42); + +// close(); +// } + +// it("run ffi fast", () => { +// ffiRunner(getTypes(true)); +// }); + +// it("run ffi", () => { +// ffiRunner(getTypes(false)); +// }); diff --git a/integration/bunjs-only-snippets/fs-stream.js b/test/bun.js/fs-stream.js index 4b71c95b7..4b71c95b7 100644 --- a/integration/bunjs-only-snippets/fs-stream.js +++ b/test/bun.js/fs-stream.js diff --git a/integration/bunjs-only-snippets/fs.test.js b/test/bun.js/fs.test.js index 79ac60eaa..79ac60eaa 100644 --- a/integration/bunjs-only-snippets/fs.test.js +++ b/test/bun.js/fs.test.js diff --git a/integration/bunjs-only-snippets/gc.js b/test/bun.js/gc.js index 9212e8b76..9212e8b76 100644 --- a/integration/bunjs-only-snippets/gc.js +++ b/test/bun.js/gc.js diff --git a/integration/bunjs-only-snippets/globals.test.js b/test/bun.js/globals.test.js index b498e0e8e..b498e0e8e 100644 --- a/integration/bunjs-only-snippets/globals.test.js +++ b/test/bun.js/globals.test.js diff --git a/integration/bunjs-only-snippets/hash.test.js b/test/bun.js/hash.test.js index 71ad5a229..71ad5a229 100644 --- a/integration/bunjs-only-snippets/hash.test.js +++ b/test/bun.js/hash.test.js diff --git a/integration/bunjs-only-snippets/html-rewriter.test.js b/test/bun.js/html-rewriter.test.js index 29b765c2f..29b765c2f 100644 --- a/integration/bunjs-only-snippets/html-rewriter.test.js +++ b/test/bun.js/html-rewriter.test.js diff --git a/integration/bunjs-only-snippets/import-meta.test.js b/test/bun.js/import-meta.test.js index 0520be3a5..0e2faa903 100644 --- a/integration/bunjs-only-snippets/import-meta.test.js +++ b/test/bun.js/import-meta.test.js @@ -25,11 +25,9 @@ it("import.meta.require", () => { }); it("import.meta.dir", () => { - expect(dir.endsWith("/bun/integration/bunjs-only-snippets")).toBe(true); + expect(dir.endsWith("/bun/test/bun.js")).toBe(true); }); it("import.meta.path", () => { - expect( - path.endsWith("/bun/integration/bunjs-only-snippets/import-meta.test.js") - ).toBe(true); + expect(path.endsWith("/bun/test/bun.js/import-meta.test.js")).toBe(true); }); diff --git a/integration/bunjs-only-snippets/inline.macro.js b/test/bun.js/inline.macro.js index ff0292d0a..ff0292d0a 100644 --- a/integration/bunjs-only-snippets/inline.macro.js +++ b/test/bun.js/inline.macro.js diff --git a/integration/bunjs-only-snippets/inspect.test.js b/test/bun.js/inspect.test.js index bf5021c33..bf5021c33 100644 --- a/integration/bunjs-only-snippets/inspect.test.js +++ b/test/bun.js/inspect.test.js diff --git a/integration/bunjs-only-snippets/macro-check.js b/test/bun.js/macro-check.js index 0f494a4e7..0f494a4e7 100644 --- a/integration/bunjs-only-snippets/macro-check.js +++ b/test/bun.js/macro-check.js diff --git a/integration/bunjs-only-snippets/microtask.test.js b/test/bun.js/microtask.test.js index 18956b1e5..18956b1e5 100644 --- a/integration/bunjs-only-snippets/microtask.test.js +++ b/test/bun.js/microtask.test.js diff --git a/integration/bunjs-only-snippets/mmap.test.js b/test/bun.js/mmap.test.js index 2b15a4000..2b15a4000 100644 --- a/integration/bunjs-only-snippets/mmap.test.js +++ b/test/bun.js/mmap.test.js diff --git a/integration/bunjs-only-snippets/node-builtins.test.js b/test/bun.js/node-builtins.test.js index df31c64fc..df31c64fc 100644 --- a/integration/bunjs-only-snippets/node-builtins.test.js +++ b/test/bun.js/node-builtins.test.js diff --git a/integration/bunjs-only-snippets/path.test.js b/test/bun.js/path.test.js index 997368150..997368150 100644 --- a/integration/bunjs-only-snippets/path.test.js +++ b/test/bun.js/path.test.js diff --git a/integration/bunjs-only-snippets/performance.test.js b/test/bun.js/performance.test.js index 5e8520638..5e8520638 100644 --- a/integration/bunjs-only-snippets/performance.test.js +++ b/test/bun.js/performance.test.js diff --git a/integration/bunjs-only-snippets/process-nexttick.js b/test/bun.js/process-nexttick.js index 337977c0a..337977c0a 100644 --- a/integration/bunjs-only-snippets/process-nexttick.js +++ b/test/bun.js/process-nexttick.js diff --git a/integration/bunjs-only-snippets/process-nexttick.test.js b/test/bun.js/process-nexttick.test.js index ac53399c0..ac53399c0 100644 --- a/integration/bunjs-only-snippets/process-nexttick.test.js +++ b/test/bun.js/process-nexttick.test.js diff --git a/integration/bunjs-only-snippets/process.test.js b/test/bun.js/process.test.js index f82834a04..f82834a04 100644 --- a/integration/bunjs-only-snippets/process.test.js +++ b/test/bun.js/process.test.js diff --git a/integration/bunjs-only-snippets/readFileSync.txt b/test/bun.js/readFileSync.txt index ddc94b988..ddc94b988 100644 --- a/integration/bunjs-only-snippets/readFileSync.txt +++ b/test/bun.js/readFileSync.txt diff --git a/integration/bunjs-only-snippets/readdir.js b/test/bun.js/readdir.js index 18c111d0a..18c111d0a 100644 --- a/integration/bunjs-only-snippets/readdir.js +++ b/test/bun.js/readdir.js diff --git a/integration/bunjs-only-snippets/reportError.test.js b/test/bun.js/reportError.test.js index e51f93309..e51f93309 100644 --- a/integration/bunjs-only-snippets/reportError.test.js +++ b/test/bun.js/reportError.test.js diff --git a/integration/bunjs-only-snippets/require-json.json b/test/bun.js/require-json.json index 6414edc0e..6414edc0e 100644 --- a/integration/bunjs-only-snippets/require-json.json +++ b/test/bun.js/require-json.json diff --git a/integration/bunjs-only-snippets/resolve-typescript-file.tsx b/test/bun.js/resolve-typescript-file.tsx index ff8b4c563..ff8b4c563 100644 --- a/integration/bunjs-only-snippets/resolve-typescript-file.tsx +++ b/test/bun.js/resolve-typescript-file.tsx diff --git a/integration/bunjs-only-snippets/resolve.test.js b/test/bun.js/resolve.test.js index f86d31980..56162de4f 100644 --- a/integration/bunjs-only-snippets/resolve.test.js +++ b/test/bun.js/resolve.test.js @@ -12,7 +12,7 @@ it("import.meta.resolve", async () => { expect( // optional second param can be any path, including a dir await import.meta.resolve( - "./bunjs-only-snippets/resolve.test.js", + "./bun.js/resolve.test.js", join(import.meta.path, "../") ) ).toBe(import.meta.path); diff --git a/integration/bunjs-only-snippets/response.file.test.js b/test/bun.js/response.file.test.js index 2d0b6506e..2d0b6506e 100644 --- a/integration/bunjs-only-snippets/response.file.test.js +++ b/test/bun.js/response.file.test.js diff --git a/integration/bunjs-only-snippets/serve.test.ts b/test/bun.js/serve.test.ts index 8b785dd25..8b785dd25 100644 --- a/integration/bunjs-only-snippets/serve.test.ts +++ b/test/bun.js/serve.test.ts diff --git a/integration/bunjs-only-snippets/setInterval.test.js b/test/bun.js/setInterval.test.js index f633998cd..f633998cd 100644 --- a/integration/bunjs-only-snippets/setInterval.test.js +++ b/test/bun.js/setInterval.test.js diff --git a/integration/bunjs-only-snippets/setTimeout.test.js b/test/bun.js/setTimeout.test.js index 55f71712c..55f71712c 100644 --- a/integration/bunjs-only-snippets/setTimeout.test.js +++ b/test/bun.js/setTimeout.test.js diff --git a/integration/bunjs-only-snippets/shadow.test.js b/test/bun.js/shadow.test.js index 3fffcac90..3fffcac90 100644 --- a/integration/bunjs-only-snippets/shadow.test.js +++ b/test/bun.js/shadow.test.js diff --git a/integration/bunjs-only-snippets/sleep.js b/test/bun.js/sleep.js index 080597424..080597424 100644 --- a/integration/bunjs-only-snippets/sleep.js +++ b/test/bun.js/sleep.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/SVG/code.js b/test/bun.js/solid-dom-fixtures/SVG/code.js index 0ffded054..0ffded054 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/SVG/code.js +++ b/test/bun.js/solid-dom-fixtures/SVG/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/SVG/output.bun.js b/test/bun.js/solid-dom-fixtures/SVG/output.bun.js index 44d092f15..44d092f15 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/SVG/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/SVG/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/SVG/output.js b/test/bun.js/solid-dom-fixtures/SVG/output.js index edac460af..edac460af 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/SVG/output.js +++ b/test/bun.js/solid-dom-fixtures/SVG/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/code.js b/test/bun.js/solid-dom-fixtures/attributeExpressions/code.js index b64949434..b64949434 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/code.js +++ b/test/bun.js/solid-dom-fixtures/attributeExpressions/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/output.bun.js b/test/bun.js/solid-dom-fixtures/attributeExpressions/output.bun.js index 4bb3e1b39..4bb3e1b39 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/attributeExpressions/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/output.js b/test/bun.js/solid-dom-fixtures/attributeExpressions/output.js index 14f700218..14f700218 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/attributeExpressions/output.js +++ b/test/bun.js/solid-dom-fixtures/attributeExpressions/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/components/code.js b/test/bun.js/solid-dom-fixtures/components/code.js index f3bd159d6..f3bd159d6 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/components/code.js +++ b/test/bun.js/solid-dom-fixtures/components/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/components/output.bun.js b/test/bun.js/solid-dom-fixtures/components/output.bun.js index 5ab4d5614..5ab4d5614 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/components/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/components/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/components/output.js b/test/bun.js/solid-dom-fixtures/components/output.js index 0c49d60a3..0c49d60a3 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/components/output.js +++ b/test/bun.js/solid-dom-fixtures/components/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/code.js b/test/bun.js/solid-dom-fixtures/conditionalExpressions/code.js index 80f1a6a4f..80f1a6a4f 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/code.js +++ b/test/bun.js/solid-dom-fixtures/conditionalExpressions/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/output.bun.js b/test/bun.js/solid-dom-fixtures/conditionalExpressions/output.bun.js index 36c3f649b..36c3f649b 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/conditionalExpressions/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/output.js b/test/bun.js/solid-dom-fixtures/conditionalExpressions/output.js index 1511f4222..1511f4222 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/conditionalExpressions/output.js +++ b/test/bun.js/solid-dom-fixtures/conditionalExpressions/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/customElements/code.js b/test/bun.js/solid-dom-fixtures/customElements/code.js index f2e2bd02d..f2e2bd02d 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/customElements/code.js +++ b/test/bun.js/solid-dom-fixtures/customElements/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/customElements/output.bun.js b/test/bun.js/solid-dom-fixtures/customElements/output.bun.js index 79c46280c..79c46280c 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/customElements/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/customElements/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/customElements/output.js b/test/bun.js/solid-dom-fixtures/customElements/output.js index 79274ce2c..79274ce2c 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/customElements/output.js +++ b/test/bun.js/solid-dom-fixtures/customElements/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js b/test/bun.js/solid-dom-fixtures/eventExpressions/code.js index 78bc5e199..78bc5e199 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/code.js +++ b/test/bun.js/solid-dom-fixtures/eventExpressions/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/output.bun.js b/test/bun.js/solid-dom-fixtures/eventExpressions/output.bun.js index 5d90654f9..5d90654f9 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/eventExpressions/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/output.js b/test/bun.js/solid-dom-fixtures/eventExpressions/output.js index c24a1f89f..c24a1f89f 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/eventExpressions/output.js +++ b/test/bun.js/solid-dom-fixtures/eventExpressions/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/fragments/code.js b/test/bun.js/solid-dom-fixtures/fragments/code.js index 0b6021e44..0b6021e44 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/fragments/code.js +++ b/test/bun.js/solid-dom-fixtures/fragments/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/fragments/output.bun.js b/test/bun.js/solid-dom-fixtures/fragments/output.bun.js index 54d980cee..54d980cee 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/fragments/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/fragments/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/fragments/output.js b/test/bun.js/solid-dom-fixtures/fragments/output.js index 5fe0c767c..5fe0c767c 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/fragments/output.js +++ b/test/bun.js/solid-dom-fixtures/fragments/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/insertChildren/code.js b/test/bun.js/solid-dom-fixtures/insertChildren/code.js index 41d3d017e..41d3d017e 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/insertChildren/code.js +++ b/test/bun.js/solid-dom-fixtures/insertChildren/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/insertChildren/output.js b/test/bun.js/solid-dom-fixtures/insertChildren/output.js index 9ad937742..9ad937742 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/insertChildren/output.js +++ b/test/bun.js/solid-dom-fixtures/insertChildren/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/namespaceElements/code.js b/test/bun.js/solid-dom-fixtures/namespaceElements/code.js index 7ad410329..7ad410329 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/namespaceElements/code.js +++ b/test/bun.js/solid-dom-fixtures/namespaceElements/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/namespaceElements/output.js b/test/bun.js/solid-dom-fixtures/namespaceElements/output.js index 162ffb140..162ffb140 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/namespaceElements/output.js +++ b/test/bun.js/solid-dom-fixtures/namespaceElements/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/code.js b/test/bun.js/solid-dom-fixtures/simpleElements/code.js index c3537ee7d..c3537ee7d 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/code.js +++ b/test/bun.js/solid-dom-fixtures/simpleElements/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/output.bun.js b/test/bun.js/solid-dom-fixtures/simpleElements/output.bun.js index 72d61c1e3..72d61c1e3 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/simpleElements/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/output.js b/test/bun.js/solid-dom-fixtures/simpleElements/output.js index 5d16f6767..5d16f6767 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/simpleElements/output.js +++ b/test/bun.js/solid-dom-fixtures/simpleElements/output.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js b/test/bun.js/solid-dom-fixtures/textInterpolation/code.js index 21698ea89..21698ea89 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js +++ b/test/bun.js/solid-dom-fixtures/textInterpolation/code.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/output.bun.js b/test/bun.js/solid-dom-fixtures/textInterpolation/output.bun.js index eb4c5347a..eb4c5347a 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/output.bun.js +++ b/test/bun.js/solid-dom-fixtures/textInterpolation/output.bun.js diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/output.js b/test/bun.js/solid-dom-fixtures/textInterpolation/output.js index b86a631fb..b86a631fb 100644 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/output.js +++ b/test/bun.js/solid-dom-fixtures/textInterpolation/output.js diff --git a/integration/bunjs-only-snippets/some-fs.js b/test/bun.js/some-fs.js index e6b31f162..e6b31f162 100644 --- a/integration/bunjs-only-snippets/some-fs.js +++ b/test/bun.js/some-fs.js diff --git a/integration/bunjs-only-snippets/sql-raw.test.js b/test/bun.js/sql-raw.test.js index ea7f72bd6..ea7f72bd6 100644 --- a/integration/bunjs-only-snippets/sql-raw.test.js +++ b/test/bun.js/sql-raw.test.js diff --git a/integration/bunjs-only-snippets/sqlite.test.js b/test/bun.js/sqlite.test.js index 2250f97f0..2250f97f0 100644 --- a/integration/bunjs-only-snippets/sqlite.test.js +++ b/test/bun.js/sqlite.test.js diff --git a/integration/bunjs-only-snippets/streams.test.js b/test/bun.js/streams.test.js index ccbea1d09..ccbea1d09 100644 --- a/integration/bunjs-only-snippets/streams.test.js +++ b/test/bun.js/streams.test.js diff --git a/integration/bunjs-only-snippets/text-encoder.test.js b/test/bun.js/text-encoder.test.js index 5687e0222..5687e0222 100644 --- a/integration/bunjs-only-snippets/text-encoder.test.js +++ b/test/bun.js/text-encoder.test.js diff --git a/integration/bunjs-only-snippets/toml-fixture.toml b/test/bun.js/toml-fixture.toml index 090563ef7..090563ef7 100644 --- a/integration/bunjs-only-snippets/toml-fixture.toml +++ b/test/bun.js/toml-fixture.toml diff --git a/integration/bunjs-only-snippets/toml.test.js b/test/bun.js/toml.test.js index 44141b2d4..44141b2d4 100644 --- a/integration/bunjs-only-snippets/toml.test.js +++ b/test/bun.js/toml.test.js diff --git a/integration/bunjs-only-snippets/transpiler.test.js b/test/bun.js/transpiler.test.js index f8da4c18c..f8da4c18c 100644 --- a/integration/bunjs-only-snippets/transpiler.test.js +++ b/test/bun.js/transpiler.test.js diff --git a/integration/bunjs-only-snippets/tsconfig.json b/test/bun.js/tsconfig.json index 9a6c36e06..9a6c36e06 100644 --- a/integration/bunjs-only-snippets/tsconfig.json +++ b/test/bun.js/tsconfig.json diff --git a/integration/bunjs-only-snippets/unsafe.test.js b/test/bun.js/unsafe.test.js index 741dc0241..741dc0241 100644 --- a/integration/bunjs-only-snippets/unsafe.test.js +++ b/test/bun.js/unsafe.test.js diff --git a/integration/bunjs-only-snippets/url.test.ts b/test/bun.js/url.test.ts index 37ea2008b..37ea2008b 100644 --- a/integration/bunjs-only-snippets/url.test.ts +++ b/test/bun.js/url.test.ts diff --git a/integration/bunjs-only-snippets/wasm-return-1-test.zig b/test/bun.js/wasm-return-1-test.zig index d46bdae92..d46bdae92 100644 --- a/integration/bunjs-only-snippets/wasm-return-1-test.zig +++ b/test/bun.js/wasm-return-1-test.zig diff --git a/integration/bunjs-only-snippets/wasm.js b/test/bun.js/wasm.js index a4daaaffe..a4daaaffe 100644 --- a/integration/bunjs-only-snippets/wasm.js +++ b/test/bun.js/wasm.js diff --git a/integration/bunjs-only-snippets/wasm.test.js b/test/bun.js/wasm.test.js index ab88d5beb..ab88d5beb 100644 --- a/integration/bunjs-only-snippets/wasm.test.js +++ b/test/bun.js/wasm.test.js diff --git a/integration/bunjs-only-snippets/web-globals.test.js b/test/bun.js/web-globals.test.js index ac7c22e84..ac7c22e84 100644 --- a/integration/bunjs-only-snippets/web-globals.test.js +++ b/test/bun.js/web-globals.test.js diff --git a/integration/bunjs-only-snippets/websocket.test.js b/test/bun.js/websocket.test.js index ab825fa63..ab825fa63 100644 --- a/integration/bunjs-only-snippets/websocket.test.js +++ b/test/bun.js/websocket.test.js diff --git a/integration/bunjs-only-snippets/writeFileSync.txt b/test/bun.js/writeFileSync.txt index a0fe4515f..a0fe4515f 100644 --- a/integration/bunjs-only-snippets/writeFileSync.txt +++ b/test/bun.js/writeFileSync.txt diff --git a/integration/bunjs-only-snippets/zlib.test.js b/test/bun.js/zlib.test.js index aecb095cc..aecb095cc 100644 --- a/integration/bunjs-only-snippets/zlib.test.js +++ b/test/bun.js/zlib.test.js diff --git a/integration/macro/assert.tsx b/test/macro/assert.tsx index 8a6e4d822..8a6e4d822 100644 --- a/integration/macro/assert.tsx +++ b/test/macro/assert.tsx diff --git a/integration/macro/fetchSync.tsx b/test/macro/fetchSync.tsx index ebe1566e6..ebe1566e6 100644 --- a/integration/macro/fetchSync.tsx +++ b/test/macro/fetchSync.tsx diff --git a/integration/macro/hello-fetch-macro.tsx b/test/macro/hello-fetch-macro.tsx index fa0de4a9d..fa0de4a9d 100644 --- a/integration/macro/hello-fetch-macro.tsx +++ b/test/macro/hello-fetch-macro.tsx diff --git a/integration/macro/loadMocks.tsx b/test/macro/loadMocks.tsx index 4b7993c6d..4b7993c6d 100644 --- a/integration/macro/loadMocks.tsx +++ b/test/macro/loadMocks.tsx diff --git a/integration/scripts/browser.js b/test/scripts/browser.js index 479a55c9c..479a55c9c 100644 --- a/integration/scripts/browser.js +++ b/test/scripts/browser.js diff --git a/integration/scripts/bun.js b/test/scripts/bun.js index f8e4d2fa0..f8e4d2fa0 100644 --- a/integration/scripts/bun.js +++ b/test/scripts/bun.js diff --git a/integration/scripts/bun.lockb b/test/scripts/bun.lockb Binary files differindex 2d9937d57..2d9937d57 100755 --- a/integration/scripts/bun.lockb +++ b/test/scripts/bun.lockb diff --git a/integration/scripts/package-lock.json b/test/scripts/package-lock.json index a41b9bd92..a41b9bd92 100644 --- a/integration/scripts/package-lock.json +++ b/test/scripts/package-lock.json diff --git a/integration/scripts/package.json b/test/scripts/package.json index b4637138b..b4637138b 100644 --- a/integration/scripts/package.json +++ b/test/scripts/package.json diff --git a/integration/scripts/snippets.json b/test/scripts/snippets.json index ebdec23d3..ebdec23d3 100644 --- a/integration/scripts/snippets.json +++ b/test/scripts/snippets.json diff --git a/integration/snapshots/.prettierignore b/test/snapshots/.prettierignore index 4c43fe68f..4c43fe68f 100644 --- a/integration/snapshots/.prettierignore +++ b/test/snapshots/.prettierignore diff --git a/integration/snapshots/array-args-with-default-values.debug.js b/test/snapshots/array-args-with-default-values.debug.js index 9650405c6..9650405c6 100644 --- a/integration/snapshots/array-args-with-default-values.debug.js +++ b/test/snapshots/array-args-with-default-values.debug.js diff --git a/integration/snapshots/array-args-with-default-values.hmr.debug.js b/test/snapshots/array-args-with-default-values.hmr.debug.js index e219cbd9a..e219cbd9a 100644 --- a/integration/snapshots/array-args-with-default-values.hmr.debug.js +++ b/test/snapshots/array-args-with-default-values.hmr.debug.js diff --git a/integration/snapshots/array-args-with-default-values.hmr.js b/test/snapshots/array-args-with-default-values.hmr.js index 3c8997b54..3c8997b54 100644 --- a/integration/snapshots/array-args-with-default-values.hmr.js +++ b/test/snapshots/array-args-with-default-values.hmr.js diff --git a/integration/snapshots/array-args-with-default-values.js b/test/snapshots/array-args-with-default-values.js index 9650405c6..9650405c6 100644 --- a/integration/snapshots/array-args-with-default-values.js +++ b/test/snapshots/array-args-with-default-values.js diff --git a/integration/snapshots/bundled-entry-point.debug.js b/test/snapshots/bundled-entry-point.debug.js index 51562933f..51562933f 100644 --- a/integration/snapshots/bundled-entry-point.debug.js +++ b/test/snapshots/bundled-entry-point.debug.js diff --git a/integration/snapshots/bundled-entry-point.hmr.debug.js b/test/snapshots/bundled-entry-point.hmr.debug.js index 622b6b75b..622b6b75b 100644 --- a/integration/snapshots/bundled-entry-point.hmr.debug.js +++ b/test/snapshots/bundled-entry-point.hmr.debug.js diff --git a/integration/snapshots/bundled-entry-point.hmr.js b/test/snapshots/bundled-entry-point.hmr.js index b4fb5e46f..b4fb5e46f 100644 --- a/integration/snapshots/bundled-entry-point.hmr.js +++ b/test/snapshots/bundled-entry-point.hmr.js diff --git a/integration/snapshots/bundled-entry-point.js b/test/snapshots/bundled-entry-point.js index 51562933f..51562933f 100644 --- a/integration/snapshots/bundled-entry-point.js +++ b/test/snapshots/bundled-entry-point.js diff --git a/integration/snapshots/caught-require.debug.js b/test/snapshots/caught-require.debug.js index 73608f8e3..73608f8e3 100644 --- a/integration/snapshots/caught-require.debug.js +++ b/test/snapshots/caught-require.debug.js diff --git a/integration/snapshots/caught-require.hmr.debug.js b/test/snapshots/caught-require.hmr.debug.js index 5beecb99b..5beecb99b 100644 --- a/integration/snapshots/caught-require.hmr.debug.js +++ b/test/snapshots/caught-require.hmr.debug.js diff --git a/integration/snapshots/caught-require.hmr.js b/test/snapshots/caught-require.hmr.js index 8a63f51a0..8a63f51a0 100644 --- a/integration/snapshots/caught-require.hmr.js +++ b/test/snapshots/caught-require.hmr.js diff --git a/integration/snapshots/caught-require.js b/test/snapshots/caught-require.js index 73608f8e3..73608f8e3 100644 --- a/integration/snapshots/caught-require.js +++ b/test/snapshots/caught-require.js diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.debug.js b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.debug.js index 1bd6883d8..1bd6883d8 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.debug.js +++ b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.debug.js diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js index f685557dc..f685557dc 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js +++ b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js index b74b8c2b7..b74b8c2b7 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js +++ b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js index 1bd6883d8..1bd6883d8 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js +++ b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js diff --git a/integration/snapshots/code-simplification-neql-define.debug.js b/test/snapshots/code-simplification-neql-define.debug.js index 6c0e684df..6c0e684df 100644 --- a/integration/snapshots/code-simplification-neql-define.debug.js +++ b/test/snapshots/code-simplification-neql-define.debug.js diff --git a/integration/snapshots/code-simplification-neql-define.hmr.debug.js b/test/snapshots/code-simplification-neql-define.hmr.debug.js index 8d4f82052..8d4f82052 100644 --- a/integration/snapshots/code-simplification-neql-define.hmr.debug.js +++ b/test/snapshots/code-simplification-neql-define.hmr.debug.js diff --git a/integration/snapshots/code-simplification-neql-define.hmr.js b/test/snapshots/code-simplification-neql-define.hmr.js index 6d521b01d..6d521b01d 100644 --- a/integration/snapshots/code-simplification-neql-define.hmr.js +++ b/test/snapshots/code-simplification-neql-define.hmr.js diff --git a/integration/snapshots/code-simplification-neql-define.js b/test/snapshots/code-simplification-neql-define.js index 6c0e684df..6c0e684df 100644 --- a/integration/snapshots/code-simplification-neql-define.js +++ b/test/snapshots/code-simplification-neql-define.js diff --git a/integration/snapshots/custom-emotion-jsx/file.debug.jsx b/test/snapshots/custom-emotion-jsx/file.debug.jsx index 466cd4697..466cd4697 100644 --- a/integration/snapshots/custom-emotion-jsx/file.debug.jsx +++ b/test/snapshots/custom-emotion-jsx/file.debug.jsx diff --git a/integration/snapshots/custom-emotion-jsx/file.hmr.debug.jsx b/test/snapshots/custom-emotion-jsx/file.hmr.debug.jsx index a046f2e1c..a046f2e1c 100644 --- a/integration/snapshots/custom-emotion-jsx/file.hmr.debug.jsx +++ b/test/snapshots/custom-emotion-jsx/file.hmr.debug.jsx diff --git a/integration/snapshots/custom-emotion-jsx/file.hmr.jsx b/test/snapshots/custom-emotion-jsx/file.hmr.jsx index d26b0a16d..d26b0a16d 100644 --- a/integration/snapshots/custom-emotion-jsx/file.hmr.jsx +++ b/test/snapshots/custom-emotion-jsx/file.hmr.jsx diff --git a/integration/snapshots/custom-emotion-jsx/file.jsx b/test/snapshots/custom-emotion-jsx/file.jsx index 466cd4697..466cd4697 100644 --- a/integration/snapshots/custom-emotion-jsx/file.jsx +++ b/test/snapshots/custom-emotion-jsx/file.jsx diff --git a/integration/snapshots/export-default-module-hot.debug.js b/test/snapshots/export-default-module-hot.debug.js index a9de546d5..a9de546d5 100644 --- a/integration/snapshots/export-default-module-hot.debug.js +++ b/test/snapshots/export-default-module-hot.debug.js diff --git a/integration/snapshots/export-default-module-hot.hmr.debug.js b/test/snapshots/export-default-module-hot.hmr.debug.js index 6230c29a1..6230c29a1 100644 --- a/integration/snapshots/export-default-module-hot.hmr.debug.js +++ b/test/snapshots/export-default-module-hot.hmr.debug.js diff --git a/integration/snapshots/export-default-module-hot.hmr.js b/test/snapshots/export-default-module-hot.hmr.js index 3dadccd28..3dadccd28 100644 --- a/integration/snapshots/export-default-module-hot.hmr.js +++ b/test/snapshots/export-default-module-hot.hmr.js diff --git a/integration/snapshots/export-default-module-hot.js b/test/snapshots/export-default-module-hot.js index a9de546d5..a9de546d5 100644 --- a/integration/snapshots/export-default-module-hot.js +++ b/test/snapshots/export-default-module-hot.js diff --git a/integration/snapshots/export.debug.js b/test/snapshots/export.debug.js index 986d3b45f..986d3b45f 100644 --- a/integration/snapshots/export.debug.js +++ b/test/snapshots/export.debug.js diff --git a/integration/snapshots/export.hmr.debug.js b/test/snapshots/export.hmr.debug.js index 4bcc6ef59..4bcc6ef59 100644 --- a/integration/snapshots/export.hmr.debug.js +++ b/test/snapshots/export.hmr.debug.js diff --git a/integration/snapshots/export.hmr.js b/test/snapshots/export.hmr.js index 73d6db2d4..73d6db2d4 100644 --- a/integration/snapshots/export.hmr.js +++ b/test/snapshots/export.hmr.js diff --git a/integration/snapshots/export.js b/test/snapshots/export.js index 986d3b45f..986d3b45f 100644 --- a/integration/snapshots/export.js +++ b/test/snapshots/export.js diff --git a/integration/snapshots/forbid-in-is-correct.debug.js b/test/snapshots/forbid-in-is-correct.debug.js index dfca92d80..dfca92d80 100644 --- a/integration/snapshots/forbid-in-is-correct.debug.js +++ b/test/snapshots/forbid-in-is-correct.debug.js diff --git a/integration/snapshots/forbid-in-is-correct.hmr.debug.js b/test/snapshots/forbid-in-is-correct.hmr.debug.js index 83a447fc4..83a447fc4 100644 --- a/integration/snapshots/forbid-in-is-correct.hmr.debug.js +++ b/test/snapshots/forbid-in-is-correct.hmr.debug.js diff --git a/integration/snapshots/forbid-in-is-correct.hmr.js b/test/snapshots/forbid-in-is-correct.hmr.js index ae3714d04..ae3714d04 100644 --- a/integration/snapshots/forbid-in-is-correct.hmr.js +++ b/test/snapshots/forbid-in-is-correct.hmr.js diff --git a/integration/snapshots/forbid-in-is-correct.js b/test/snapshots/forbid-in-is-correct.js index dfca92d80..dfca92d80 100644 --- a/integration/snapshots/forbid-in-is-correct.js +++ b/test/snapshots/forbid-in-is-correct.js diff --git a/integration/snapshots/global-is-remapped-to-globalThis.debug.js b/test/snapshots/global-is-remapped-to-globalThis.debug.js index 6cd8e2e22..6cd8e2e22 100644 --- a/integration/snapshots/global-is-remapped-to-globalThis.debug.js +++ b/test/snapshots/global-is-remapped-to-globalThis.debug.js diff --git a/integration/snapshots/global-is-remapped-to-globalThis.hmr.debug.js b/test/snapshots/global-is-remapped-to-globalThis.hmr.debug.js index 1f6619161..1f6619161 100644 --- a/integration/snapshots/global-is-remapped-to-globalThis.hmr.debug.js +++ b/test/snapshots/global-is-remapped-to-globalThis.hmr.debug.js diff --git a/integration/snapshots/global-is-remapped-to-globalThis.hmr.js b/test/snapshots/global-is-remapped-to-globalThis.hmr.js index a0e28b60a..a0e28b60a 100644 --- a/integration/snapshots/global-is-remapped-to-globalThis.hmr.js +++ b/test/snapshots/global-is-remapped-to-globalThis.hmr.js diff --git a/integration/snapshots/global-is-remapped-to-globalThis.js b/test/snapshots/global-is-remapped-to-globalThis.js index 6cd8e2e22..6cd8e2e22 100644 --- a/integration/snapshots/global-is-remapped-to-globalThis.js +++ b/test/snapshots/global-is-remapped-to-globalThis.js diff --git a/integration/snapshots/jsx-entities.debug.jsx b/test/snapshots/jsx-entities.debug.jsx index 9fd075bc6..9fd075bc6 100644 --- a/integration/snapshots/jsx-entities.debug.jsx +++ b/test/snapshots/jsx-entities.debug.jsx diff --git a/integration/snapshots/jsx-entities.hmr.debug.jsx b/test/snapshots/jsx-entities.hmr.debug.jsx index 07915e50a..07915e50a 100644 --- a/integration/snapshots/jsx-entities.hmr.debug.jsx +++ b/test/snapshots/jsx-entities.hmr.debug.jsx diff --git a/integration/snapshots/jsx-entities.hmr.jsx b/test/snapshots/jsx-entities.hmr.jsx index 3bad6ca8d..3bad6ca8d 100644 --- a/integration/snapshots/jsx-entities.hmr.jsx +++ b/test/snapshots/jsx-entities.hmr.jsx diff --git a/integration/snapshots/jsx-entities.jsx b/test/snapshots/jsx-entities.jsx index 9fd075bc6..9fd075bc6 100644 --- a/integration/snapshots/jsx-entities.jsx +++ b/test/snapshots/jsx-entities.jsx diff --git a/integration/snapshots/jsx-spacing.debug.jsx b/test/snapshots/jsx-spacing.debug.jsx index bfbcab92f..bfbcab92f 100644 --- a/integration/snapshots/jsx-spacing.debug.jsx +++ b/test/snapshots/jsx-spacing.debug.jsx diff --git a/integration/snapshots/jsx-spacing.hmr.debug.jsx b/test/snapshots/jsx-spacing.hmr.debug.jsx index d9ec4e204..d9ec4e204 100644 --- a/integration/snapshots/jsx-spacing.hmr.debug.jsx +++ b/test/snapshots/jsx-spacing.hmr.debug.jsx diff --git a/integration/snapshots/jsx-spacing.hmr.jsx b/test/snapshots/jsx-spacing.hmr.jsx index 59287257b..59287257b 100644 --- a/integration/snapshots/jsx-spacing.hmr.jsx +++ b/test/snapshots/jsx-spacing.hmr.jsx diff --git a/integration/snapshots/jsx-spacing.jsx b/test/snapshots/jsx-spacing.jsx index bfbcab92f..bfbcab92f 100644 --- a/integration/snapshots/jsx-spacing.jsx +++ b/test/snapshots/jsx-spacing.jsx diff --git a/integration/snapshots/latin1-chars-in-regexp.debug.js b/test/snapshots/latin1-chars-in-regexp.debug.js index 108874c39..108874c39 100644 --- a/integration/snapshots/latin1-chars-in-regexp.debug.js +++ b/test/snapshots/latin1-chars-in-regexp.debug.js diff --git a/integration/snapshots/latin1-chars-in-regexp.hmr.debug.js b/test/snapshots/latin1-chars-in-regexp.hmr.debug.js index fee5714a2..fee5714a2 100644 --- a/integration/snapshots/latin1-chars-in-regexp.hmr.debug.js +++ b/test/snapshots/latin1-chars-in-regexp.hmr.debug.js diff --git a/integration/snapshots/latin1-chars-in-regexp.hmr.js b/test/snapshots/latin1-chars-in-regexp.hmr.js index afd3b813e..afd3b813e 100644 --- a/integration/snapshots/latin1-chars-in-regexp.hmr.js +++ b/test/snapshots/latin1-chars-in-regexp.hmr.js diff --git a/integration/snapshots/latin1-chars-in-regexp.js b/test/snapshots/latin1-chars-in-regexp.js index 108874c39..108874c39 100644 --- a/integration/snapshots/latin1-chars-in-regexp.js +++ b/test/snapshots/latin1-chars-in-regexp.js diff --git a/integration/snapshots/lodash-regexp.debug.js b/test/snapshots/lodash-regexp.debug.js index b1566fb6d..b1566fb6d 100644 --- a/integration/snapshots/lodash-regexp.debug.js +++ b/test/snapshots/lodash-regexp.debug.js diff --git a/integration/snapshots/lodash-regexp.hmr.debug.js b/test/snapshots/lodash-regexp.hmr.debug.js index 959e9e9c1..959e9e9c1 100644 --- a/integration/snapshots/lodash-regexp.hmr.debug.js +++ b/test/snapshots/lodash-regexp.hmr.debug.js diff --git a/integration/snapshots/lodash-regexp.hmr.js b/test/snapshots/lodash-regexp.hmr.js index e5d6b9130..e5d6b9130 100644 --- a/integration/snapshots/lodash-regexp.hmr.js +++ b/test/snapshots/lodash-regexp.hmr.js diff --git a/integration/snapshots/lodash-regexp.js b/test/snapshots/lodash-regexp.js index b1566fb6d..b1566fb6d 100644 --- a/integration/snapshots/lodash-regexp.js +++ b/test/snapshots/lodash-regexp.js diff --git a/integration/snapshots/multiple-imports.debug.js b/test/snapshots/multiple-imports.debug.js index af9396b46..af9396b46 100644 --- a/integration/snapshots/multiple-imports.debug.js +++ b/test/snapshots/multiple-imports.debug.js diff --git a/integration/snapshots/multiple-imports.hmr.debug.js b/test/snapshots/multiple-imports.hmr.debug.js index 5cca375b2..5cca375b2 100644 --- a/integration/snapshots/multiple-imports.hmr.debug.js +++ b/test/snapshots/multiple-imports.hmr.debug.js diff --git a/integration/snapshots/multiple-imports.hmr.js b/test/snapshots/multiple-imports.hmr.js index 59d620c07..59d620c07 100644 --- a/integration/snapshots/multiple-imports.hmr.js +++ b/test/snapshots/multiple-imports.hmr.js diff --git a/integration/snapshots/multiple-imports.js b/test/snapshots/multiple-imports.js index af9396b46..af9396b46 100644 --- a/integration/snapshots/multiple-imports.js +++ b/test/snapshots/multiple-imports.js diff --git a/integration/snapshots/multiple-var.debug.js b/test/snapshots/multiple-var.debug.js index 56d31d53e..56d31d53e 100644 --- a/integration/snapshots/multiple-var.debug.js +++ b/test/snapshots/multiple-var.debug.js diff --git a/integration/snapshots/multiple-var.hmr.debug.js b/test/snapshots/multiple-var.hmr.debug.js index a5298f462..a5298f462 100644 --- a/integration/snapshots/multiple-var.hmr.debug.js +++ b/test/snapshots/multiple-var.hmr.debug.js diff --git a/integration/snapshots/multiple-var.hmr.js b/test/snapshots/multiple-var.hmr.js index 3acb5b8d3..3acb5b8d3 100644 --- a/integration/snapshots/multiple-var.hmr.js +++ b/test/snapshots/multiple-var.hmr.js diff --git a/integration/snapshots/multiple-var.js b/test/snapshots/multiple-var.js index 56d31d53e..56d31d53e 100644 --- a/integration/snapshots/multiple-var.js +++ b/test/snapshots/multiple-var.js diff --git a/integration/snapshots/number-literal-bug.debug.js b/test/snapshots/number-literal-bug.debug.js index fb763061d..fb763061d 100644 --- a/integration/snapshots/number-literal-bug.debug.js +++ b/test/snapshots/number-literal-bug.debug.js diff --git a/integration/snapshots/number-literal-bug.hmr.debug.js b/test/snapshots/number-literal-bug.hmr.debug.js index 852aef372..852aef372 100644 --- a/integration/snapshots/number-literal-bug.hmr.debug.js +++ b/test/snapshots/number-literal-bug.hmr.debug.js diff --git a/integration/snapshots/number-literal-bug.hmr.js b/test/snapshots/number-literal-bug.hmr.js index cdb63994d..cdb63994d 100644 --- a/integration/snapshots/number-literal-bug.hmr.js +++ b/test/snapshots/number-literal-bug.hmr.js diff --git a/integration/snapshots/number-literal-bug.js b/test/snapshots/number-literal-bug.js index fb763061d..fb763061d 100644 --- a/integration/snapshots/number-literal-bug.js +++ b/test/snapshots/number-literal-bug.js diff --git a/integration/snapshots/optional-chain-with-function.debug.js b/test/snapshots/optional-chain-with-function.debug.js index 4b53bb5ed..4b53bb5ed 100644 --- a/integration/snapshots/optional-chain-with-function.debug.js +++ b/test/snapshots/optional-chain-with-function.debug.js diff --git a/integration/snapshots/optional-chain-with-function.hmr.debug.js b/test/snapshots/optional-chain-with-function.hmr.debug.js index e7f97cb3f..e7f97cb3f 100644 --- a/integration/snapshots/optional-chain-with-function.hmr.debug.js +++ b/test/snapshots/optional-chain-with-function.hmr.debug.js diff --git a/integration/snapshots/optional-chain-with-function.hmr.js b/test/snapshots/optional-chain-with-function.hmr.js index e9a89a827..e9a89a827 100644 --- a/integration/snapshots/optional-chain-with-function.hmr.js +++ b/test/snapshots/optional-chain-with-function.hmr.js diff --git a/integration/snapshots/optional-chain-with-function.js b/test/snapshots/optional-chain-with-function.js index 4b53bb5ed..4b53bb5ed 100644 --- a/integration/snapshots/optional-chain-with-function.js +++ b/test/snapshots/optional-chain-with-function.js diff --git a/integration/snapshots/package-json-exports/index.debug.js b/test/snapshots/package-json-exports/index.debug.js index 3d41a7985..3d41a7985 100644 --- a/integration/snapshots/package-json-exports/index.debug.js +++ b/test/snapshots/package-json-exports/index.debug.js diff --git a/integration/snapshots/package-json-exports/index.hmr.debug.js b/test/snapshots/package-json-exports/index.hmr.debug.js index e6cdaefba..e6cdaefba 100644 --- a/integration/snapshots/package-json-exports/index.hmr.debug.js +++ b/test/snapshots/package-json-exports/index.hmr.debug.js diff --git a/integration/snapshots/package-json-exports/index.hmr.js b/test/snapshots/package-json-exports/index.hmr.js index 69efa5194..69efa5194 100644 --- a/integration/snapshots/package-json-exports/index.hmr.js +++ b/test/snapshots/package-json-exports/index.hmr.js diff --git a/integration/snapshots/package-json-exports/index.js b/test/snapshots/package-json-exports/index.js index 3d41a7985..3d41a7985 100644 --- a/integration/snapshots/package-json-exports/index.js +++ b/test/snapshots/package-json-exports/index.js diff --git a/integration/snapshots/package-json-utf8.debug.js b/test/snapshots/package-json-utf8.debug.js index 8845090f0..8845090f0 100644 --- a/integration/snapshots/package-json-utf8.debug.js +++ b/test/snapshots/package-json-utf8.debug.js diff --git a/integration/snapshots/package-json-utf8.hmr.debug.js b/test/snapshots/package-json-utf8.hmr.debug.js index fe11070c2..fe11070c2 100644 --- a/integration/snapshots/package-json-utf8.hmr.debug.js +++ b/test/snapshots/package-json-utf8.hmr.debug.js diff --git a/integration/snapshots/package-json-utf8.hmr.js b/test/snapshots/package-json-utf8.hmr.js index 5676d6477..5676d6477 100644 --- a/integration/snapshots/package-json-utf8.hmr.js +++ b/test/snapshots/package-json-utf8.hmr.js diff --git a/integration/snapshots/package-json-utf8.js b/test/snapshots/package-json-utf8.js index 8845090f0..8845090f0 100644 --- a/integration/snapshots/package-json-utf8.js +++ b/test/snapshots/package-json-utf8.js diff --git a/integration/snapshots/react-context-value-func.debug.tsx b/test/snapshots/react-context-value-func.debug.tsx index 71b5e5f60..71b5e5f60 100644 --- a/integration/snapshots/react-context-value-func.debug.tsx +++ b/test/snapshots/react-context-value-func.debug.tsx diff --git a/integration/snapshots/react-context-value-func.hmr.debug.tsx b/test/snapshots/react-context-value-func.hmr.debug.tsx index d17a8fa88..d17a8fa88 100644 --- a/integration/snapshots/react-context-value-func.hmr.debug.tsx +++ b/test/snapshots/react-context-value-func.hmr.debug.tsx diff --git a/integration/snapshots/react-context-value-func.hmr.tsx b/test/snapshots/react-context-value-func.hmr.tsx index 0c751a7a9..0c751a7a9 100644 --- a/integration/snapshots/react-context-value-func.hmr.tsx +++ b/test/snapshots/react-context-value-func.hmr.tsx diff --git a/integration/snapshots/react-context-value-func.tsx b/test/snapshots/react-context-value-func.tsx index 71b5e5f60..71b5e5f60 100644 --- a/integration/snapshots/react-context-value-func.tsx +++ b/test/snapshots/react-context-value-func.tsx diff --git a/integration/snapshots/spread_with_key.debug.tsx b/test/snapshots/spread_with_key.debug.tsx index e096a76c8..e096a76c8 100644 --- a/integration/snapshots/spread_with_key.debug.tsx +++ b/test/snapshots/spread_with_key.debug.tsx diff --git a/integration/snapshots/spread_with_key.hmr.debug.tsx b/test/snapshots/spread_with_key.hmr.debug.tsx index 0123867ee..0123867ee 100644 --- a/integration/snapshots/spread_with_key.hmr.debug.tsx +++ b/test/snapshots/spread_with_key.hmr.debug.tsx diff --git a/integration/snapshots/spread_with_key.hmr.tsx b/test/snapshots/spread_with_key.hmr.tsx index 37cb57b34..37cb57b34 100644 --- a/integration/snapshots/spread_with_key.hmr.tsx +++ b/test/snapshots/spread_with_key.hmr.tsx diff --git a/integration/snapshots/spread_with_key.tsx b/test/snapshots/spread_with_key.tsx index e096a76c8..e096a76c8 100644 --- a/integration/snapshots/spread_with_key.tsx +++ b/test/snapshots/spread_with_key.tsx diff --git a/integration/snapshots/string-escapes.debug.js b/test/snapshots/string-escapes.debug.js index 9084bc362..9084bc362 100644 --- a/integration/snapshots/string-escapes.debug.js +++ b/test/snapshots/string-escapes.debug.js diff --git a/integration/snapshots/string-escapes.hmr.debug.js b/test/snapshots/string-escapes.hmr.debug.js index a247fc16d..a247fc16d 100644 --- a/integration/snapshots/string-escapes.hmr.debug.js +++ b/test/snapshots/string-escapes.hmr.debug.js diff --git a/integration/snapshots/string-escapes.hmr.js b/test/snapshots/string-escapes.hmr.js index 5847bdf97..5847bdf97 100644 --- a/integration/snapshots/string-escapes.hmr.js +++ b/test/snapshots/string-escapes.hmr.js diff --git a/integration/snapshots/string-escapes.js b/test/snapshots/string-escapes.js index 9084bc362..9084bc362 100644 --- a/integration/snapshots/string-escapes.js +++ b/test/snapshots/string-escapes.js diff --git a/integration/snapshots/styled-components-output.hmr.js b/test/snapshots/styled-components-output.hmr.js index 1bf09ed2d..1bf09ed2d 100644 --- a/integration/snapshots/styled-components-output.hmr.js +++ b/test/snapshots/styled-components-output.hmr.js diff --git a/integration/snapshots/styledcomponents-output.debug.js b/test/snapshots/styledcomponents-output.debug.js index f3a59d365..f3a59d365 100644 --- a/integration/snapshots/styledcomponents-output.debug.js +++ b/test/snapshots/styledcomponents-output.debug.js diff --git a/integration/snapshots/styledcomponents-output.hmr.debug.js b/test/snapshots/styledcomponents-output.hmr.debug.js index 027d5f35b..027d5f35b 100644 --- a/integration/snapshots/styledcomponents-output.hmr.debug.js +++ b/test/snapshots/styledcomponents-output.hmr.debug.js diff --git a/integration/snapshots/styledcomponents-output.hmr.js b/test/snapshots/styledcomponents-output.hmr.js index b39adb87c..b39adb87c 100644 --- a/integration/snapshots/styledcomponents-output.hmr.js +++ b/test/snapshots/styledcomponents-output.hmr.js diff --git a/integration/snapshots/styledcomponents-output.js b/test/snapshots/styledcomponents-output.js index f3a59d365..f3a59d365 100644 --- a/integration/snapshots/styledcomponents-output.js +++ b/test/snapshots/styledcomponents-output.js diff --git a/integration/snapshots/template-literal.debug.js b/test/snapshots/template-literal.debug.js index 2c0d55e8e..2c0d55e8e 100644 --- a/integration/snapshots/template-literal.debug.js +++ b/test/snapshots/template-literal.debug.js diff --git a/integration/snapshots/template-literal.hmr.debug.js b/test/snapshots/template-literal.hmr.debug.js index b5a8ac52b..b5a8ac52b 100644 --- a/integration/snapshots/template-literal.hmr.debug.js +++ b/test/snapshots/template-literal.hmr.debug.js diff --git a/integration/snapshots/template-literal.hmr.js b/test/snapshots/template-literal.hmr.js index 0baee2be1..0baee2be1 100644 --- a/integration/snapshots/template-literal.hmr.js +++ b/test/snapshots/template-literal.hmr.js diff --git a/integration/snapshots/template-literal.js b/test/snapshots/template-literal.js index 2c0d55e8e..2c0d55e8e 100644 --- a/integration/snapshots/template-literal.js +++ b/test/snapshots/template-literal.js diff --git a/integration/snapshots/ts-fallback-rewrite-works.debug.js b/test/snapshots/ts-fallback-rewrite-works.debug.js index 4b0789922..4b0789922 100644 --- a/integration/snapshots/ts-fallback-rewrite-works.debug.js +++ b/test/snapshots/ts-fallback-rewrite-works.debug.js diff --git a/integration/snapshots/ts-fallback-rewrite-works.hmr.debug.js b/test/snapshots/ts-fallback-rewrite-works.hmr.debug.js index 1d59ba0d5..1d59ba0d5 100644 --- a/integration/snapshots/ts-fallback-rewrite-works.hmr.debug.js +++ b/test/snapshots/ts-fallback-rewrite-works.hmr.debug.js diff --git a/integration/snapshots/ts-fallback-rewrite-works.hmr.js b/test/snapshots/ts-fallback-rewrite-works.hmr.js index 09f26c952..09f26c952 100644 --- a/integration/snapshots/ts-fallback-rewrite-works.hmr.js +++ b/test/snapshots/ts-fallback-rewrite-works.hmr.js diff --git a/integration/snapshots/ts-fallback-rewrite-works.js b/test/snapshots/ts-fallback-rewrite-works.js index 4b0789922..4b0789922 100644 --- a/integration/snapshots/ts-fallback-rewrite-works.js +++ b/test/snapshots/ts-fallback-rewrite-works.js diff --git a/integration/snapshots/tsx-fallback-rewrite-works.debug.js b/test/snapshots/tsx-fallback-rewrite-works.debug.js index 5de13ced2..5de13ced2 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.debug.js +++ b/test/snapshots/tsx-fallback-rewrite-works.debug.js diff --git a/integration/snapshots/tsx-fallback-rewrite-works.hmr.debug.js b/test/snapshots/tsx-fallback-rewrite-works.hmr.debug.js index ea15fc922..ea15fc922 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.hmr.debug.js +++ b/test/snapshots/tsx-fallback-rewrite-works.hmr.debug.js diff --git a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js b/test/snapshots/tsx-fallback-rewrite-works.hmr.js index b33df25c4..b33df25c4 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js +++ b/test/snapshots/tsx-fallback-rewrite-works.hmr.js diff --git a/integration/snapshots/tsx-fallback-rewrite-works.js b/test/snapshots/tsx-fallback-rewrite-works.js index 5de13ced2..5de13ced2 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.js +++ b/test/snapshots/tsx-fallback-rewrite-works.js diff --git a/integration/snapshots/type-only-imports.debug.ts b/test/snapshots/type-only-imports.debug.ts index 0a1eb4249..0a1eb4249 100644 --- a/integration/snapshots/type-only-imports.debug.ts +++ b/test/snapshots/type-only-imports.debug.ts diff --git a/integration/snapshots/type-only-imports.hmr.debug.ts b/test/snapshots/type-only-imports.hmr.debug.ts index ff8f4864b..ff8f4864b 100644 --- a/integration/snapshots/type-only-imports.hmr.debug.ts +++ b/test/snapshots/type-only-imports.hmr.debug.ts diff --git a/integration/snapshots/type-only-imports.hmr.ts b/test/snapshots/type-only-imports.hmr.ts index f732881b7..f732881b7 100644 --- a/integration/snapshots/type-only-imports.hmr.ts +++ b/test/snapshots/type-only-imports.hmr.ts diff --git a/integration/snapshots/type-only-imports.ts b/test/snapshots/type-only-imports.ts index 0a1eb4249..0a1eb4249 100644 --- a/integration/snapshots/type-only-imports.ts +++ b/test/snapshots/type-only-imports.ts diff --git a/integration/snapshots/unicode-identifiers.debug.js b/test/snapshots/unicode-identifiers.debug.js index 85b76376e..85b76376e 100644 --- a/integration/snapshots/unicode-identifiers.debug.js +++ b/test/snapshots/unicode-identifiers.debug.js diff --git a/integration/snapshots/unicode-identifiers.hmr.debug.js b/test/snapshots/unicode-identifiers.hmr.debug.js index 53fbb30d5..53fbb30d5 100644 --- a/integration/snapshots/unicode-identifiers.hmr.debug.js +++ b/test/snapshots/unicode-identifiers.hmr.debug.js diff --git a/integration/snapshots/unicode-identifiers.hmr.js b/test/snapshots/unicode-identifiers.hmr.js index be84e436e..be84e436e 100644 --- a/integration/snapshots/unicode-identifiers.hmr.js +++ b/test/snapshots/unicode-identifiers.hmr.js diff --git a/integration/snapshots/unicode-identifiers.js b/test/snapshots/unicode-identifiers.js index 85b76376e..85b76376e 100644 --- a/integration/snapshots/unicode-identifiers.js +++ b/test/snapshots/unicode-identifiers.js diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.debug.js b/test/snapshots/void-shouldnt-delete-call-expressions.debug.js index 5620ead56..5620ead56 100644 --- a/integration/snapshots/void-shouldnt-delete-call-expressions.debug.js +++ b/test/snapshots/void-shouldnt-delete-call-expressions.debug.js diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js b/test/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js index bbb0a451c..bbb0a451c 100644 --- a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js +++ b/test/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js b/test/snapshots/void-shouldnt-delete-call-expressions.hmr.js index f2a1dbf18..f2a1dbf18 100644 --- a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js +++ b/test/snapshots/void-shouldnt-delete-call-expressions.hmr.js diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.js b/test/snapshots/void-shouldnt-delete-call-expressions.js index 5620ead56..5620ead56 100644 --- a/integration/snapshots/void-shouldnt-delete-call-expressions.js +++ b/test/snapshots/void-shouldnt-delete-call-expressions.js diff --git a/integration/snippets/_auth.js b/test/snippets/_auth.js index 407090812..407090812 100644 --- a/integration/snippets/_auth.js +++ b/test/snippets/_auth.js diff --git a/integration/snippets/_bacon.js b/test/snippets/_bacon.js index c07ffb9be..c07ffb9be 100644 --- a/integration/snippets/_bacon.js +++ b/test/snippets/_bacon.js diff --git a/integration/snippets/_login.js b/test/snippets/_login.js index b2fc2ef65..b2fc2ef65 100644 --- a/integration/snippets/_login.js +++ b/test/snippets/_login.js diff --git a/integration/snippets/array-args-with-default-values.js b/test/snippets/array-args-with-default-values.js index f733a1bfa..f733a1bfa 100644 --- a/integration/snippets/array-args-with-default-values.js +++ b/test/snippets/array-args-with-default-values.js diff --git a/integration/snippets/bun.lockb b/test/snippets/bun.lockb Binary files differindex 127db7b6d..127db7b6d 100755 --- a/integration/snippets/bun.lockb +++ b/test/snippets/bun.lockb diff --git a/integration/snippets/bundled-entry-point.js b/test/snippets/bundled-entry-point.js index a996f8632..a996f8632 100644 --- a/integration/snippets/bundled-entry-point.js +++ b/test/snippets/bundled-entry-point.js diff --git a/integration/snippets/caught-require.js b/test/snippets/caught-require.js index 6111d2b10..6111d2b10 100644 --- a/integration/snippets/caught-require.js +++ b/test/snippets/caught-require.js diff --git a/integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js b/test/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js index 1ba6c059d..1ba6c059d 100644 --- a/integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js +++ b/test/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js diff --git a/integration/snippets/code-simplification-neql-define.js b/test/snippets/code-simplification-neql-define.js index ed5c5c395..ed5c5c395 100644 --- a/integration/snippets/code-simplification-neql-define.js +++ b/test/snippets/code-simplification-neql-define.js diff --git a/integration/snippets/custom-emotion-jsx/file.jsx b/test/snippets/custom-emotion-jsx/file.jsx index c00cb0543..c00cb0543 100644 --- a/integration/snippets/custom-emotion-jsx/file.jsx +++ b/test/snippets/custom-emotion-jsx/file.jsx diff --git a/integration/snippets/custom-emotion-jsx/tsconfig.json b/test/snippets/custom-emotion-jsx/tsconfig.json index 7bb0f58a0..7bb0f58a0 100644 --- a/integration/snippets/custom-emotion-jsx/tsconfig.json +++ b/test/snippets/custom-emotion-jsx/tsconfig.json diff --git a/integration/snippets/export-default-module-hot.js b/test/snippets/export-default-module-hot.js index aee4e2468..aee4e2468 100644 --- a/integration/snippets/export-default-module-hot.js +++ b/test/snippets/export-default-module-hot.js diff --git a/integration/snippets/export.js b/test/snippets/export.js index fe0abfa53..fe0abfa53 100644 --- a/integration/snippets/export.js +++ b/test/snippets/export.js diff --git a/integration/snippets/forbid-in-is-correct.js b/test/snippets/forbid-in-is-correct.js index cdd62bffb..cdd62bffb 100644 --- a/integration/snippets/forbid-in-is-correct.js +++ b/test/snippets/forbid-in-is-correct.js diff --git a/integration/snippets/global-is-remapped-to-globalThis.js b/test/snippets/global-is-remapped-to-globalThis.js index 06b887925..06b887925 100644 --- a/integration/snippets/global-is-remapped-to-globalThis.js +++ b/test/snippets/global-is-remapped-to-globalThis.js diff --git a/integration/snippets/jsx-entities.jsx b/test/snippets/jsx-entities.jsx index adabace2c..adabace2c 100644 --- a/integration/snippets/jsx-entities.jsx +++ b/test/snippets/jsx-entities.jsx diff --git a/integration/snippets/jsx-spacing.js b/test/snippets/jsx-spacing.js index 9b9f28a33..9b9f28a33 100644 --- a/integration/snippets/jsx-spacing.js +++ b/test/snippets/jsx-spacing.js diff --git a/integration/snippets/jsx-spacing.jsx b/test/snippets/jsx-spacing.jsx index b6d13f97a..b6d13f97a 100644 --- a/integration/snippets/jsx-spacing.jsx +++ b/test/snippets/jsx-spacing.jsx diff --git a/integration/snippets/jsx-top-level.tsx b/test/snippets/jsx-top-level.tsx index 2b49b5959..2b49b5959 100644 --- a/integration/snippets/jsx-top-level.tsx +++ b/test/snippets/jsx-top-level.tsx diff --git a/integration/snippets/latin1-chars-in-regexp.js b/test/snippets/latin1-chars-in-regexp.js index e4d613f5e..e4d613f5e 100644 --- a/integration/snippets/latin1-chars-in-regexp.js +++ b/test/snippets/latin1-chars-in-regexp.js diff --git a/integration/snippets/lodash-regexp.js b/test/snippets/lodash-regexp.js index bc683e535..bc683e535 100644 --- a/integration/snippets/lodash-regexp.js +++ b/test/snippets/lodash-regexp.js diff --git a/integration/snippets/multiple-imports.js b/test/snippets/multiple-imports.js index 320d0105e..320d0105e 100644 --- a/integration/snippets/multiple-imports.js +++ b/test/snippets/multiple-imports.js diff --git a/integration/snippets/multiple-var.js b/test/snippets/multiple-var.js index 527634a00..527634a00 100644 --- a/integration/snippets/multiple-var.js +++ b/test/snippets/multiple-var.js diff --git a/integration/snippets/number-literal-bug.js b/test/snippets/number-literal-bug.js index cb6990348..cb6990348 100644 --- a/integration/snippets/number-literal-bug.js +++ b/test/snippets/number-literal-bug.js diff --git a/integration/snippets/optional-chain-with-function.js b/test/snippets/optional-chain-with-function.js index 82ad51d46..82ad51d46 100644 --- a/integration/snippets/optional-chain-with-function.js +++ b/test/snippets/optional-chain-with-function.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/exact/package.json b/test/snippets/package-json-exports/_node_modules_copy/exact/im-exact.js index e69de29bb..e69de29bb 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/exact/package.json +++ b/test/snippets/package-json-exports/_node_modules_copy/exact/im-exact.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/node/index.js b/test/snippets/package-json-exports/_node_modules_copy/exact/package.json index e69de29bb..e69de29bb 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/node/index.js +++ b/test/snippets/package-json-exports/_node_modules_copy/exact/package.json diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/file.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/file.js index 26ab53d5b..26ab53d5b 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/file.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/file.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/foo.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/foo.js index e54d9d4d6..e54d9d4d6 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/browser/dir/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/foo.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/browser/foo.js index e54d9d4d6..e54d9d4d6 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/browser/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/index.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/browser/index.js index e54d9d4d6..e54d9d4d6 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/browser/index.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/browser/index.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/file.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/file.js index 826077c96..826077c96 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/file.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/file.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/foo.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/foo.js index 826077c96..826077c96 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/default/dir/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/default/foo.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/default/foo.js index 8fb5eac0c..8fb5eac0c 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/default/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/default/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/default/index.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/default/index.js index 826077c96..826077c96 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/default/index.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/default/index.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/file.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/file.js index 301a88090..301a88090 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/file.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/file.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/foo.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/foo.js index 301a88090..301a88090 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/node/dir/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/node/foo.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/node/foo.js index b9504cdf9..b9504cdf9 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/node/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/node/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/index.js b/test/snippets/package-json-exports/_node_modules_copy/inexact/node/index.js index e69de29bb..e69de29bb 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/index.js +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/node/index.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/inexact/package.json b/test/snippets/package-json-exports/_node_modules_copy/inexact/package.json index 1c9b5185d..1c9b5185d 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/inexact/package.json +++ b/test/snippets/package-json-exports/_node_modules_copy/inexact/package.json diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/file.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/file.js index 26ab53d5b..26ab53d5b 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/file.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/file.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/foo.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/foo.js index e54d9d4d6..e54d9d4d6 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/dir/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/foo.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/foo.js index e54d9d4d6..e54d9d4d6 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/index.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/index.js index e54d9d4d6..e54d9d4d6 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/index.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/index.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.js index ff519c58f..ff519c58f 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.ts b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.ts index 26ab53d5b..26ab53d5b 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.ts +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/browser/js-file.ts diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/file.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/file.js index 826077c96..826077c96 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/file.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/file.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/foo.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/foo.js index 826077c96..826077c96 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/dir/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/foo.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/foo.js index 8fb5eac0c..8fb5eac0c 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/index.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/index.js index 826077c96..826077c96 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/index.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/default/index.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/file.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/file.js index 301a88090..301a88090 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/file.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/file.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/foo.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/foo.js index 301a88090..301a88090 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/dir/foo.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/foo.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/foo.js index b9504cdf9..b9504cdf9 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/foo.js +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/foo.js diff --git a/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/index.js b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/index.js new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/node/index.js diff --git a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/package.json b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/package.json index baeb185d9..baeb185d9 100644 --- a/integration/snippets/package-json-exports/_node_modules_copy/js-only-exports/package.json +++ b/test/snippets/package-json-exports/_node_modules_copy/js-only-exports/package.json diff --git a/integration/snippets/package-json-exports/index.js b/test/snippets/package-json-exports/index.js index d1946c53f..d1946c53f 100644 --- a/integration/snippets/package-json-exports/index.js +++ b/test/snippets/package-json-exports/index.js diff --git a/integration/snippets/package-json-exports/package.json b/test/snippets/package-json-exports/package.json index 233a02208..233a02208 100644 --- a/integration/snippets/package-json-exports/package.json +++ b/test/snippets/package-json-exports/package.json diff --git a/integration/snippets/package-json-utf8.js b/test/snippets/package-json-utf8.js index a51fbb886..a51fbb886 100644 --- a/integration/snippets/package-json-utf8.js +++ b/test/snippets/package-json-utf8.js diff --git a/integration/snippets/package.json b/test/snippets/package.json index 07b349f86..07b349f86 100644 --- a/integration/snippets/package.json +++ b/test/snippets/package.json diff --git a/integration/snippets/public/index.html b/test/snippets/public/index.html index 225c98d52..225c98d52 100644 --- a/integration/snippets/public/index.html +++ b/test/snippets/public/index.html diff --git a/integration/snippets/react-context-value-func.tsx b/test/snippets/react-context-value-func.tsx index 5f38a5d1c..5f38a5d1c 100644 --- a/integration/snippets/react-context-value-func.tsx +++ b/test/snippets/react-context-value-func.tsx diff --git a/integration/snippets/segfault.js b/test/snippets/segfault.js index 59b030b4d..59b030b4d 100644 --- a/integration/snippets/segfault.js +++ b/test/snippets/segfault.js diff --git a/integration/snippets/spread_with_key.tsx b/test/snippets/spread_with_key.tsx index 9c26ea5ba..9c26ea5ba 100644 --- a/integration/snippets/spread_with_key.tsx +++ b/test/snippets/spread_with_key.tsx diff --git a/integration/snippets/string-escapes.js b/test/snippets/string-escapes.js index 436140939..436140939 100644 --- a/integration/snippets/string-escapes.js +++ b/test/snippets/string-escapes.js diff --git a/integration/snippets/styledcomponents-output.js b/test/snippets/styledcomponents-output.js index a79b5e24d..a79b5e24d 100644 --- a/integration/snippets/styledcomponents-output.js +++ b/test/snippets/styledcomponents-output.js diff --git a/integration/snippets/template-literal.js b/test/snippets/template-literal.js index ff4e08a4d..ff4e08a4d 100644 --- a/integration/snippets/template-literal.js +++ b/test/snippets/template-literal.js diff --git a/integration/snippets/ts-fallback-rewrite-works.ts b/test/snippets/ts-fallback-rewrite-works.ts index 8e6dabcdb..8e6dabcdb 100644 --- a/integration/snippets/ts-fallback-rewrite-works.ts +++ b/test/snippets/ts-fallback-rewrite-works.ts diff --git a/integration/snippets/tsx-fallback-rewrite-works.tsx b/test/snippets/tsx-fallback-rewrite-works.tsx index b18619914..b18619914 100644 --- a/integration/snippets/tsx-fallback-rewrite-works.tsx +++ b/test/snippets/tsx-fallback-rewrite-works.tsx diff --git a/integration/snippets/type-only-imports.ts b/test/snippets/type-only-imports.ts index 447f86793..447f86793 100644 --- a/integration/snippets/type-only-imports.ts +++ b/test/snippets/type-only-imports.ts diff --git a/integration/snippets/unicode-identifiers.js b/test/snippets/unicode-identifiers.js index 5b602f49b..5b602f49b 100644 --- a/integration/snippets/unicode-identifiers.js +++ b/test/snippets/unicode-identifiers.js diff --git a/integration/snippets/utf8-package-json.json b/test/snippets/utf8-package-json.json index aae7ce7b2..aae7ce7b2 100644 --- a/integration/snippets/utf8-package-json.json +++ b/test/snippets/utf8-package-json.json diff --git a/integration/snippets/void-shouldnt-delete-call-expressions.js b/test/snippets/void-shouldnt-delete-call-expressions.js index 380fb591b..380fb591b 100644 --- a/integration/snippets/void-shouldnt-delete-call-expressions.js +++ b/test/snippets/void-shouldnt-delete-call-expressions.js diff --git a/integration/snippets/zero.js b/test/snippets/zero.js index 38f521ff1..38f521ff1 100644 --- a/integration/snippets/zero.js +++ b/test/snippets/zero.js |