Produced by Araxis Merge on 5/30/2019 1:49:18 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\app | app_spec.js | Fri May 10 18:55:49 2019 UTC |
| 2 | var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\app | app_spec.js | Wed May 29 22:07:17 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 94 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | define([ | |
| 2 | 'under score', | |
| 3 | 'backb one', | |
| 4 | 'mario nette', | |
| 5 | 'json! featureFla gJson', | |
| 6 | 'app', | |
| 7 | ], functio n ( | |
| 8 | _, | |
| 9 | Backbo ne, | |
| 10 | Marion ette, | |
| 11 | Featur eFlagJson, | |
| 12 | App | |
| 13 | ) { | |
| 14 | 'use s trict'; | |
| 15 | ||
| 16 | ||
| 17 | descri be('Eligib ility API integratio n feature flag', fun ction() { | |
| 18 | ||
| 19 | it ('If featu re flag is enabled i n JSON, th en verify function r eturns acc ordingly ' , function () { | |
| 20 | // test set up | |
| 21 | var json Model = ne w Backbone .Model(Fea tureFlagJs on);// moc k JSON fil e | |
| 22 | var flag Exists = j sonModel.h as('CC_ELI G_SERVICE_ DISABLED') ; // confi rm json ha s right na me for fla g | |
| 23 | var elig ServiceDis abled = js onModel.ge t('CC_ELIG _SERVICE_D ISABLED'); | |
| 24 | ||
| 25 | var resu lt = App.i sCcEligFea tureEnable d(); | |
| 26 | if (flag Exists) { | |
| 27 | expe ct(result) .toEqual(! eligServic eDisabled) ; | |
| 28 | } else { | |
| 29 | expe ct(result) .toEqual(f alse); | |
| 30 | } | |
| 31 | }) ; | |
| 32 | }); | |
| 33 | ||
| 34 | descri be('Launch pad URL', function ( ) { | |
| 35 | it ('Returns the correc t Launchpa d URL', fu nction() { | |
| 36 | var json Model = ne w Backbone .Model(Fea tureFlagJs on); | |
| 37 | var laun chpadUrlEx ists = jso nModel.has ('LAUNCHPA D_URL'); | |
| 38 | ||
| 39 | var resu lt = App.g etLaunchpa dUrl(); | |
| 40 | ||
| 41 | if (laun chpadUrlEx ists) { | |
| 42 | expe ct(result) .toEqual(j sonModel.g et('LAUNCH PAD_URL')) ; | |
| 43 | } else { | |
| 44 | expect(res ult).toEqu al('https: // DNS . URL /launchpad '); | |
| 45 | } | |
| 46 | }) ; | |
| 47 | }); | |
| 48 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.