Repository navigation
Unit tests: the framework at the abap2UI5 commit src/ follows - #24
Merged
Merged
Conversation
ABAP_UNIT has been red on main since #20/#21: src/ calls z2ui5_cl_ui5_headless and z2ui5_cl_ui5_ajs, which abap2UI5 main has (the lint reads main) but the published @abap2ui5/node-runtime 1.151.0 does not - every test died with "Void type: Z2UI5_CL_UI5_HEADLESS". unit.mjs can now take the framework's ABAP from a pinned abap2UI5 commit (CONFIG.framework.ref): a checkout under .unit/abap2UI5, npm ci and npm run downport there, and transpileConfig( ) of the package with that node/ as package folder - the package's transpiler, open-abap-core and express-icf-shim stay. Pinned to abap2UI5 d0fac63 (main today); back to null with the bump to the release after 1.151.0. UNIT_ABAP2UI5_REF overrides it ("release" takes the package). No test changed: 40 of 40 pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmEJNd4Wq7CUg8t8a2C
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ABAP_UNIT is red on main since #20/#21:
src/callsz2ui5_cl_ui5_headlessandz2ui5_cl_ui5_ajs, which abap2UI5mainhas (the lint readsmain) but the published@abap2ui5/node-runtime1.151.0 does not. Every test failed withVoid type: Z2UI5_CL_UI5_HEADLESS..github/scripts/unit.mjs:CONFIG.framework.refpins an abap2UI5 commit (nowd0fac63, main today). The script checks it out under.unit/abap2UI5, runsnpm ci --ignore-scriptsandnpm run downportthere (about a minute), and transpilessrc/with thatnode/downportvia the package'stranspileConfig( ). The package's transpiler, open-abap-core and express-icf-shim stay the same.UNIT_ABAP2UI5_REFoverrides the pin, andreleaseuses the package'sdownport/.nullwhen bumping to the release after 1.151.0.No test was changed or skipped.
Checks:
npm run checkreports 0 issues (lint, lint:cloud, rename).npm run unitpasses 40 of 40, also from an empty work folder.Generated by Claude Code