Skip to content

feat: hot module replacement #277

feat: hot module replacement

feat: hot module replacement #277

Triggered via push December 14, 2023 16:11
Status Failure
Total duration 2m 59s
Artifacts
install-dependencies-and-caching
22s
install-dependencies-and-caching
lint
52s
lint
unit-test-and-report-coverage
1m 19s
unit-test-and-report-coverage
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 49 warnings
lint: packages/core/lib/types.ts#L8
'JscConfig' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/transformer/lib/helpers/transformer.ts#L1
'TsParserConfig' is defined but never used. Allowed unused vars must match /^_/u
lint
Process completed with exit code 1.
getAssetRegistrationScript > should match snapshot: packages/internal/lib/__tests__/presets.test.ts#L20
Error: expect(received).toMatchSnapshot() Snapshot name: `getAssetRegistrationScript should match snapshot 1` - Snapshot - 3 + Received + 1 - " - module.exports = require('react-native/Libraries/Image/AssetRegistry').registerAsset({"__packager_asset":true,"name":"image","type":"png","scales":[1,2,3],"hash":"hash","httpServerLocation":"/image.png","width":0,"height":0}); - " + "module.exports =require('react-native/Libraries/Image/AssetRegistry').registerAsset({"__packager_asset":true,"name":"image","type":"png","scales":[1,2,3],"hash":"hash","httpServerLocation":"/image.png","width":0,"height":0});" at Object.toMatchSnapshot (/home/runner/work/react-native-esbuild/react-native-esbuild/packages/internal/lib/__tests__/presets.test.ts:21:37) at Promise.then.completed (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/react-native-esbuild/react-native-esbuild/node_modules/jest-runner/build/testWorker.js:106:12)
unit-test-and-report-coverage
Error: The process '/opt/hostedtoolcache/node/18.19.0/x64/bin/npx' failed with exit code 1 Error: The process '/opt/hostedtoolcache/node/18.19.0/x64/bin/npx' failed with exit code 1 at rh._setResult (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2.2.5/dist/index.js:21:17898) at rh.CheckComplete (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2.2.5/dist/index.js:21:17485) at ChildProcess.<anonymous> (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2.2.5/dist/index.js:21:16477) at ChildProcess.emit (node:events:517:28) at maybeClose (node:internal/child_process:1098:16) at ChildProcess._handle.onexit (node:internal/child_process:303:5)
unit-test-and-report-coverage
Jest coverage report action failed
unit-test-and-report-coverage
Process completed with exit code 1.
🧾 Statement is not covered: packages/utils/lib/logger.ts#L47
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L51
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L80
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L89
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L103
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L107
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L111
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L115
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L127
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L129
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L131
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L131
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L133
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L145
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L149
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L149
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L151
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L173
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L173
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L175
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L185
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L197
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L197
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L199
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L221
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L222
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L226
Warning! Not covered statement
🧾 Statement is not covered: packages/utils/lib/logger.ts#L227
Warning! Not covered statement
🌿 Branch is not covered: packages/utils/lib/logger.ts#L102
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L106
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L110
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L114
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L127
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L131
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L149
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L173
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L185
Warning! Not covered branch
🌿 Branch is not covered: packages/utils/lib/logger.ts#L197
Warning! Not covered branch
🕹️ Function is not covered: packages/utils/lib/logger.ts#L46
Warning! Not covered function
🕹️ Function is not covered: packages/utils/lib/logger.ts#L50
Warning! Not covered function
🕹️ Function is not covered: packages/utils/lib/logger.ts#L144
Warning! Not covered function
🕹️ Function is not covered: packages/utils/lib/logger.ts#L148
Warning! Not covered function
🕹️ Function is not covered: packages/utils/lib/logger.ts#L172
Warning! Not covered function
🕹️ Function is not covered: packages/utils/lib/logger.ts#L196
Warning! Not covered function
🕹️ Function is not covered: packages/utils/lib/logger.ts#L220
Warning! Not covered function
🕹️ Function is not covered: packages/utils/lib/logger.ts#L225
Warning! Not covered function