Files
markitect-main/capabilities/testdrive-jsui/node_modules/caniuse-lite/data/regions/SC.js
tegwick 17c62aadaa feat: complete testdrive-jsui capability extraction with full JavaScript test integration
Extract JavaScript UI framework functionality into dedicated testdrive-jsui capability
while maintaining 100% functionality preservation and integrating JavaScript tests
into the main Python test suite.

Phase 1 (Foundation Setup) - COMPLETED:
- Created capability directory structure with proper Python package layout
- Configured pyproject.toml with Node.js subprocess dependencies
- Set up package.json with Jest + JSDOM testing framework
- Implemented Python-JavaScript bridge for seamless test integration
- Created comprehensive capability Makefile with all testing targets
- Added detailed README documentation for capability usage

Phase 2 (Integration Layer) - COMPLETED:
- Built Python test wrappers for JavaScript test execution via subprocess
- Integrated with pytest discovery system for unified test experience
- Added capability targets to main Makefile delegation system
- Verified test integration works with main test suite

Phase 3 (Safe Migration) - COMPLETED:
- Copied (not moved) all JavaScript files to capability using safe copy-first approach
- Migrated 4 core JavaScript components and 11 test files (2,840+ lines)
- Verified all tests work in new location (11 Python tests + 7 JavaScript tests passing)
- Maintained dual-track testing capability for safety during transition

Phase 4 (Framework Enhancement) - COMPLETED:
- Enhanced testing framework with Python integration and coverage reporting
- Achieved 59% Python test coverage and 100% JavaScript test coverage
- Added performance benchmarking and component documentation

Phase 5 (Production Integration) - COMPLETED:
- Added standard 'test' target to capability Makefile for discovery system compatibility
- Integrated JavaScript tests into main Makefile with new targets:
  * test-js: Run JavaScript UI tests
  * test-all: Run all tests (Python + JavaScript + Capabilities)
- Updated help documentation to include new testing workflows
- Verified capability auto-discovery works via 'make test-capabilities'

Key Achievements:
- Zero-risk migration completed with copy-first safety approach
- Full Python-JavaScript test integration with 18 total passing tests
- JavaScript UI framework successfully extracted to dedicated capability
- Enhanced CI/CD integration with unified test command interface
- Clean architecture enabling future JavaScript framework evolution

Testing Status:
-  All Python integration tests passing (11/11)
-  All JavaScript component tests passing (7/7)
-  Capability discovery integration working
-  Main test suite integration complete
-  Test coverage reporting functional (59% Python, 100% JavaScript)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 22:29:30 +01:00

2 lines
5.1 KiB
JavaScript

module.exports={C:{"59":0.00428,"60":0.02141,"78":0.00428,"114":0.00428,"115":0.06422,"117":0.00856,"118":0.00428,"120":0.01712,"121":0.06422,"124":0.01284,"125":0.02141,"126":0.01284,"127":0.01284,"128":0.35104,"129":0.01284,"130":0.01284,"131":0.01284,"132":0.01284,"133":0.02569,"134":0.02569,"135":0.01284,"136":0.01284,"137":0.01284,"138":0.01284,"139":0.02141,"140":0.06422,"141":0.00428,"142":0.02141,"143":0.18836,"144":0.12415,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 116 119 122 123 145 146 147 3.5 3.6"},D:{"41":0.01712,"45":0.04709,"51":0.00428,"58":0.00856,"59":0.00428,"61":0.00428,"63":0.00428,"64":0.00856,"65":0.01284,"66":0.02141,"67":0.01284,"68":0.00856,"69":0.00428,"70":0.00856,"71":0.00856,"73":0.00856,"78":0.52656,"79":0.00428,"81":0.00428,"83":0.00428,"85":0.00856,"86":0.02569,"87":0.01712,"88":0.00428,"90":0.00856,"94":0.00856,"95":0.00428,"97":0.01284,"98":0.00856,"99":0.00856,"100":0.00428,"101":0.03853,"102":0.00428,"103":0.01712,"104":0.0685,"105":0.01284,"106":0.00428,"107":0.02569,"108":0.00856,"109":0.30823,"111":0.00856,"112":0.02141,"113":0.01284,"114":0.18836,"115":0.02997,"116":0.84336,"117":0.11559,"118":0.15412,"119":0.08562,"120":0.81767,"121":0.07278,"122":0.04281,"123":0.44522,"124":0.10274,"125":0.23546,"126":0.10274,"127":0.07706,"128":0.30823,"129":0.3382,"130":0.49232,"131":0.82623,"132":0.4281,"133":0.44094,"134":0.55653,"135":0.44522,"136":0.29967,"137":0.53941,"138":1.01032,"139":8.24949,"140":2.51723,"141":5.76651,"142":0.03853,"143":0.02569,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 46 47 48 49 50 52 53 54 55 56 57 60 62 72 74 75 76 77 80 84 89 91 92 93 96 110 144 145"},F:{"91":0.00428,"92":0.01284,"100":0.01712,"101":0.01712,"102":0.02569,"103":0.01712,"104":0.01284,"105":0.02569,"106":0.02141,"107":0.01712,"108":0.00856,"109":0.01284,"110":0.01712,"111":0.01712,"112":0.01712,"113":0.02141,"114":0.03425,"115":0.01712,"116":0.02141,"117":0.02141,"118":0.02569,"119":0.02997,"120":0.03425,"121":0.03853,"122":0.09418,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 93 94 95 96 97 98 99 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00428,"100":0.00428,"106":0.00428,"113":0.00428,"114":0.01284,"116":0.00428,"118":0.00428,"119":0.04709,"120":0.17124,"122":0.00428,"123":0.01284,"125":0.00428,"126":0.00428,"127":0.00428,"128":0.13699,"129":0.1798,"130":0.1798,"131":0.30395,"132":0.18836,"133":0.13699,"134":0.23546,"135":0.25258,"136":0.16268,"137":0.19693,"138":0.35532,"139":0.30395,"140":0.4281,"141":1.39989,"142":0.00856,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 107 108 109 110 111 112 115 117 121 124"},E:{"14":0.00856,"15":0.00428,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 10.1 11.1 12.1 15.1 15.2-15.3 26.2","9.1":0.25258,"13.1":0.00428,"14.1":0.00856,"15.4":0.00856,"15.5":0.00856,"15.6":0.07706,"16.0":0.00428,"16.1":0.00428,"16.2":0.00428,"16.3":0.05137,"16.4":0.00428,"16.5":0.01284,"16.6":0.05565,"17.0":0.00856,"17.1":0.12415,"17.2":0.03853,"17.3":0.00428,"17.4":0.02569,"17.5":0.01712,"17.6":0.02141,"18.0":0.01712,"18.1":0.00428,"18.2":0.00428,"18.3":0.04281,"18.4":0.02141,"18.5-18.6":0.08562,"26.0":0.14127,"26.1":0.00856},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00063,"5.0-5.1":0,"6.0-6.1":0.00251,"7.0-7.1":0.00188,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.00564,"10.0-10.2":0.00063,"10.3":0.01066,"11.0-11.2":0.15795,"11.3-11.4":0.00376,"12.0-12.1":0.00125,"12.2-12.5":0.03071,"13.0-13.1":0,"13.2":0.00313,"13.3":0.00125,"13.4-13.7":0.00501,"14.0-14.4":0.01066,"14.5-14.8":0.01128,"15.0-15.1":0.01066,"15.2-15.3":0.00815,"15.4":0.0094,"15.5":0.01066,"15.6-15.8":0.13915,"16.0":0.0188,"16.1":0.0351,"16.2":0.01818,"16.3":0.03259,"16.4":0.00815,"16.5":0.01442,"16.6-16.7":0.18616,"17.0":0.01316,"17.1":0.02006,"17.2":0.01442,"17.3":0.02131,"17.4":0.03761,"17.5":0.06456,"17.6-17.7":0.16297,"18.0":0.03698,"18.1":0.07647,"18.2":0.04137,"18.3":0.13288,"18.4":0.06832,"18.5-18.6":3.48377,"26.0":0.43061,"26.1":0.01567},P:{"20":0.02048,"21":0.11265,"22":0.12289,"23":0.20481,"24":0.07168,"25":0.06144,"26":0.10241,"27":0.20481,"28":2.1198,"29":0.12289,_:"4 5.0-5.4 8.2 9.2 10.1 12.0 16.0","6.2-6.4":0.01024,"7.2-7.4":0.03072,"11.1-11.2":0.01024,"13.0":0.02048,"14.0":0.01024,"15.0":0.01024,"17.0":0.01024,"18.0":0.02048,"19.0":0.01024},I:{"0":0.09709,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00002,"4.4":0,"4.4.3-4.4.4":0.00005},K:{"0":1.18383,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.40241,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":1.29249},Q:{"14.9":0.10866},O:{"0":0.41749},H:{"0":0},L:{"0":49.75618}};