Produced by Araxis Merge on 10/4/2017 8:04:37 AM Central 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 | rdk.zip\rdk\product\production\rdk\src\write\pick-list\labs | lab-order-specimens-fetch-list-itest-spec.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\write\pick-list\labs | lab-order-specimens-fetch-list-itest-spec.js | Tue Oct 3 19:13:23 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 70 |
| Changed | 1 | 10 |
| 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 | /*global s inon, desc ribe, it * / | |
| 2 | 'use stric t'; | |
| 3 | ||
| 4 | var fetch = require( './lab-ord er-specime ns-fetch-l ist').fetc h; | |
| 5 | var fetchD irect = re quire('./l ab-order-s pecimens-f etch-list' ).fetchDir ectRpcCall ; | |
| 6 | var log = sinon.stub (require(' bunyan').c reateLogge r({ name: 'lab-order -specimens -fetch-lis t' })); | |
| 7 | //var log = require( 'bunyan'). createLogg er({ name: 'lab-orde r-specimen s-fetch-li st' }); // Uncomment this line (and comme nt above) to see out put in Int elliJ cons ole | |
| 8 | ||
| 9 | var config uration = { | |
| 10 | enviro nment: 'de velopment' , | |
| 11 | contex t: 'OR CPR S GUI CHAR T', | |
| 12 | host: ' IP ', | |
| 13 | port: PORT , | |
| 14 | accessCode : ' REDACT ', | |
| 15 | verifyCode : ' REDACTED ', | |
| 16 | localIP: ' IP ', | |
| 17 | localA ddress: 'l ocalhost' | |
| 18 | }; | |
| 19 | ||
| 20 | describe(' lab-order- specimens resource i ntegration test', fu nction() { | |
| 21 | it('ca n call the fetch RPC function' , function (done) { | |
| 22 | th is.timeout (200000); | |
| 23 | ||
| 24 | fe tch(log, c onfigurati on, functi on(err, re sult) { | |
| 25 | expect(e rr).to.be. falsy(); | |
| 26 | expect(r esult).to. be.truthy( ); | |
| 27 | done(); | |
| 28 | }) ; //No par ams passed to this | |
| 29 | }); | |
| 30 | ||
| 31 | it('ca n call the fetch dir ect RPC fu nction', f unction (d one) { | |
| 32 | th is.timeout (20000); | |
| 33 | ||
| 34 | fe tchDirect( log, confi guration, function(e rr, result ) { | |
| 35 | expect(e rr).to.be. falsy(); | |
| 36 | expect(r esult).to. be.truthy( ); | |
| 37 | done(); | |
| 38 | }, {searchSt ring: ''}) ; //No par ams passed to this | |
| 39 | }); | |
| 40 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.