HUE-8981 [editor] Add setup for headless testing of ko components and initial tests for sessionPanel

Review Request #14274 - Created Sept. 9, 2019 and updated

Johan Åhlén
hue
master
hue
jgauthier, ranade, romain, roohi, weixia, yingc
commit f4ae7b8ab4505a57b16fd6886d21e6c7c59d29c4
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Sep 9 14:01:20 2019 -0700

    HUE-8981 [editor] Add setup for headless testing of ko components and initial tests for sessionPanel

:100644 100644 52c859a66c 3fc59c78cd M	desktop/core/src/desktop/js/ko/components/ko.sessionPanel.js
:000000 100644 0000000000 586da2aaa7 A	desktop/core/src/desktop/js/ko/components/spec/ko.sessionPanel.spec.js
:100644 100644 6d46f35792 93bdbe2e0b M	desktop/core/src/desktop/js/spec/jasmineSetup.js

Manual on Chrome

This uses jsdom to render and bind any ko components.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. Nice!

  2. Also add sample to https://github.com/cloudera/hue/blob/master/docs/docs-site/content/developer/development/_index.md#testing ?

  3. 
      
Loading...