atiqsh

Untitled

Apr 27th, 2021
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 164.33 KB | None | 0 0
  1.  
  2. NextGen@NGC MINGW64 /f/digimodules/openmrs-owa-orderentry (master)
  3. $ npm run build:prod
  4.  
  5. > @openmrs/[email protected] build:prod
  6. > npm run test && npm run build
  7.  
  8.  
  9. > @openmrs/[email protected] test F:\digimodules\openmrs-owa-orderentry
  10. > npm run lint && jest --coverage --maxWorkers=4
  11.  
  12.  
  13. > @openmrs/[email protected] lint F:\digimodules\openmrs-owa-orderentry
  14. > eslint . --ext .js,.jsx
  15.  
  16.  
  17. F:\digimodules\openmrs-owa-orderentry\app\js\components\Draft.jsx
  18. 13:46 warning 'locale' is missing in props validation react/prop-types
  19. 76:54 warning 'intl' is missing in props validation react/prop-types
  20. 76:60 warning 'isLoading' is missing in props validation react/prop-types
  21.  
  22. F:\digimodules\openmrs-owa-orderentry\app\js\components\drugOrderEntry\addForm\AddForm.jsx
  23. 65:54 warning 'intl' is missing in props validation react/prop-types
  24. 362:1 warning Trailing spaces not allowed no-trailing-spaces
  25.  
  26. F:\digimodules\openmrs-owa-orderentry\app\js\components\drugOrderEntry\addForm\DrugOrderPrintPreview.jsx
  27. 6:1 warning Expected indentation of 2 spaces but found 4 indent
  28. 7:1 warning Expected indentation of 4 spaces but found 6 indent
  29. 8:1 warning Expected indentation of 6 spaces but found 8 indent
  30. 9:1 warning Expected indentation of 6 spaces but found 8 indent
  31. 10:1 warning Expected indentation of 6 spaces but found 8 indent
  32. 11:1 warning Expected indentation of 4 spaces but found 6 indent
  33. 12:1 warning Expected indentation of 6 spaces but found 8 indent
  34. 13:1 warning Expected indentation of 8 spaces but found 10 indent
  35. 15:1 warning Expected indentation of 8 spaces but found 10 indent
  36. 16:1 warning Expected indentation of 6 spaces but found 8 indent
  37. 17:1 warning Expected indentation of 6 spaces but found 8 indent
  38. 18:1 warning Expected indentation of 8 spaces but found 10 indent
  39. 19:1 warning Expected indentation of 6 spaces but found 8 indent
  40. 20:1 warning Expected indentation of 6 spaces but found 8 indent
  41. 21:1 warning Expected indentation of 8 spaces but found 10 indent
  42. 21:34 warning 'onHide' is missing in props validation react/prop-types
  43. 22:1 warning Expected indentation of 6 spaces but found 8 indent
  44. 23:1 warning Expected indentation of 4 spaces but found 6 indent
  45. 24:1 warning Expected indentation of 2 spaces but found 4 indent
  46. 25:1 warning Expected indentation of 0 spaces but found 2 indent
  47.  
  48. F:\digimodules\openmrs-owa-orderentry\app\js\components\drugOrderEntry\index.jsx
  49. 34:7 warning Do not use setState in componentDidMount react/no-did-mount-set-state
  50. 51:7 warning Do not use setState in componentDidUpdate react/no-did-update-set-state
  51. 59:7 warning Do not use setState in componentDidUpdate react/no-did-update-set-state
  52. 170:59 warning 'backLink' is missing in props validation react/prop-types
  53.  
  54. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabEntryForm.jsx
  55. 58:76 warning 'sessionReducer' is missing in props validation react/prop-types
  56. 58:91 warning 'sessionReducer.locale' is missing in props validation react/prop-types
  57. 86:13 warning 'intl' is missing in props validation react/prop-types
  58.  
  59. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabPanelFieldSet.jsx
  60. 15:69 warning 'locale' is missing in props validation react/prop-types
  61.  
  62. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabTestFieldSet.jsx
  63. 9:65 warning 'locale' is missing in props validation react/prop-types
  64.  
  65. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrderEntryPage.jsx
  66. 47:13 warning 'dispatch' is missing in props validation react/prop-types
  67. 68:13 warning 'intl' is missing in props validation react/prop-types
  68. 82:60 warning 'patient.uuid' is missing in props validation react/prop-types
  69. 175:45 warning 'globalProperties' is missing in props validation react/prop-types
  70. 194:59 warning 'sessionReducer.sessionLocation.uuid' is missing in props validation react/prop-types
  71. 313:34 warning 'orderType' is missing in props validation react/prop-types
  72. 332:1 warning Expected indentation of 20 spaces but found 18 indent
  73. 351:1 warning Expected indentation of 24 spaces but found 22 indent
  74. 352:1 warning Expected indentation of 26 spaces but found 24 indent
  75. 353:1 warning Expected indentation of 24 spaces but found 22 indent
  76. 354:1 warning Expected indentation of 22 spaces but found 20 indent
  77. 356:1 warning Expected indentation of 24 spaces but found 22 indent
  78. 357:1 warning Expected indentation of 26 spaces but found 24 indent
  79. 358:1 warning Expected indentation of 28 spaces but found 26 indent
  80. 359:1 warning Expected indentation of 30 spaces but found 28 indent
  81. 360:1 warning Expected indentation of 28 spaces but found 26 indent
  82. 361:1 warning Expected indentation of 28 spaces but found 26 indent
  83. 362:1 warning Expected indentation of 28 spaces but found 26 indent
  84. 363:1 warning Expected indentation of 28 spaces but found 26 indent
  85. 364:1 warning Expected indentation of 26 spaces but found 24 indent
  86. 365:1 warning Expected indentation of 24 spaces but found 22 indent
  87. 366:1 warning Expected indentation of 22 spaces but found 20 indent
  88. 379:59 warning 'sessionReducer.locale' is missing in props validation react/prop-types
  89.  
  90. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrderHeader.jsx
  91. 14:1 warning Expected indentation of 0 spaces but found 4 indent
  92. 14:6 warning Missing semicolon semi
  93. 19:3 warning 'intl' is missing in props validation react/prop-types
  94.  
  95. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrdersTable.jsx
  96. 148:57 warning 'sessionReducer.sessionLocation.uuid' is missing in props validation react/prop-types
  97. 178:51 warning 'orderType' is missing in props validation react/prop-types
  98.  
  99. ✖ 62 problems (0 errors, 62 warnings)
  100. 0 errors, 38 warnings potentially fixable with the `--fix` option.
  101.  
  102. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  103. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  104.  
  105. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  106. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  107.  
  108. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  109. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  110.  
  111. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  112. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  113.  
  114. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  115. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  116.  
  117. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  118. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  119.  
  120. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  121. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  122.  
  123. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  124. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  125.  
  126. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  127. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  128.  
  129. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  130. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  131.  
  132. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  133. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  134.  
  135. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  136. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  137.  
  138. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  139. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  140.  
  141. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  142. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  143.  
  144. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  145. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  146.  
  147. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  148. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  149.  
  150. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  151. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  152.  
  153. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  154. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  155.  
  156. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  157. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  158.  
  159. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  160. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  161.  
  162. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  163. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  164.  
  165. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  166. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  167.  
  168. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  169. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  170.  
  171. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  172. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  173.  
  174. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  175. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  176.  
  177. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  178. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  179.  
  180. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  181. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  182.  
  183. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  184. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  185.  
  186. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  187. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  188.  
  189. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  190. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  191.  
  192. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  193. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  194.  
  195. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  196. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  197.  
  198. console.error node_modules\prop-types\checkPropTypes.js:19
  199. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabPanelFieldSet`, but its value is `undefined`.
  200. in LabPanelFieldSet (created by LabEntryForm)
  201. in LabEntryForm (created by WrapperComponent)
  202. in WrapperComponent
  203.  
  204. console.error node_modules\prop-types\checkPropTypes.js:19
  205. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabTestFieldSet`, but its value is `undefined`.
  206. in LabTestFieldSet (created by LabEntryForm)
  207. in LabEntryForm (created by WrapperComponent)
  208. in WrapperComponent
  209.  
  210. PASS tests\components\labOrderEntry\LabEntryForm.test.jsx (8.843s)
  211. Component: LabEntryForm
  212. √ should render on initial setup (129ms)
  213. √ should be able to select a category (33ms)
  214. √ should dispatch an action to remove a test panel from the draft (12ms)
  215. √ should dispatch an action to add a test panel to the draft (11ms)
  216. √ should dispatch an action to handle single test selection (10ms)
  217. √ should dispatch an action to handle single test deletion (10ms)
  218. √ should dispatch an action to handle panel deletion (15ms)
  219. √ should dispatch an action to handle deletion of all items from the draft (11ms)
  220. √ should change the default lab form's tests category by toggling component state (24ms)
  221. √ shows a toast prompt when test is submitted successfully (17ms)
  222. √ shows a toast prompt when there is an error in submission (13ms)
  223. √ does not render the past order component if the
  224. length of the results props is less than 1 (13ms)
  225. √ should have lab orderables displayed in the category list (11ms)
  226.  
  227. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  228. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  229.  
  230. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  231. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  232.  
  233. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  234. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  235.  
  236. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  237. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  238.  
  239. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  240. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  241.  
  242. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  243. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  244.  
  245. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  246. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  247.  
  248. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  249. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  250.  
  251. PASS tests\reducers\encounterRoleReducer.test.js
  252. encounterRole reducer for get actions
  253. √ should return loading as true (2ms)
  254. √ should return encounterRole (1ms)
  255. √ should return an error (1ms)
  256.  
  257. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  258. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  259.  
  260. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  261. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  262.  
  263. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  264. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  265.  
  266. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  267. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  268.  
  269. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  270. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  271.  
  272. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  273. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  274.  
  275. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  276. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  277.  
  278. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  279. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  280.  
  281. console.error node_modules\prop-types\checkPropTypes.js:19
  282. Warning: Failed prop type: The prop `currentOrderType` is marked as required in `AddForm`, but its value is `undefined`.
  283. in AddForm
  284.  
  285. console.error node_modules\prop-types\checkPropTypes.js:19
  286. Warning: Failed prop type: The prop `outpatientCareSetting` is marked as required in `SearchAndAddOrder`, but its value is `undefined`.
  287. in SearchAndAddOrder
  288.  
  289. PASS tests\components\DrugOrderEntry\index.test.jsx (102.461s)
  290. Test for Searching and Adding an order
  291. √ should render component (10ms)
  292. √ should render component during edit activity (6ms)
  293. √ should set the details of an order in the state
  294. if activity is DRAFT_ORDER_EDIT and there is a selectedOrder (3ms)
  295. √ should render component (3ms)
  296. componentDidUpdate method
  297. √ should set the details of an order in the state
  298. if activity is DRAFT_ORDER_EDIT, there was no draftOrder in the state,
  299. and there is a selectedOrder (5ms)
  300. √ should update the details of the order in the state
  301. if activity is DRAFT_ORDER_EDIT but the selectedOrder has changed (3ms)
  302. √ should clear the details of an order in the state
  303. if there is no selectedOrder (2ms)
  304. onSelectDrug() method
  305. √ sets state to value passed as argument (24ms)
  306. onChange() method
  307. √ should sets state to value passed as argument (2ms)
  308. clearSearchField() method
  309. √ resets the state of the component (2ms)
  310. handleEditActiveDrugOrder() method
  311. √ sets state to value in props (6ms)
  312. removeOrder() method
  313. √ resets the draftOrder and editOrder values in state (2ms)
  314. handleEditDraftOrder() method
  315. √ sets draftOrder value in state to parsed argument (2ms)
  316. handleDiscardOneOrder
  317. √ should be called on discarding one draft order (2ms)
  318. √ should call setOrderAction with DISCARD_EDIT argument if action is REVISE (3ms)
  319. √ should call setOrderAction with DISCARD_ONE argument if action is not REVISE (1ms)
  320.  
  321. console.error node_modules\fbjs\lib\warning.js:33
  322. Warning: Each child in an array or iterator should have a unique "key" prop.
  323.  
  324. Check the render method of `StandardDose`. See https://fb.me/react-warning-keys for more information.
  325. in option (created by StandardDose)
  326. in StandardDose (created by AddForm)
  327. in div (created by DosageTabs)
  328. in DosageTabs (created by AddForm)
  329. in div (created by AddForm)
  330. in div (created by AddForm)
  331. in AddForm (created by WrapperComponent)
  332. in WrapperComponent
  333.  
  334. console.error node_modules\fbjs\lib\warning.js:33
  335. Warning: A component is changing a controlled input of type undefined to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components
  336. in input (created by StandardDose)
  337. in p (created by StandardDose)
  338. in div (created by StandardDose)
  339. in div (created by StandardDose)
  340. in form (created by StandardDose)
  341. in div (created by StandardDose)
  342. in StandardDose (created by AddForm)
  343. in div (created by DosageTabs)
  344. in DosageTabs (created by AddForm)
  345. in div (created by AddForm)
  346. in div (created by AddForm)
  347. in AddForm (created by WrapperComponent)
  348. in WrapperComponent
  349.  
  350. console.error node_modules\prop-types\checkPropTypes.js:19
  351. Warning: Failed prop type: Invalid prop `createOrderReducer.errorMessage` of type `array` supplied to `AddForm`, expected `string`.
  352. in AddForm
  353.  
  354. PASS tests\components\DrugOrderEntry\addForm\AddForm.test.jsx (114.898s)
  355. Test for adding a new drug order
  356. √ should render component (22ms)
  357. Outpatient orders
  358. Activate and deactivate Confirm button under standard dosing form
  359. √ should be deactivated without both dispensing quantity and units (146ms)
  360. √ should be deactivated with dispensing quantity without units (174ms)
  361. √ should be activated with both dispensing Quantity and units (121ms)
  362. Activate and deactivate Confirm button under free text form
  363. √ should activate when the required fields are filled (72ms)
  364. Validation of fields
  365. √ should deactivate confirm button with invalid dose units (71ms)
  366. √ should display error with invalid dosing units (34ms)
  367. √ should activate with valid dose units (74ms)
  368. √ should deactivate with invalid frequency (38ms)
  369. √ should deactivate with invalid route (39ms)
  370. √ should deactivate with invalid dispensing unit (51ms)
  371. √ should deactivate if duration is valid but duration unit is invalid (60ms)
  372. Test AddForm state
  373. √ should update state (70ms)
  374. handleFormType() method
  375. √ sets state when method is triggered (6ms)
  376. handleFormTabs() method
  377. √ sets state when method is triggered (23ms)
  378. handleCancel() method
  379. √ dispatches clearSearchField prop when fired (29ms)
  380. populateEditOrderForm() method
  381. √ sests state to data in editOrder and draftOrder props (12ms)
  382. clearDrugForms() method
  383. √ resets the data in state (27ms)
  384. handleSubmitDrugForm() method
  385. √ it dispatches the addDraftOrder, selectDrugSuccess,
  386. setOrderAction props when method is fired (12ms)
  387. √ dispatches setSelectedOrder if activity is DRAFT_ORDER_EDIT (18ms)
  388. √ sets state accordingly (29ms)
  389. √ displays a toast with message if a drug has an active order (14ms)
  390. √ displays a toast with message if a drug has been added successfully (8ms)
  391. √ displays a toast with message if a an error occured in adding drug (10ms)
  392. √ should change the selected order after a drug has been added (7ms)
  393.  
  394. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  395. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  396.  
  397. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  398. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  399.  
  400. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  401. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  402.  
  403. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  404. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  405.  
  406. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  407. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  408.  
  409. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  410. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  411.  
  412. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  413. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  414.  
  415. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  416. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  417.  
  418. console.error node_modules\prop-types\checkPropTypes.js:19
  419. Warning: Failed prop type: The prop `note` is marked as required in `OrderEntryPage`, but its value is `undefined`.
  420. in OrderEntryPage
  421.  
  422. console.error node_modules\prop-types\checkPropTypes.js:19
  423. Warning: Failed prop type: The prop `discardTestsInDraft` is marked as required in `OrderEntryPage`, but its value is `undefined`.
  424. in OrderEntryPage
  425.  
  426. PASS tests\components\orderentry\OrderEntryPage.test.jsx (115.968s)
  427. √ shows a toast prompt when there is an error in submission (2ms)
  428. Test for Order entry page when orderentryowa.encounterType is set
  429. √ should render component (41ms)
  430. √ should render Loader Images (7ms)
  431. √ should not show error (8ms)
  432. √ renders the patient-orders component (73ms)
  433. √ should switch the order type in the state (18ms)
  434. √ does not switch order type page if the current
  435. orderType is same as the new orderType (4ms)
  436. when orderentryowa.encounterType is not set
  437. √ should not render DrugOrderEntry Component (12ms)
  438. √ should show error (5ms)
  439. when orderentryowa.encounterRole is set
  440. √ should not show error (7ms)
  441. when orderentryowa.encounterRole is not set
  442. √ should not render DrugOrderEntry Component (5ms)
  443. √ should show error (6ms)
  444. when orderentryowa.dateAndTimeFormat is set
  445. √ should not show error (4ms)
  446. √ should show error (8ms)
  447. Handling Submit
  448. √ It dispatches create lab order action if the handleSubmit method is triggered (11ms)
  449. √ shows a toast prompt when test is submitted successfully (1ms)
  450. Connected OrderEntryPage component
  451. √ component successfully rendered (4ms)
  452.  
  453. PASS tests\actions\settingEncounterRole.test.js
  454. Get the encounterRole configuration actions
  455. √ should create an action to store fetched configuration (1ms)
  456. √ should create an action to log failure (1ms)
  457. Get setting for encounterRole API call
  458. √ should dispatch `SETTING_ENCOUNTER_ROLE_SUCCESS` with results (307ms)
  459. √ should dispatch `SETTING_ENCOUNTER_ROLE_FAILURE` if empty results returned (106ms)
  460. √ should dispatch `SETTING_ENCOUNTER_ROLE_FAILURE` after an error (178ms)
  461. √ should dispatch `NETWORK_ERROR` when there is a network error (103ms)
  462.  
  463. PASS tests\route.test.js (116.633s)
  464. Routes
  465. √ successfully rendered (26ms)
  466.  
  467. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  468. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  469.  
  470. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  471. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  472.  
  473. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  474. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  475.  
  476. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  477. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  478.  
  479. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  480. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  481.  
  482. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  483. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  484.  
  485. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  486. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  487.  
  488. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  489. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  490.  
  491. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  492. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  493.  
  494. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  495. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  496.  
  497. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  498. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  499.  
  500. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  501. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  502.  
  503. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  504. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  505.  
  506. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  507. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  508.  
  509. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  510. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  511.  
  512. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  513. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  514.  
  515. PASS tests\actions\labOrderTest\settingLabOrderableAction.test.js
  516. Get the lab orderable uuid actions
  517. √ should create an action to store fetched lab Orderable uuid (1ms)
  518. √ should create an action to log failure (1ms)
  519. Get setting for Lab orderable API call
  520. √ should dispatch `GET_LAB_ORDERABLES_SUCCESS` after sucessful fetching (131ms)
  521. √ should return a network error when reponse result is empty (102ms)
  522. √ should dispatch `GET_LAB_ORDERABLES_FAILURE` after an error (104ms)
  523.  
  524. PASS tests\actions\settingEncounterType.test.js
  525. Get the encounterType configuration actions
  526. √ should create an action to store fetched configuration (2ms)
  527. √ should create an action to log failure (3ms)
  528. Get setting for encounterType API call
  529. √ should dispatch `SETTING_ENCOUNTER_TYPE_SUCCESS` after sucessful fetching (105ms)
  530. √ should dispatch `SETTING_ENCOUNTER_TYPE_SUCCESS` after an error (105ms)
  531.  
  532. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  533. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  534.  
  535. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  536. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  537.  
  538. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  539. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  540.  
  541. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  542. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  543.  
  544. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  545. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  546.  
  547. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  548. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  549.  
  550. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  551. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  552.  
  553. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  554. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  555.  
  556. console.error node_modules\prop-types\checkPropTypes.js:19
  557. Warning: Failed prop type: Invalid prop `sessionReducer.sessionLocation` of type `string` supplied to `OrdersTable`, expected `object`.
  558. in OrdersTable
  559.  
  560. console.error node_modules\fbjs\lib\warning.js:33
  561. Warning: Encountered two children with the same key, `2`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
  562. in OrdersTable (created by WrapperComponent)
  563. in WrapperComponent
  564.  
  565. console.error node_modules\fbjs\lib\warning.js:33
  566. Warning: validateDOMNesting(...): <tr> cannot appear as a child of <div>.
  567. in tr (created by Accordion)
  568. in Accordion (created by OrdersTable)
  569. in OrdersTable (created by WrapperComponent)
  570. in WrapperComponent
  571.  
  572. console.error node_modules\fbjs\lib\warning.js:33
  573. Warning: Encountered two children with the same key, `2`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
  574. in OrdersTable (created by WrapperComponent)
  575. in WrapperComponent
  576.  
  577. console.error node_modules\fbjs\lib\warning.js:33
  578. Warning: validateDOMNesting(...): <tr> cannot appear as a child of <div>.
  579. in tr (created by OrdersTable)
  580. in OrdersTable (created by InjectIntl(OrdersTable))
  581. in InjectIntl(OrdersTable) (created by Connect(InjectIntl(OrdersTable)))
  582. in Connect(InjectIntl(OrdersTable)) (created by WrapperComponent)
  583. in WrapperComponent
  584.  
  585. console.error node_modules\prop-types\checkPropTypes.js:19
  586. Warning: Failed prop type: The prop `allConfigurations` is marked as required in `OrdersTable`, but its value is `undefined`.
  587. in OrdersTable
  588.  
  589. console.error node_modules\prop-types\checkPropTypes.js:19
  590. Warning: Failed prop type: The prop `encounterType` is marked as required in `OrdersTable`, but its value is `undefined`.
  591. in OrdersTable
  592.  
  593. console.error node_modules\prop-types\checkPropTypes.js:19
  594. Warning: Failed prop type: The prop `encounterRole` is marked as required in `OrdersTable`, but its value is `undefined`.
  595. in OrdersTable
  596.  
  597. (node:8156) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
  598. (Use `node --trace-warnings ...` to show where the warning was created)
  599. (node:8156) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
  600. (node:8156) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  601. (node:8156) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
  602. (node:8156) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
  603. PASS tests\components\orderentry\OrdersTable.test.jsx
  604. Orders component test-suite
  605. √ renders properly (177ms)
  606. √ does not render any data if the result array is empty (18ms)
  607. √ handles editing of active orders (24ms)
  608. getUUID() method
  609. √ should call getUUID() (29ms)
  610. setDiscontinuedOrder method for drug orders
  611. √ should call setDiscontinuedOrder for drug orders (6ms)
  612. setDiscontinuedOrder method for lab orders
  613. √ should call setDiscontinuedOrder for lab orders (2ms)
  614. discontinueOrder method
  615. √ should call discontinueOrder (2ms)
  616.  
  617. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  618. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  619.  
  620. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  621. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  622.  
  623. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  624. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  625.  
  626. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  627. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  628.  
  629. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  630. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  631.  
  632. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  633. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  634.  
  635. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  636. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  637.  
  638. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  639. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  640.  
  641. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  642. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  643.  
  644. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  645. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  646.  
  647. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  648. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  649.  
  650. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  651. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  652.  
  653. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  654. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  655.  
  656. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  657. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  658.  
  659. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  660. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  661.  
  662. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  663. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  664.  
  665. PASS tests\components\searchDrug\index.test.jsx
  666. Component: SearchDrug: Container
  667. √ should render properly (6ms)
  668. Interactions
  669. √ should call searchDrug() with debounce feature (13ms)
  670. √ should not call searchDrug() (4ms)
  671. √ should call onChange() (3ms)
  672. √ should call onOptionSelected() (3ms)
  673. Connected SearchDrug component
  674. √ component successfully rendered (6ms)
  675.  
  676. console.warn app\js\middlewares\responseHandlerMiddleware.js:27
  677. GET_DATE_FAILURE-Error: incomplete config
  678.  
  679. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  680. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  681.  
  682. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  683. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  684.  
  685. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  686. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  687.  
  688. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  689. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  690.  
  691. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  692. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  693.  
  694. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  695. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  696.  
  697. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  698. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  699.  
  700. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  701. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  702.  
  703. console.warn app\js\middlewares\responseHandlerMiddleware.js:45
  704. FETCH_ENCOUNTER_TYPE_FAILURE-Error: incomplete config
  705.  
  706. PASS tests\middlewares\responseHandlerMiddleware.test.js
  707. responseHandlerMiddleware
  708. √ must return a function to handle next action (2ms)
  709. √ should handle GET_DATE_SUCCESS action without valid date format response (2ms)
  710. √ should handle GET_DATE_SUCCESS action for valid date format responses (1ms)
  711. √ should throw an error for GET_DATE_SUCCESS action for invalid date format responses (207ms)
  712. √ should handle responses for either of FETCH_ENCOUNTER_ROLE_SUCCESS or FETCH_ENCOUNTER_TYPE_SUCCESS when there is no result (54ms)
  713. √ should handle responses for either of FETCH_ENCOUNTER_ROLE_SUCCESS or FETCH_ENCOUNTER_TYPE_SUCCESS when there is a valid result (1ms)
  714. √ should handle responses for LOAD_PAST_ORDERS_SUCCESS when there is a valid result (1ms)
  715. √ should dispatch DISCONTINUE_ACTIVE_DRUG_ORDER after POST_DRUG_ORDER_SUCCESS when meta activity is set to DISCONTINUE (4ms)
  716. √ should handle responses for all actions after promise has been resolved (1ms)
  717. √ should always pass the action to the next middleware if no conditions are met to be handled by it (1ms)
  718. √ should dispatch SAVE_DRAFT_LAB_ORDER_SUCCESS (20ms)
  719.  
  720. PASS tests\reducers\patientReducer.test.js
  721. Patient Reducer
  722. √ set state to initial state when no new state is passed (1ms)
  723. SET_PATIENT
  724. √ set the patient with provided data (1ms)
  725. √ set the patient to empty array if the request fails
  726.  
  727. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  728. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  729.  
  730. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  731. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  732.  
  733. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  734. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  735.  
  736. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  737. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  738.  
  739. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  740. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  741.  
  742. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  743. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  744.  
  745. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  746. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  747.  
  748. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  749. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  750.  
  751. console.error node_modules\fbjs\lib\warning.js:33
  752. Warning: Encountered two children with the same key, `draft-order-undefined`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
  753. in ul (created by Draft)
  754. in div (created by Draft)
  755. in div (created by Draft)
  756. in Draft (created by WrapperComponent)
  757. in WrapperComponent
  758.  
  759. PASS tests\components\Draft.test.jsx
  760. Component: Draft
  761. √ should render on initial setup (41ms)
  762. √ should display the action buttons (19ms)
  763. √ Should be able to display drug data to the list (30ms)
  764. √ Should simulate the discard event (54ms)
  765. √ trigggers handleSubmit props when the submit button is clicked (17ms)
  766.  
  767. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  768. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  769.  
  770. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  771. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  772.  
  773. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  774. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  775.  
  776. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  777. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  778.  
  779. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  780. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  781.  
  782. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  783. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  784.  
  785. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  786. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  787.  
  788. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  789. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  790.  
  791. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  792. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  793.  
  794. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  795. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  796.  
  797. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  798. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  799.  
  800. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  801. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  802.  
  803. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  804. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  805.  
  806. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  807. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  808.  
  809. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  810. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  811.  
  812. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  813. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  814.  
  815. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  816. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  817.  
  818. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  819. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  820.  
  821. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  822. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  823.  
  824. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  825. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  826.  
  827. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  828. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  829.  
  830. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  831. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  832.  
  833. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  834. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  835.  
  836. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  837. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  838.  
  839. PASS tests\reducers\pastOrdersReducer.test.js
  840. Past Orders Reducer
  841. √ set state to initial state when no new state is passed (1ms)
  842. √ should set past orders fetch error (1ms)
  843. √ should set past orders page count (1ms)
  844. √ should set past orders page count (1ms)
  845. √ should set the loading status for fetching past orders (1ms)
  846.  
  847. PASS tests\actions\labOrderTest\labConceptsAction.test.js
  848. Getting Lab Concepts action
  849. Lab Concepts API call
  850. √ creates FETCH_LAB_CONCEPTS_SUCCESS and FETCH_LAB_CONCEPTS_SUCCESS after sucessfully fetching (133ms)
  851.  
  852. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  853. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  854.  
  855. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  856. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  857.  
  858. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  859. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  860.  
  861. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  862. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  863.  
  864. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  865. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  866.  
  867. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  868. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  869.  
  870. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  871. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  872.  
  873. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  874. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  875.  
  876. PASS tests\actions\labOrderTest\fetchLabOrderAction.test.js
  877. fetchLabOrders action
  878. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_LAB_ORDERS_SUCCESS
  879. action types upon success response from server when nouri ispassed but with given limits (58ms)
  880. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_LAB_ORDERS_SUCCESS
  881. action types upon success response from server when uri is passed with no limits (18ms)
  882.  
  883. PASS tests\reducers\locationReducer.test.js
  884. Location Reducer
  885. √ set state to initial state when no new state is passed
  886. SET_LOCATIONS
  887. √ set the app locations with provided data (2ms)
  888.  
  889. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  890. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  891.  
  892. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  893. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  894.  
  895. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  896. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  897.  
  898. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  899. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  900.  
  901. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  902. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  903.  
  904. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  905. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  906.  
  907. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  908. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  909.  
  910. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  911. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  912.  
  913. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  914. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  915.  
  916. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  917. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  918.  
  919. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  920. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  921.  
  922. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  923. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  924.  
  925. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  926. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  927.  
  928. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  929. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  930.  
  931. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  932. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  933.  
  934. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  935. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  936.  
  937. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  938. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  939.  
  940. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  941. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  942.  
  943. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  944. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  945.  
  946. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  947. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  948.  
  949. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  950. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  951.  
  952. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  953. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  954.  
  955. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  956. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  957.  
  958. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  959. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  960.  
  961. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  962. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  963.  
  964. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  965. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  966.  
  967. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  968. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  969.  
  970. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  971. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  972.  
  973. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  974. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  975.  
  976. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  977. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  978.  
  979. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  980. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  981.  
  982. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  983. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  984.  
  985. PASS tests\reducers\drugSearchReducer.test.js
  986. drugSearch Reducer
  987. SEARCH_DRUGS_SUCCESS
  988. √ set the patient with provided data (2ms)
  989. SEARCH_DRUGS_FAILURE
  990. √ set the patient with provided data (2ms)
  991. SEARCH_DRUGS_LOADING
  992. √ set the patient with provided data (1ms)
  993. SELECT_DRUG
  994. √ set the selected drug (1ms)
  995. √ set the selected drug to empty
  996.  
  997. PASS tests\actions\careSetting.test.js
  998. fetchPatientCareSetting action
  999. √ creates PATIENT_CARESETTING_LOADING and PATIENT_CARESETTING_SUCCESS
  1000. action types upon success response from server (7ms)
  1001.  
  1002. console.error node_modules\prop-types\checkPropTypes.js:19
  1003. Warning: Failed prop type: The prop `backLink` is marked as required in `AllOrders`, but its value is `undefined`.
  1004. in AllOrders
  1005.  
  1006. PASS tests\components\orderentry\AllOrders.test.jsx
  1007. AllOrders test-suite
  1008. √ renders component properly (1ms)
  1009. √ sets the pagination urls in the Paginate component (14ms)
  1010.  
  1011. PASS tests\reducers\draftReducer\draftDrugOrderReducer.test.js
  1012. Draft Table Reducer
  1013. √ should set the state of a successful added draft order (2ms)
  1014. √ should set the state of a successful deleted draft order (1ms)
  1015. √ should set the state of successful deleted draft orders (1ms)
  1016.  
  1017. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1018. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1019.  
  1020. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1021. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1022.  
  1023. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1024. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1025.  
  1026. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1027. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1028.  
  1029. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1030. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1031.  
  1032. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1033. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1034.  
  1035. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1036. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1037.  
  1038. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1039. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1040.  
  1041. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1042. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1043.  
  1044. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1045. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1046.  
  1047. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1048. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1049.  
  1050. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1051. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1052.  
  1053. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1054. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1055.  
  1056. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1057. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1058.  
  1059. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1060. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1061.  
  1062. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1063. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1064.  
  1065. PASS tests\actions\drug.test.js
  1066. selectDrug action
  1067. √ should call `SELECT_DRUG` when drug is selected (3ms)
  1068. searchDrug action
  1069. √ creates SEARCH_DRUGS_LOADING and SEARCH_DRUGS_SUCCESS
  1070. action types upon success response from server (3ms)
  1071.  
  1072. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1073. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1074.  
  1075. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1076. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1077.  
  1078. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1079. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1080.  
  1081. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1082. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1083.  
  1084. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1085. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1086.  
  1087. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1088. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1089.  
  1090. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1091. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1092.  
  1093. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1094. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1095.  
  1096. PASS tests\actions\fetchOrdersAction.test.js
  1097. fetchOrders action
  1098. √ creates FETCH_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  1099. action types upon success response from server when no url ispassed but with given limits (10ms)
  1100. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  1101. action types upon success response from server when uri is passed with no limits (102ms)
  1102.  
  1103. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1104. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1105.  
  1106. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1107. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1108.  
  1109. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1110. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1111.  
  1112. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1113. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1114.  
  1115. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1116. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1117.  
  1118. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1119. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1120.  
  1121. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1122. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1123.  
  1124. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1125. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1126.  
  1127. PASS tests\actions\fetchAllOrdersAction.test.js
  1128. fetchOrders action
  1129. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  1130. action types upon success response from server when uri is passed with no limits (103ms)
  1131.  
  1132. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1133. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1134.  
  1135. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1136. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1137.  
  1138. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1139. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1140.  
  1141. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1142. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1143.  
  1144. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1145. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1146.  
  1147. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1148. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1149.  
  1150. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1151. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1152.  
  1153. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1154. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1155.  
  1156. PASS tests\reducers\noteReducer.test.js
  1157. Note Reducer
  1158. √ set state to initial state when no new state is passed
  1159. SET_NOTE
  1160. √ set the patient with provided data (1ms)
  1161.  
  1162. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1163. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1164.  
  1165. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1166. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1167.  
  1168. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1169. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1170.  
  1171. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1172. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1173.  
  1174. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1175. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1176.  
  1177. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1178. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1179.  
  1180. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1181. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1182.  
  1183. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1184. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1185.  
  1186. PASS tests\actions\labOrderTest\labOrderableAction.test.js
  1187. getLabOrderable Action
  1188. √ creates FETCH_LAB_ORDERABLES_LOADING and FETCH_LAB_ORDERABLES_SUCCESS
  1189. action types upon success response from server (101ms)
  1190.  
  1191. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1192. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1193.  
  1194. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1195. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1196.  
  1197. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1198. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1199.  
  1200. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1201. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1202.  
  1203. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1204. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1205.  
  1206. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1207. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1208.  
  1209. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1210. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1211.  
  1212. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1213. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1214.  
  1215. console.error node_modules\prop-types\checkPropTypes.js:19
  1216. Warning: Failed prop type: The prop `orderType` is marked as required in `SelectOrderType`, but its value is `undefined`.
  1217. in SelectOrderType (created by Connect(SelectOrderType))
  1218. in Connect(SelectOrderType) (created by WrapperComponent)
  1219. in WrapperComponent
  1220.  
  1221. console.error node_modules\react-intl\lib\index.js:1533
  1222. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  1223.  
  1224. console.error node_modules\react-intl\lib\index.js:1533
  1225. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  1226.  
  1227. console.error node_modules\react-intl\lib\index.js:1533
  1228. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  1229.  
  1230. PASS tests\components\orderentry\SelectOrderType.test.jsx
  1231. Component: orderentry: SelectOrderType
  1232. √ should render two dropdown type navs (25ms)
  1233. √ the current order type should have a border styling (22ms)
  1234. √ clicking the button should call switchOrderType (12ms)
  1235.  
  1236. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1237. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1238.  
  1239. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1240. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1241.  
  1242. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1243. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1244.  
  1245. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1246. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1247.  
  1248. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1249. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1250.  
  1251. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1252. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1253.  
  1254. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1255. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1256.  
  1257. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1258. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1259.  
  1260. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1261. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1262.  
  1263. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1264. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1265.  
  1266. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1267. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1268.  
  1269. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1270. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1271.  
  1272. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1273. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1274.  
  1275. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1276. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1277.  
  1278. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1279. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1280.  
  1281. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1282. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1283.  
  1284. PASS tests\reducers\fetchOrdersReducer.test.js
  1285. fetchorders reducer test-suite
  1286. √ sets status key loading to true upon action type
  1287. FETCH_ORDERS_LOADING (1ms)
  1288. √ sets status key fetched to true and parses data from payload
  1289. to Orders key on FETCH_ORDERS_SUCCESS (2ms)
  1290. √ sets status key error to true and parses errormessage from
  1291. payload to key errorMessage on FETCH_ORDERS_FAILURE (1ms)
  1292. √ filters the data in the results array upon action type SORT_AND_FILTER (1ms)
  1293. √ filters from the original data if the filter array is empty (1ms)
  1294. √ returns all the data if sortQuery value is all and sortBy is type (1ms)
  1295. √ returns initial state if action type is not handled (1ms)
  1296. √ should remove a discontinued active order from the state
  1297.  
  1298. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1299. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1300.  
  1301. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1302. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1303.  
  1304. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1305. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1306.  
  1307. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1308. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1309.  
  1310. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1311. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1312.  
  1313. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1314. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1315.  
  1316. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1317. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1318.  
  1319. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1320. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1321.  
  1322. PASS tests\actions\dateFormat.test.js
  1323. getDateFormat action
  1324. √ creates GET_DATE_LOADING and GET_DATE_SUCCESS
  1325. action types upon success response from server (4ms)
  1326.  
  1327. PASS tests\actions\patient.test.js
  1328. Patient actions
  1329. √ fetch patient records (8ms)
  1330. √ fetch patient records failure case (7ms)
  1331. √ fetch patient's note (4ms)
  1332.  
  1333. PASS tests\components\DrugOrderEntry\addForm\StandardDose.test.jsx
  1334. Test for Standard dose form
  1335. √ should render field errors if they exist (15ms)
  1336. Rendering with initial props
  1337. √ should render component (16ms)
  1338. √ should contain form (9ms)
  1339. √ form should contain a save button (7ms)
  1340. √ form should contain a cancel button (7ms)
  1341. √ should render options if they exist in state (5ms)
  1342. √ should not have any field errors initially (11ms)
  1343.  
  1344. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1345. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1346.  
  1347. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1348. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1349.  
  1350. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1351. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1352.  
  1353. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1354. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1355.  
  1356. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1357. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1358.  
  1359. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1360. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1361.  
  1362. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1363. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1364.  
  1365. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1366. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1367.  
  1368. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1369. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1370.  
  1371. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1372. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1373.  
  1374. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1375. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1376.  
  1377. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1378. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1379.  
  1380. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1381. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1382.  
  1383. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1384. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1385.  
  1386. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1387. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1388.  
  1389. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1390. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1391.  
  1392. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1393. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1394.  
  1395. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1396. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1397.  
  1398. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1399. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1400.  
  1401. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1402. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1403.  
  1404. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1405. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1406.  
  1407. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1408. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1409.  
  1410. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1411. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1412.  
  1413. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1414. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1415.  
  1416. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1417. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1418.  
  1419. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1420. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1421.  
  1422. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1423. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1424.  
  1425. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1426. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1427.  
  1428. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1429. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1430.  
  1431. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1432. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1433.  
  1434. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1435. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1436.  
  1437. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1438. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1439.  
  1440. console.warn app\js\middlewares\errorMiddleware.js:9
  1441. ACTION_FAILURE - [object Promise]
  1442.  
  1443. PASS tests\reducers\encounterReducer.test.js
  1444. encounter reducer for get actions
  1445. √ should return loading as true (3ms)
  1446. √ should return encounterType (1ms)
  1447. √ should return an error
  1448.  
  1449. (node:8156) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'catch' of undefined
  1450. (node:8156) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
  1451. (node:8156) UnhandledPromiseRejectionWarning: Error: foo
  1452. (node:8156) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
  1453. PASS tests\middlewares\errorMiddleware.test.js
  1454. errorMiddleware action
  1455. √ must return a function to handle next action (7ms)
  1456. √ must not handle an action without a promise payload (2ms)
  1457. √ must handle an action with a promise payload but without errors (2ms)
  1458. √ must handle an action with a promise payload but with errors (449ms)
  1459.  
  1460. console.error node_modules\prop-types\checkPropTypes.js:19
  1461. Warning: Failed prop type: Invalid prop `title` of type `string` supplied to `Accordion`, expected `object`.
  1462. in Accordion
  1463.  
  1464. console.error node_modules\fbjs\lib\warning.js:33
  1465. Warning: Each child in an array or iterator should have a unique "key" prop.
  1466.  
  1467. Check the top-level render call using <div>. See https://fb.me/react-warning-keys for more information.
  1468. in h1
  1469.  
  1470. PASS tests\components\orderentry\Accordion.test.jsx
  1471. Component: Accordion
  1472. √ renders properly (8ms)
  1473. √ toggles the content visibility when clicked (7ms)
  1474.  
  1475. PASS tests\components\searchDrug\View.test.jsx
  1476. Component: searchDrug: View
  1477. Conditional rendering
  1478. √ renders properly (5ms)
  1479. √ show Searching... (5ms)
  1480. √ show search error... (3ms)
  1481. Drug Search input field
  1482. √ calls onChange() (6ms)
  1483. Select drug action
  1484. √ calls onOptionSelected() (5ms)
  1485.  
  1486. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1487. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1488.  
  1489. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1490. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1491.  
  1492. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1493. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1494.  
  1495. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1496. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1497.  
  1498. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1499. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1500.  
  1501. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1502. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1503.  
  1504. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1505. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1506.  
  1507. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1508. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1509.  
  1510. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1511. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1512.  
  1513. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1514. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1515.  
  1516. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1517. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1518.  
  1519. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1520. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1521.  
  1522. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1523. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1524.  
  1525. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1526. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1527.  
  1528. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1529. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1530.  
  1531. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1532. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1533.  
  1534. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1535. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1536.  
  1537. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1538. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1539.  
  1540. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1541. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1542.  
  1543. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1544. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1545.  
  1546. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1547. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1548.  
  1549. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1550. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1551.  
  1552. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1553. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1554.  
  1555. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1556. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1557.  
  1558. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1559. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1560.  
  1561. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1562. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1563.  
  1564. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1565. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1566.  
  1567. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1568. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1569.  
  1570. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1571. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1572.  
  1573. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1574. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1575.  
  1576. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1577. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1578.  
  1579. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1580. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1581.  
  1582. PASS tests\components\DrugOrderEntry\addForm\FreeText.test.jsx
  1583. Test for Free text form
  1584. √ should render component (9ms)
  1585. √ should render options if they exist in state (5ms)
  1586.  
  1587. PASS tests\components\orderentry\Paginate.test.jsx
  1588. Pagination component test-suite
  1589. √ renders properly (6ms)
  1590. √ dispatches action to fetch new data when the next button is clicked (42ms)
  1591. √ dispatches action to fetch new data when the previous button is clicked (3ms)
  1592. √ Disable the button when no url is passed (4ms)
  1593.  
  1594. PASS tests\actions\orderAction.test.js
  1595. Set Order Actions
  1596. √ should dispatch an order action (4ms)
  1597.  
  1598. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1599. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1600.  
  1601. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1602. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1603.  
  1604. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1605. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1606.  
  1607. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1608. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1609.  
  1610. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1611. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1612.  
  1613. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1614. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1615.  
  1616. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1617. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1618.  
  1619. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1620. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1621.  
  1622. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1623. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1624.  
  1625. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1626. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1627.  
  1628. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1629. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1630.  
  1631. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1632. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1633.  
  1634. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1635. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1636.  
  1637. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1638. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1639.  
  1640. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1641. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1642.  
  1643. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1644. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1645.  
  1646. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1647. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1648.  
  1649. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1650. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1651.  
  1652. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1653. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1654.  
  1655. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1656. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1657.  
  1658. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1659. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1660.  
  1661. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1662. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1663.  
  1664. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1665. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1666.  
  1667. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1668. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1669.  
  1670. PASS tests\reducers\settingEncounterRoleReducer.test.js
  1671. Setting Encounter Tole reducer
  1672. √ should return the initial state (1ms)
  1673. √ should handle `SETTING_ENCOUNTER_ROLE_LOADING`
  1674. √ should handle `SETTING_ENCOUNTER_ROLE_SUCCESS` (1ms)
  1675. √ should handle `SETTING_ENCOUNTER_ROLE_FAILURE` (1ms)
  1676. √ should set the loading status for the encounter role
  1677.  
  1678. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1679. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1680.  
  1681. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1682. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1683.  
  1684. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1685. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1686.  
  1687. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1688. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1689.  
  1690. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1691. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1692.  
  1693. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1694. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1695.  
  1696. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1697. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1698.  
  1699. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1700. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1701.  
  1702. console.error node_modules\prop-types\checkPropTypes.js:19
  1703. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabTestFieldSet`, but its value is `undefined`.
  1704. in LabTestFieldSet
  1705.  
  1706. PASS tests\reducers\careSettingReducer.test.js
  1707. careSetting reducer
  1708. √ should successfully fetch care settings (1ms)
  1709. √ should set the caresetting fetch error (1ms)
  1710. √ should set the caresetting loading status
  1711.  
  1712. PASS tests\components\labOrderEntry\LabTestFieldSet.test.jsx
  1713. Component: LabTestFieldSet
  1714. √ should mount initially (4ms)
  1715. √ should support click for each button rendered (7ms)
  1716. √ should add a class of `active` to the selected test (4ms)
  1717.  
  1718. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1719. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1720.  
  1721. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1722. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1723.  
  1724. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1725. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1726.  
  1727. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1728. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1729.  
  1730. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1731. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1732.  
  1733. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1734. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1735.  
  1736. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1737. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1738.  
  1739. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1740. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1741.  
  1742. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1743. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1744.  
  1745. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1746. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1747.  
  1748. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1749. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1750.  
  1751. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1752. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1753.  
  1754. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1755. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1756.  
  1757. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1758. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1759.  
  1760. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1761. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1762.  
  1763. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1764. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1765.  
  1766. PASS tests\actions\draftActions.test.js
  1767. Draft Actions
  1768. √ should dispatch DELETE_TEST_FROM_DRAFT_LAB_ORDER (1ms)
  1769. √ should dispatch DELETE_PANEL_FROM_DRAFT_LAB_ORDER (2ms)
  1770. √ should dispatch DELETE_DRAFT_DRUG_ORDER_SUCCESS (1ms)
  1771. √ should dispatch both DELETE_ALL_DRAFT_DRUG_ORDERS_SUCCESS and DELETE_ALL_ITEMS_IN_DRAFT_LAB_ORDER (1ms)
  1772. editDraftDrugOrder action creator
  1773. √ should dispatch SELECT_DRUG, SET_SELECTED_ORDER, DELETE_DRAFT_DRUG_ORDER_SUCCESS (4ms)
  1774. toggleDraftLabOrderUrgency action creator
  1775. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  1776. and set order urgency to STAT if order has no urgency (2ms)
  1777. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  1778. and set order urgency to ROUTINE if urgency was STAT (1ms)
  1779. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  1780. and set order urgency to STAT if urgency was ROUTINE (2ms)
  1781.  
  1782. PASS tests\reducers\labOrderReducers\settingLabOrderableReducer.test.js
  1783. getting Lab Orderable reducer
  1784. √ should return the initial state (4ms)
  1785. √ should handle `GET_LAB_ORDERABLES_LOADING` (3ms)
  1786. √ should handle `GET_LAB_ORDERABLES_SUCCESS` (2ms)
  1787. √ should handle `GET_LAB_ORDERABLES_FAILURE` (2ms)
  1788.  
  1789. PASS tests\reducers\dateFormatReducer.test.js
  1790. Date Format Reducer
  1791. √ should set the state of a successful added date format (2ms)
  1792. √ should return an error (1ms)
  1793.  
  1794. PASS tests\actions\encounterType.test.js
  1795. fetchEncounterType action
  1796. √ creates FETCH_ENCOUNTER_TYPE_LOADING and FETCH_ENCOUNTER_TYPE_SUCCESS
  1797. action types upon success response from server (8ms)
  1798.  
  1799. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1800. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1801.  
  1802. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1803. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1804.  
  1805. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1806. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1807.  
  1808. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1809. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1810.  
  1811. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1812. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1813.  
  1814. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1815. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1816.  
  1817. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1818. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1819.  
  1820. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1821. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1822.  
  1823. console.error node_modules\prop-types\checkPropTypes.js:19
  1824. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabPanelFieldSet`, but its value is `undefined`.
  1825. in LabPanelFieldSet
  1826.  
  1827. PASS tests\components\labOrderEntry\LabPanelFieldSet.test.jsx
  1828. Component: LabPanelFieldSet
  1829. √ should mount initially (6ms)
  1830. √ should support click for each button rendered (6ms)
  1831. √ should add class `active` to the slected panels (5ms)
  1832.  
  1833. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1834. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1835.  
  1836. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1837. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1838.  
  1839. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1840. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1841.  
  1842. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1843. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1844.  
  1845. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1846. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1847.  
  1848. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1849. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1850.  
  1851. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1852. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1853.  
  1854. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1855. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1856.  
  1857. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1858. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1859.  
  1860. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1861. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1862.  
  1863. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1864. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1865.  
  1866. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1867. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1868.  
  1869. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1870. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1871.  
  1872. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1873. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1874.  
  1875. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1876. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1877.  
  1878. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1879. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1880.  
  1881. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1882. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1883.  
  1884. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1885. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1886.  
  1887. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1888. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1889.  
  1890. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1891. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1892.  
  1893. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1894. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1895.  
  1896. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1897. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1898.  
  1899. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1900. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1901.  
  1902. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1903. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1904.  
  1905. PASS tests\reducers\labOrderReducers\fetchLabOrderReducer.test.js
  1906. fetchlaborder reducer test-suite
  1907. √ sets status key loading to true upon action type
  1908. FETCH_LAB_ORDERS_LOADING (2ms)
  1909. √ sets status key fetched to true and parses data from payload
  1910. to labOrders key on FETCH_LAB_ORDERS_SUCCESS (2ms)
  1911. √ sets status key error to true and parses errormessage from
  1912. payload to key errorMessage on FETCH_LAB_ORDERS_FAILURE (1ms)
  1913. √ returns initial state if action type is not handled
  1914.  
  1915. PASS tests\reducers\draftReducer\draftLabOrderReducer.test.js
  1916. Draft Lab Order Reducer
  1917. √ should add a panel of tests to draftOrder (1ms)
  1918. √ should remove a suite of panel tests when panel is unselected (1ms)
  1919. √ should add multiple test panels to the draftOrder (1ms)
  1920. √ should delete a test panel from the draftOrder (1ms)
  1921. √ should delete a test panel from the draftOrder if there are already panels present
  1922. √ should delete all tests from the draftOrder at once (1ms)
  1923. √ should add single tests not part of the panel to the draftorder (1ms)
  1924. √ should not add a single tests to the draftorder if it is part of the panel and already in draft (1ms)
  1925. √ should delete single tests from the draft order if they are already selected (1ms)
  1926. √ should not remove a single test from the draftorder if it was previously selected and also part of the panel of tests (1ms)
  1927. √ should not delete a single test from the draftorder when a new panel is added
  1928. √ should delete a single test from the draft order if it is unchecked (1ms)
  1929. √ should set the toggle of the urgency of a draft order to "ROUTINE" for "lab tests" (1ms)
  1930. √ should set the toggle of the urgency of a draft order to "STAT" for "lab tests" (1ms)
  1931. √ should set the toggle of the urgency of a draft order to "STAT" for "lab panels" (1ms)
  1932. √ should set the toggle of the urgency of a draft order to "ROUTINE" for "lab tests"
  1933. √ should not set the toggle of the urgency of a npn-existent draft order (1ms)
  1934.  
  1935. PASS tests\reducers\settingEncounterTypeReducer.test.js
  1936. Setting Encounter Type reducer
  1937. √ should return the initial state (2ms)
  1938. √ should handle `SETTING_ENCOUNTER_TYPE_LOADING` (1ms)
  1939. √ should handle `SETTING_ENCOUNTER_TYPE_SUCCESS` (1ms)
  1940. √ should handle `SETTING_ENCOUNTER_TYPE_FAILURE` (1ms)
  1941.  
  1942. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1943. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1944.  
  1945. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1946. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1947.  
  1948. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1949. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1950.  
  1951. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1952. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1953.  
  1954. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1955. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1956.  
  1957. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1958. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1959.  
  1960. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1961. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1962.  
  1963. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1964. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1965.  
  1966. PASS tests\actions\encounterRole.test.js
  1967. fetchEncounterRole action
  1968. √ creates FETCH_ENCOUNTER_ROLE_LOADING and FETCH_ENCOUNTER_ROLE_SUCCESS
  1969. action types upon success response from server (7ms)
  1970.  
  1971. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1972. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1973.  
  1974. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1975. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1976.  
  1977. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1978. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1979.  
  1980. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1981. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1982.  
  1983. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1984. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1985.  
  1986. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1987. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1988.  
  1989. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1990. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1991.  
  1992. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1993. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1994.  
  1995. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1996. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1997.  
  1998. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1999. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2000.  
  2001. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2002. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2003.  
  2004. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2005. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2006.  
  2007. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2008. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2009.  
  2010. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2011. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2012.  
  2013. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2014. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2015.  
  2016. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2017. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2018.  
  2019. console.error node_modules\prop-types\checkPropTypes.js:19
  2020. Warning: Failed prop type: The prop `activeTabIndex` is marked as required in `DosageTabs`, but its value is `undefined`.
  2021. in DosageTabs
  2022.  
  2023. PASS tests\components\tabs\DosageTabs.test.js
  2024. Dosage Tab component
  2025. √ should render without crashing (6ms)
  2026. handleTabClick() method
  2027. √ dispatches handleFormTabs, FormType props when triggered (1ms)
  2028.  
  2029. PASS tests\actions\draftTableAction.test.js
  2030. Discontinue Order Actions
  2031. √ should dispatch ADD_DRAFT_DRUG_ORDER_SUCCESS successfully (3ms)
  2032. √ should dispatch DELETE_DRAFT_DRUG_ORDER_SUCCESS successfully (2ms)
  2033. √ should dispatch DELETE_ALL_DRAFT_DRUG_ORDERS_SUCCESS successfully (1ms)
  2034.  
  2035. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2036. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2037.  
  2038. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2039. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2040.  
  2041. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2042. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2043.  
  2044. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2045. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2046.  
  2047. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2048. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2049.  
  2050. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2051. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2052.  
  2053. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2054. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2055.  
  2056. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2057. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2058.  
  2059. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2060. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2061.  
  2062. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2063. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2064.  
  2065. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2066. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2067.  
  2068. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2069. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2070.  
  2071. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2072. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2073.  
  2074. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2075. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2076.  
  2077. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2078. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2079.  
  2080. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2081. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2082.  
  2083. console.error node_modules\prop-types\checkPropTypes.js:19
  2084. Warning: Failed prop type: The prop `handleEdit` is marked as required in `OrderHeader`, but its value is `undefined`.
  2085. in OrderHeader
  2086.  
  2087. console.error node_modules\prop-types\checkPropTypes.js:19
  2088. Warning: Failed prop type: The prop `handleDiscontinue` is marked as required in `OrderHeader`, but its value is `undefined`.
  2089. in OrderHeader
  2090.  
  2091. PASS tests\reducers\orderEntryReducer.test.js
  2092. Order Entry Configurations reducer
  2093. √ should return the initial state (1ms)
  2094. √ should handle `FETCH_ORDER_CONFIG_SUCCESS` (2ms)
  2095. √ should handle `FETCH_ORDER_CONFIG_FAILURE` (1ms)
  2096. √ should set the loading status for fetching the order entry configuration (1ms)
  2097.  
  2098. PASS tests\components\orderentry\OrderHeader.test.jsx
  2099. Component: OrderHeader
  2100. √ renders properly (7ms)
  2101. isEditable
  2102. √ isEditable should return false for lab orders (1ms)
  2103. √ isEditable should return false for unknown order type (1ms)
  2104. ○ skipped 1 test
  2105. isCancellable
  2106. √ isCancellable should return true for lab orders with no fulfiller status (1ms)
  2107. √ isCancellable should return true for lab orders with RECEIVED fulfiller status (1ms)
  2108. √ isCancellable should return true for lab orders with EXCEPTION fulfiller status (1ms)
  2109. √ isCancellable should return false for lab orders with IN_PROGRESS fulfiller status
  2110. √ isCancellable should return false for lab orders with COMPLETED fulfiller status (1ms)
  2111. ○ skipped 1 test
  2112.  
  2113. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2114. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2115.  
  2116. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2117. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2118.  
  2119. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2120. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2121.  
  2122. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2123. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2124.  
  2125. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2126. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2127.  
  2128. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2129. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2130.  
  2131. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2132. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2133.  
  2134. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2135. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2136.  
  2137. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2138. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2139.  
  2140. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2141. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2142.  
  2143. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2144. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2145.  
  2146. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2147. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2148.  
  2149. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2150. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2151.  
  2152. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2153. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2154.  
  2155. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2156. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2157.  
  2158. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2159. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2160.  
  2161. PASS tests\actions\draftLabOrderAction.test.js
  2162. Lab Order Actions
  2163. √ should dispatch an action to delete all draftOrders (3ms)
  2164. √ should dispatch an action to add single tests to draftOrders (1ms)
  2165. √ should dispatch an action to remove single tests from the draftOrders (1ms)
  2166. √ should dispatch an action to remove a test panel from the draftOrder (1ms)
  2167. √ should dispatch an action to add a test panel to the draftOrder (1ms)
  2168.  
  2169. PASS tests\components\tabs\DosageTab.test.js
  2170. Dosage Tab component
  2171. √ should render without crashing (2ms)
  2172. √ should render the standard form (3ms)
  2173. √ should render the free text form (2ms)
  2174. Test click events
  2175. √ should trigger event when clicked (4ms)
  2176.  
  2177. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2178. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2179.  
  2180. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2181. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2182.  
  2183. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2184. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2185.  
  2186. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2187. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2188.  
  2189. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2190. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2191.  
  2192. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2193. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2194.  
  2195. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2196. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2197.  
  2198. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2199. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2200.  
  2201. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2202. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2203.  
  2204. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2205. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2206.  
  2207. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2208. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2209.  
  2210. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2211. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2212.  
  2213. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2214. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2215.  
  2216. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2217. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2218.  
  2219. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2220. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2221.  
  2222. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2223. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2224.  
  2225. PASS tests\components\button\IconButton.test.jsx
  2226. Component: IconButton
  2227. √ renders properly (4ms)
  2228. √ has a handler for click events (5ms)
  2229.  
  2230. PASS tests\actions\activeOrderAction.test.js
  2231. activeOrder action
  2232. √ should fetch active orders successfully (11ms)
  2233.  
  2234. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2235. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2236.  
  2237. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2238. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2239.  
  2240. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2241. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2242.  
  2243. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2244. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2245.  
  2246. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2247. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2248.  
  2249. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2250. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2251.  
  2252. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2253. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2254.  
  2255. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2256. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2257.  
  2258. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2259. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2260.  
  2261. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2262. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2263.  
  2264. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2265. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2266.  
  2267. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2268. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2269.  
  2270. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2271. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2272.  
  2273. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2274. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2275.  
  2276. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2277. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2278.  
  2279. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2280. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2281.  
  2282. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2283. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2284.  
  2285. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2286. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2287.  
  2288. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2289. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2290.  
  2291. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2292. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2293.  
  2294. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2295. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2296.  
  2297. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2298. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2299.  
  2300. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2301. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2302.  
  2303. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2304. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2305.  
  2306. PASS tests\actions\orderEntryActions.test.js
  2307. getOrderEntryConfigurations action
  2308. √ creates FETCH_ORDER_CONFIG_LOADING and FETCH_ORDER_CONFIG_SUCCESS
  2309. action types upon success response from server (7ms)
  2310.  
  2311. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2312. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2313.  
  2314. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2315. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2316.  
  2317. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2318. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2319.  
  2320. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2321. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2322.  
  2323. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2324. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2325.  
  2326. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2327. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2328.  
  2329. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2330. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2331.  
  2332. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2333. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2334.  
  2335. PASS tests\reducers\orderSelectionReducer.test.js
  2336. orderSelectionReducer Reducer
  2337. √ should return the state as default when action is not triggered (1ms)
  2338. SET_SELECTED_ORDER
  2339. √ set the state with provided data (1ms)
  2340.  
  2341. PASS tests\reducers\activeOrderReducer.test.js
  2342. Active Order Reducer
  2343. √ should set the state for active order (1ms)
  2344. √ should set active order fetch error (1ms)
  2345. √ should set active order loading status
  2346. √ should set the DISCONTINUE action for an order (2ms)
  2347. √ should set the EDIT order action
  2348. √ should set order status to NONE (2ms)
  2349. √ should set order status to DRAFT
  2350. √ should set order status to DRAFT_EDIT (1ms)
  2351. √ should set the DISCARD_ONE order action (1ms)
  2352. √ should set the DISCARD_ALL order action
  2353. √ should set the DISCARD_ALL order action for other actions (1ms)
  2354. √ should set the DISCARD_EDIT order action (1ms)
  2355. √ should set the DISCARD_EDIT order action for other actions
  2356. √ should return the previous state if no order action is fired (1ms)
  2357.  
  2358. PASS tests\actions\createOrder.test.js
  2359. createOrder action
  2360. √ should save orders successfully (5ms)
  2361.  
  2362. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2363. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2364.  
  2365. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2366. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2367.  
  2368. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2369. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2370.  
  2371. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2372. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2373.  
  2374. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2375. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2376.  
  2377. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2378. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2379.  
  2380. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2381. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2382.  
  2383. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2384. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2385.  
  2386. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2387. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2388.  
  2389. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2390. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2391.  
  2392. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2393. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2394.  
  2395. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2396. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2397.  
  2398. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2399. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2400.  
  2401. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2402. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2403.  
  2404. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2405. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2406.  
  2407. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2408. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2409.  
  2410. PASS tests\reducers\createOrderReducer.test.js
  2411. createOrder reducer test suite
  2412. √ sets status key error to true and sets key errorMessage to
  2413. error message from payload on action type SAVE_DRAFT_LAB_ORDER_FAILURE (1ms)
  2414. √ parses data from payload to key labOrderData and sets staus key
  2415. added to true on action type SAVE_DRAFT_LAB_ORDER_SUCCESS (1ms)
  2416. √ returns initial state if action type is not handled
  2417. √ should handle SAVE_DRAFT_LAB_ORDER_LOADING
  2418.  
  2419. PASS tests\reducers\labOrderReducers\labOrderableReducer.test.js
  2420. laborderable reducer
  2421. √ should handle `FETCH_LAB_ORDERABLES_SUCCESS` (1ms)
  2422. √ should handle `FETCH_LAB_ORDERABLES_FAILURE` (1ms)
  2423. √ should handle FETCH_LAB_ORDERABLES_LOADING
  2424.  
  2425. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2426. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2427.  
  2428. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2429. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2430.  
  2431. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2432. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2433.  
  2434. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2435. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2436.  
  2437. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2438. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2439.  
  2440. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2441. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2442.  
  2443. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2444. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2445.  
  2446. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2447. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2448.  
  2449. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2450. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2451.  
  2452. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2453. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2454.  
  2455. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2456. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2457.  
  2458. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2459. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2460.  
  2461. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2462. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2463.  
  2464. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2465. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2466.  
  2467. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2468. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2469.  
  2470. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2471. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2472.  
  2473. PASS tests\reducers\contextReducer.test.js
  2474. context reducer
  2475. √ default order context should be null (3ms)
  2476. √ should set order context (2ms)
  2477.  
  2478. PASS tests\reducers\labOrderReducers\labConceptsReducer.test.js
  2479. Lab Concepts reducer
  2480. √ should return the initial state (3ms)
  2481. √ should handle `FETCH_LAB_CONCEPTS_SUCCESS` (7ms)
  2482. √ should handle `FETCH_LAB_CONCEPTS_LOADING` (2ms)
  2483. √ should handle `FETCH_LAB_CONCEPTS_FAILURE` (2ms)
  2484.  
  2485. --------------------------------------|----------|----------|----------|----------|-------------------|
  2486. File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
  2487. --------------------------------------|----------|----------|----------|----------|-------------------|
  2488. All files | 89.46 | 79.42 | 86.16 | 89.87 | |
  2489. js | 75 | 16.67 | 33.33 | 75 | |
  2490. config.js | 100 | 100 | 100 | 100 | |
  2491. redux-store.jsx | 55.56 | 16.67 | 0 | 55.56 | 39,42,44,45 |
  2492. routes.jsx | 100 | 100 | 100 | 100 | |
  2493. js/actions | 98.17 | 86.96 | 96.83 | 98.85 | |
  2494. actionTypes.js | 100 | 100 | 100 | 100 | |
  2495. activeOrderAction.js | 100 | 100 | 100 | 100 | |
  2496. careSetting.js | 100 | 100 | 100 | 100 | |
  2497. context.js | 50 | 100 | 0 | 100 | |
  2498. createOrder.js | 83.33 | 100 | 66.67 | 100 | |
  2499. dateFormat.js | 100 | 100 | 100 | 100 | |
  2500. draftActions.js | 100 | 100 | 100 | 100 | |
  2501. draftLabOrderAction.js | 100 | 100 | 100 | 100 | |
  2502. draftTableAction.js | 100 | 100 | 100 | 100 | |
  2503. drug.js | 100 | 100 | 100 | 100 | |
  2504. encounterRole.js | 100 | 100 | 100 | 100 | |
  2505. encounterType.js | 100 | 100 | 100 | 100 | |
  2506. fetchAllOrders.js | 100 | 50 | 100 | 100 | 11 |
  2507. fetchOrders.js | 100 | 100 | 100 | 100 | |
  2508. loading.js | 100 | 100 | 100 | 100 | |
  2509. networkError.js | 100 | 100 | 100 | 100 | |
  2510. orderAction.js | 100 | 100 | 100 | 100 | |
  2511. orderEntryActions.js | 100 | 100 | 100 | 100 | |
  2512. patient.js | 100 | 50 | 100 | 100 | 14 |
  2513. settingEncounterRole.js | 95 | 100 | 100 | 93.33 | 32 |
  2514. settingEncounterType.js | 93.75 | 50 | 100 | 92.31 | 25 |
  2515. js/actions/labOrders | 92.31 | 85.71 | 90 | 94.74 | |
  2516. fetchLabOrders.js | 100 | 100 | 100 | 100 | |
  2517. labConceptsAction.js | 100 | 100 | 100 | 100 | |
  2518. labOrderableAction.js | 100 | 100 | 100 | 100 | |
  2519. settingLabOrderableAction.js | 90 | 75 | 85.71 | 93.33 | 33 |
  2520. js/components | 95.65 | 100 | 83.33 | 100 | |
  2521. Draft.jsx | 95.65 | 100 | 83.33 | 100 | |
  2522. js/components/button | 100 | 100 | 100 | 100 | |
  2523. IconButton.jsx | 100 | 100 | 100 | 100 | |
  2524. js/components/drugOrderEntry | 97.56 | 91.43 | 94.12 | 97.44 | |
  2525. index.jsx | 97.56 | 91.43 | 94.12 | 97.44 | 190 |
  2526. js/components/drugOrderEntry/addForm | 96.69 | 86.77 | 89.47 | 96.55 | |
  2527. AddForm.jsx | 97.14 | 86.51 | 89.66 | 97 | 221,364,447 |
  2528. DrugOrderPrintPreview.jsx | 0 | 100 | 0 | 0 | 6 |
  2529. FreeText.jsx | 100 | 53.85 | 100 | 100 | 38,48,55,74 |
  2530. StandardDose.jsx | 100 | 96 | 100 | 100 | 208,218 |
  2531. js/components/labOrderEntry | 98.46 | 87.5 | 100 | 100 | |
  2532. LabEntryForm.jsx | 97.73 | 85.29 | 100 | 100 | 57,64,129,130,155 |
  2533. LabPanelFieldSet.jsx | 100 | 100 | 100 | 100 | |
  2534. LabTestFieldSet.jsx | 100 | 100 | 100 | 100 | |
  2535. labData.js | 100 | 100 | 100 | 100 | |
  2536. js/components/orderEntry | 88.27 | 61.31 | 83.33 | 89.41 | |
  2537. Accordion.jsx | 100 | 83.33 | 100 | 100 | 7 |
  2538. AllOrders.jsx | 86.67 | 100 | 60 | 92.86 | 76 |
  2539. DrugOrderDetails.jsx | 100 | 100 | 100 | 100 | |
  2540. LabOrderDetails.jsx | 100 | 50 | 100 | 100 | 24 |
  2541. OrderEntryPage.jsx | 93.75 | 75 | 87.5 | 93.55 | 77,80,374,391 |
  2542. OrderHeader.jsx | 100 | 80 | 100 | 100 | 33,41 |
  2543. OrdersTable.jsx | 78.57 | 30.36 | 85.71 | 77.5 |... 83,184,185,186 |
  2544. Paginate.jsx | 100 | 100 | 100 | 100 | |
  2545. SelectOrderType.jsx | 66.67 | 62.5 | 57.14 | 73.33 | 16,22,26,30 |
  2546. orderTypes.js | 100 | 100 | 100 | 100 | |
  2547. js/components/searchDrug | 100 | 94.12 | 100 | 100 | |
  2548. View.jsx | 100 | 90.91 | 100 | 100 | 34 |
  2549. index.jsx | 100 | 100 | 100 | 100 | |
  2550. js/components/tabs | 100 | 100 | 87.5 | 100 | |
  2551. DosageTab.jsx | 100 | 100 | 66.67 | 100 | |
  2552. DosageTabs.jsx | 100 | 100 | 100 | 100 | |
  2553. js/middlewares | 96.43 | 90.63 | 100 | 96.23 | |
  2554. errorMiddleware.js | 100 | 100 | 100 | 100 | |
  2555. responseHandlerMiddleware.js | 95.74 | 90 | 100 | 95.65 | 64,65 |
  2556. js/reducers | 98.6 | 95.24 | 95.83 | 98.58 | |
  2557. activeOrderReducer.js | 100 | 87.5 | 100 | 100 | 25,61,70,74,80 |
  2558. careSettingReducer.js | 100 | 100 | 100 | 100 | |
  2559. contextReducer.js | 100 | 100 | 100 | 100 | |
  2560. createOrderReducer.js | 100 | 100 | 100 | 100 | |
  2561. dateFormatReducer.js | 100 | 100 | 100 | 100 | |
  2562. drugSearchReducer.js | 100 | 100 | 100 | 100 | |
  2563. encounterReducer.js | 100 | 100 | 100 | 100 | |
  2564. encounterRoleReducer.js | 100 | 100 | 100 | 100 | |
  2565. fetchOrdersReducer.js | 91.3 | 93.75 | 83.33 | 90.48 | 78,81 |
  2566. index.js | 0 | 0 | 0 | 0 | |
  2567. initialState.js | 0 | 0 | 0 | 0 | |
  2568. locationReducer.js | 100 | 100 | 100 | 100 | |
  2569. noteReducer.js | 100 | 100 | 100 | 100 | |
  2570. orderEntryReducer.js | 100 | 100 | 100 | 100 | |
  2571. orderSelectionReducer.js | 100 | 100 | 100 | 100 | |
  2572. pastOrdersReducer.js | 100 | 100 | 100 | 100 | |
  2573. patientReducer.js | 100 | 100 | 100 | 100 | |
  2574. settingEncounterRoleReducer.js | 100 | 100 | 100 | 100 | |
  2575. settingEncounterTypeReducer.js | 100 | 100 | 100 | 100 | |
  2576. js/reducers/draftReducer | 71.93 | 68 | 73.33 | 70.37 | |
  2577. draftDrugOrderReducer.js | 100 | 100 | 100 | 100 | |
  2578. draftLabOrderReducer.js | 68.63 | 60 | 69.23 | 66.67 |... 13,114,116,118 |
  2579. index.js | 0 | 0 | 0 | 0 | |
  2580. js/reducers/labOrders | 100 | 100 | 100 | 100 | |
  2581. fetchLabOrderReducer.js | 100 | 100 | 100 | 100 | |
  2582. labConceptsReducer.js | 100 | 100 | 100 | 100 | |
  2583. labOrderableReducer.js | 100 | 100 | 100 | 100 | |
  2584. settingLabOrderableReducer.js | 100 | 100 | 100 | 100 | |
  2585. js/rest | 7.69 | 0 | 0 | 7.69 | |
  2586. encounterRest.js | 7.69 | 0 | 0 | 7.69 |... 20,24,26,27,29 |
  2587. js/sagas | 8.16 | 0 | 0 | 9.3 | |
  2588. index.js | 66.67 | 100 | 0 | 66.67 | 10 |
  2589. orderSaga.js | 4.35 | 0 | 0 | 5 |... 07,109,111,116 |
  2590. js/utils | 86.21 | 77.27 | 75 | 88 | |
  2591. constants.js | 100 | 100 | 100 | 100 | |
  2592. globalProperty.js | 85.71 | 100 | 66.67 | 100 | |
  2593. helpers.js | 76.92 | 77.27 | 66.67 | 75 | 14,15,19 |
  2594. toast.js | 100 | 100 | 100 | 100 | |
  2595. --------------------------------------|----------|----------|----------|----------|-------------------|
  2596. Handlebars: Access has been denied to resolve the property "statements" because it is not an "own property" of its parent.
  2597. You can add a runtime option to disable the check or this warning:
  2598. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  2599. Handlebars: Access has been denied to resolve the property "branches" because it is not an "own property" of its parent.
  2600. You can add a runtime option to disable the check or this warning:
  2601. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  2602. Handlebars: Access has been denied to resolve the property "functions" because it is not an "own property" of its parent.
  2603. You can add a runtime option to disable the check or this warning:
  2604. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  2605. Handlebars: Access has been denied to resolve the property "lines" because it is not an "own property" of its parent.
  2606. You can add a runtime option to disable the check or this warning:
  2607. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  2608. Test Suites: 67 passed, 67 total
  2609. Tests: 2 skipped, 309 passed, 311 total
  2610. Snapshots: 22 passed, 22 total
  2611. Time: 360.302s
  2612. Ran all test suites.
  2613.  
  2614. > @openmrs/[email protected] build F:\digimodules\openmrs-owa-orderentry
  2615. > npm run clean && SET NODE_ENV="production" webpack --progress --colors
  2616.  
  2617.  
  2618. > @openmrs/[email protected] clean F:\digimodules\openmrs-owa-orderentry
  2619. > rimraf dist && rimraf coverage*
  2620.  
  2621.  
  2622. NextGen@NGC MINGW64 /f/digimodules/openmrs-owa-orderentry (master)
  2623. $ npm run buil:deploy
  2624.  
  2625. NextGen@NGC MINGW64 /f/digimodules/openmrs-owa-orderentry (master)
  2626. $ npm run build:deploy
  2627.  
  2628. > @openmrs/[email protected] build:deploy
  2629. > SET NODE_ENV="deploy" webpack --progress --colors --target=web
  2630.  
  2631.  
  2632. NextGen@NGC MINGW64 /f/digimodules/openmrs-owa-orderentry (master)
  2633. $
  2634.  
Advertisement
Add Comment
Please, Sign In to add comment