diff options
author | Matt Borland <matt.borland@hp.com> | 2015-10-16 09:05:30 -0600 |
---|---|---|
committer | Matt Borland <matt.borland@hpe.com> | 2015-10-19 15:15:58 +0000 |
commit | 08fb123f8b65dbe60cbcdda877dc9fa64c1725ad (patch) | |
tree | 94566eb62a16ecb23d2b2dbc9da231036cbaa232 /openstack_dashboard/karma.conf.js | |
parent | fa43b9df0cda5eb707d16006c12bad8c110da67b (diff) | |
download | horizon-08fb123f8b65dbe60cbcdda877dc9fa64c1725ad.tar.gz |
Improving JS unit test branch coverage
This patch is testing untested branches.
There is a bug in the Launch Instance model where it is supposed to
remove null properties from the top level of the model. It is not doing
that properly. So that bug is also fixed.
This patch currently raises the branch coverage in openstack_dashboard
from ~84% to ~89%.
Closes-bug: 1506891
Change-Id: I7434126246b15209b62daeff75744e0a3b435494
Diffstat (limited to 'openstack_dashboard/karma.conf.js')
-rw-r--r-- | openstack_dashboard/karma.conf.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/karma.conf.js b/openstack_dashboard/karma.conf.js index 3c9e6ba4b..8e266d07f 100644 --- a/openstack_dashboard/karma.conf.js +++ b/openstack_dashboard/karma.conf.js @@ -162,7 +162,7 @@ module.exports = function (config) { // Coverage threshold values. thresholdReporter: { statements: 90, // target 100 - branches: 84, // target 100 + branches: 89, // target 100 functions: 89, // target 100 lines: 90 // target 100 } |