Advertisement
atiqsh

Untitled

Apr 26th, 2021
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 328.73 KB | None | 0 0
  1.  
  2. NextGen@NGC MINGW64 /f/digimodules/openmrs-owa-orderentry (master)
  3. $ npm run build:prod
  4.  
  5. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT build:prod F:\digimodules\openmrs-owa-orderentry
  6. > npm run test && npm run build
  7.  
  8.  
  9. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT test F:\digimodules\openmrs-owa-orderentry
  10. > npm run lint && jest --coverage --maxWorkers=4
  11.  
  12.  
  13. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT 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 8 spaces but found 10 indent
  40. 23:1 warning Expected indentation of 8 spaces but found 10 indent
  41. 24:1 warning Expected indentation of 6 spaces but found 8 indent
  42. 25:1 warning Expected indentation of 6 spaces but found 8 indent
  43. 26:1 warning Expected indentation of 8 spaces but found 10 indent
  44. 26:34 warning 'onHide' is missing in props validation react/prop-types
  45. 27:1 warning Expected indentation of 6 spaces but found 8 indent
  46. 28:1 warning Expected indentation of 4 spaces but found 6 indent
  47. 29:1 warning Expected indentation of 2 spaces but found 4 indent
  48. 30:1 warning Expected indentation of 0 spaces but found 2 indent
  49.  
  50. F:\digimodules\openmrs-owa-orderentry\app\js\components\drugOrderEntry\index.jsx
  51. 34:7 warning Do not use setState in componentDidMount react/no-did-mount-set-state
  52. 51:7 warning Do not use setState in componentDidUpdate react/no-did-update-set-state
  53. 59:7 warning Do not use setState in componentDidUpdate react/no-did-update-set-state
  54. 170:59 warning 'backLink' is missing in props validation react/prop-types
  55.  
  56. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabEntryForm.jsx
  57. 58:76 warning 'sessionReducer' is missing in props validation react/prop-types
  58. 58:91 warning 'sessionReducer.locale' is missing in props validation react/prop-types
  59. 86:13 warning 'intl' is missing in props validation react/prop-types
  60.  
  61. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabPanelFieldSet.jsx
  62. 15:69 warning 'locale' is missing in props validation react/prop-types
  63.  
  64. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabTestFieldSet.jsx
  65. 9:65 warning 'locale' is missing in props validation react/prop-types
  66.  
  67. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrderEntryPage.jsx
  68. 47:13 warning 'dispatch' is missing in props validation react/prop-types
  69. 68:13 warning 'intl' is missing in props validation react/prop-types
  70. 82:60 warning 'patient.uuid' is missing in props validation react/prop-types
  71. 175:45 warning 'globalProperties' is missing in props validation react/prop-types
  72. 194:59 warning 'sessionReducer.sessionLocation.uuid' is missing in props validation react/prop-types
  73. 313:34 warning 'orderType' is missing in props validation react/prop-types
  74. 332:1 warning Expected indentation of 20 spaces but found 18 indent
  75. 351:1 warning Expected indentation of 24 spaces but found 22 indent
  76. 352:1 warning Expected indentation of 26 spaces but found 24 indent
  77. 353:1 warning Expected indentation of 24 spaces but found 22 indent
  78. 354:1 warning Expected indentation of 22 spaces but found 20 indent
  79. 356:1 warning Expected indentation of 24 spaces but found 22 indent
  80. 357:1 warning Expected indentation of 26 spaces but found 24 indent
  81. 358:1 warning Expected indentation of 28 spaces but found 26 indent
  82. 359:1 warning Expected indentation of 30 spaces but found 28 indent
  83. 360:1 warning Expected indentation of 28 spaces but found 26 indent
  84. 361:1 warning Expected indentation of 28 spaces but found 26 indent
  85. 362:1 warning Expected indentation of 28 spaces but found 26 indent
  86. 363:1 warning Expected indentation of 28 spaces but found 26 indent
  87. 364:1 warning Expected indentation of 26 spaces but found 24 indent
  88. 365:1 warning Expected indentation of 24 spaces but found 22 indent
  89. 366:1 warning Expected indentation of 22 spaces but found 20 indent
  90. 379:59 warning 'sessionReducer.locale' is missing in props validation react/prop-types
  91.  
  92. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrderHeader.jsx
  93. 14:1 warning Expected indentation of 0 spaces but found 4 indent
  94. 14:6 warning Missing semicolon semi
  95. 19:3 warning 'intl' is missing in props validation react/prop-types
  96.  
  97. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrdersTable.jsx
  98. 148:57 warning 'sessionReducer.sessionLocation.uuid' is missing in props validation react/prop-types
  99. 178:51 warning 'orderType' is missing in props validation react/prop-types
  100.  
  101. ✖ 64 problems (0 errors, 64 warnings)
  102. 0 errors, 40 warnings potentially fixable with the `--fix` option.
  103.  
  104. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  105. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  106.  
  107. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  108. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  109.  
  110. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  111. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  112.  
  113. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  114. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  115.  
  116. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  117. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  118.  
  119. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  120. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  121.  
  122. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  123. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  124.  
  125. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  126. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  127.  
  128. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  129. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  130.  
  131. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  132. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  133.  
  134. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  135. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  136.  
  137. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  138. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  139.  
  140. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  141. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  142.  
  143. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  144. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  145.  
  146. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  147. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  148.  
  149. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  150. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  151.  
  152. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  153. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  154.  
  155. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  156. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  157.  
  158. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  159. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  160.  
  161. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  162. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  163.  
  164. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  165. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  166.  
  167. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  168. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  169.  
  170. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  171. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  172.  
  173. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  174. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  175.  
  176. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  177. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  178.  
  179. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  180. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  181.  
  182. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  183. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  184.  
  185. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  186. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  187.  
  188. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  189. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  190.  
  191. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  192. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  193.  
  194. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  195. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  196.  
  197. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  198. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  199.  
  200. console.error node_modules\prop-types\checkPropTypes.js:19
  201. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabPanelFieldSet`, but its value is `undefined`.
  202. in LabPanelFieldSet (created by LabEntryForm)
  203. in LabEntryForm (created by WrapperComponent)
  204. in WrapperComponent
  205.  
  206. console.error node_modules\prop-types\checkPropTypes.js:19
  207. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabTestFieldSet`, but its value is `undefined`.
  208. in LabTestFieldSet (created by LabEntryForm)
  209. in LabEntryForm (created by WrapperComponent)
  210. in WrapperComponent
  211.  
  212. PASS tests\components\labOrderEntry\LabEntryForm.test.jsx
  213. Component: LabEntryForm
  214. √ should render on initial setup (94ms)
  215. √ should be able to select a category (46ms)
  216. √ should dispatch an action to remove a test panel from the draft (22ms)
  217. √ should dispatch an action to add a test panel to the draft (13ms)
  218. √ should dispatch an action to handle single test selection (11ms)
  219. √ should dispatch an action to handle single test deletion (13ms)
  220. √ should dispatch an action to handle panel deletion (16ms)
  221. √ should dispatch an action to handle deletion of all items from the draft (11ms)
  222. √ should change the default lab form's tests category by toggling component state (25ms)
  223. √ shows a toast prompt when test is submitted successfully (20ms)
  224. √ shows a toast prompt when there is an error in submission (25ms)
  225. √ does not render the past order component if the
  226. length of the results props is less than 1 (16ms)
  227. √ should have lab orderables displayed in the category list (10ms)
  228.  
  229. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  230. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  231.  
  232. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  233. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  234.  
  235. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  236. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  237.  
  238. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  239. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  240.  
  241. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  242. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  243.  
  244. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  245. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  246.  
  247. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  248. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  249.  
  250. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  251. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  252.  
  253. console.warn app\js\middlewares\responseHandlerMiddleware.js:27
  254. GET_DATE_FAILURE-Error: incomplete config
  255.  
  256. console.warn app\js\middlewares\responseHandlerMiddleware.js:45
  257. FETCH_ENCOUNTER_TYPE_FAILURE-Error: incomplete config
  258.  
  259. PASS tests\middlewares\responseHandlerMiddleware.test.js
  260. responseHandlerMiddleware
  261. √ must return a function to handle next action (1ms)
  262. √ should handle GET_DATE_SUCCESS action without valid date format response (2ms)
  263. √ should handle GET_DATE_SUCCESS action for valid date format responses
  264. √ should throw an error for GET_DATE_SUCCESS action for invalid date format responses (24ms)
  265. √ should handle responses for either of FETCH_ENCOUNTER_ROLE_SUCCESS or FETCH_ENCOUNTER_TYPE_SUCCESS when there is no result (10ms)
  266. √ should handle responses for either of FETCH_ENCOUNTER_ROLE_SUCCESS or FETCH_ENCOUNTER_TYPE_SUCCESS when there is a valid result (1ms)
  267. √ should handle responses for LOAD_PAST_ORDERS_SUCCESS when there is a valid result
  268. √ should dispatch DISCONTINUE_ACTIVE_DRUG_ORDER after POST_DRUG_ORDER_SUCCESS when meta activity is set to DISCONTINUE (2ms)
  269. √ should handle responses for all actions after promise has been resolved (1ms)
  270. √ should always pass the action to the next middleware if no conditions are met to be handled by it
  271. √ should dispatch SAVE_DRAFT_LAB_ORDER_SUCCESS (1ms)
  272.  
  273. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  274. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  275.  
  276. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  277. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  278.  
  279. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  280. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  281.  
  282. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  283. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  284.  
  285. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  286. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  287.  
  288. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  289. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  290.  
  291. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  292. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  293.  
  294. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  295. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  296.  
  297. PASS tests\reducers\labOrderReducers\labOrderableReducer.test.js
  298. laborderable reducer
  299. √ should handle `FETCH_LAB_ORDERABLES_SUCCESS` (1ms)
  300. √ should handle `FETCH_LAB_ORDERABLES_FAILURE` (1ms)
  301. √ should handle FETCH_LAB_ORDERABLES_LOADING (1ms)
  302.  
  303. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  304. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  305.  
  306. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  307. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  308.  
  309. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  310. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  311.  
  312. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  313. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  314.  
  315. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  316. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  317.  
  318. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  319. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  320.  
  321. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  322. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  323.  
  324. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  325. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  326.  
  327. PASS tests\actions\labOrderTest\fetchLabOrderAction.test.js
  328. fetchLabOrders action
  329. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_LAB_ORDERS_SUCCESS
  330. action types upon success response from server when nouri ispassed but with given limits (11ms)
  331. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_LAB_ORDERS_SUCCESS
  332. action types upon success response from server when uri is passed with no limits (6ms)
  333.  
  334. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  335. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  336.  
  337. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  338. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  339.  
  340. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  341. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  342.  
  343. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  344. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  345.  
  346. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  347. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  348.  
  349. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  350. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  351.  
  352. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  353. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  354.  
  355. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  356. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  357.  
  358. PASS tests\actions\settingEncounterRole.test.js
  359. Get the encounterRole configuration actions
  360. √ should create an action to store fetched configuration (1ms)
  361. √ should create an action to log failure
  362. Get setting for encounterRole API call
  363. √ should dispatch `SETTING_ENCOUNTER_ROLE_SUCCESS` with results (103ms)
  364. √ should dispatch `SETTING_ENCOUNTER_ROLE_FAILURE` if empty results returned (101ms)
  365. √ should dispatch `SETTING_ENCOUNTER_ROLE_FAILURE` after an error (106ms)
  366. √ should dispatch `NETWORK_ERROR` when there is a network error (105ms)
  367.  
  368. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  369. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  370.  
  371. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  372. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  373.  
  374. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  375. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  376.  
  377. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  378. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  379.  
  380. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  381. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  382.  
  383. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  384. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  385.  
  386. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  387. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  388.  
  389. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  390. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  391.  
  392. PASS tests\actions\drug.test.js
  393. selectDrug action
  394. √ should call `SELECT_DRUG` when drug is selected (2ms)
  395. searchDrug action
  396. √ creates SEARCH_DRUGS_LOADING and SEARCH_DRUGS_SUCCESS
  397. action types upon success response from server (3ms)
  398.  
  399. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  400. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  401.  
  402. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  403. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  404.  
  405. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  406. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  407.  
  408. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  409. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  410.  
  411. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  412. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  413.  
  414. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  415. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  416.  
  417. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  418. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  419.  
  420. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  421. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  422.  
  423. PASS tests\actions\createOrder.test.js
  424. createOrder action
  425. √ should save orders successfully (6ms)
  426.  
  427. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  428. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  429.  
  430. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  431. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  432.  
  433. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  434. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  435.  
  436. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  437. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  438.  
  439. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  440. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  441.  
  442. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  443. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  444.  
  445. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  446. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  447.  
  448. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  449. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  450.  
  451. PASS tests\actions\careSetting.test.js
  452. fetchPatientCareSetting action
  453. √ creates PATIENT_CARESETTING_LOADING and PATIENT_CARESETTING_SUCCESS
  454. action types upon success response from server (5ms)
  455.  
  456. console.error node_modules\prop-types\checkPropTypes.js:19
  457. Warning: Failed prop type: The prop `currentOrderType` is marked as required in `AddForm`, but its value is `undefined`.
  458. in AddForm
  459.  
  460. console.error node_modules\fbjs\lib\warning.js:33
  461. Warning: Each child in an array or iterator should have a unique "key" prop.
  462.  
  463. Check the render method of `StandardDose`. See https://fb.me/react-warning-keys for more information.
  464. in option (created by StandardDose)
  465. in StandardDose (created by AddForm)
  466. in div (created by DosageTabs)
  467. in DosageTabs (created by AddForm)
  468. in div (created by AddForm)
  469. in div (created by AddForm)
  470. in AddForm (created by WrapperComponent)
  471. in WrapperComponent
  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 2.
  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 1.
  496.  
  497. console.error node_modules\fbjs\lib\warning.js:33
  498. 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
  499. in input (created by StandardDose)
  500. in p (created by StandardDose)
  501. in div (created by StandardDose)
  502. in div (created by StandardDose)
  503. in form (created by StandardDose)
  504. in div (created by StandardDose)
  505. in StandardDose (created by AddForm)
  506. in div (created by DosageTabs)
  507. in DosageTabs (created by AddForm)
  508. in div (created by AddForm)
  509. in div (created by AddForm)
  510. in AddForm (created by WrapperComponent)
  511. in WrapperComponent
  512.  
  513. console.error node_modules\prop-types\checkPropTypes.js:19
  514. Warning: Failed prop type: Invalid prop `createOrderReducer.errorMessage` of type `array` supplied to `AddForm`, expected `string`.
  515. in AddForm
  516.  
  517. PASS tests\actions\labOrderTest\labConceptsAction.test.js
  518. Getting Lab Concepts action
  519. Lab Concepts API call
  520. √ creates FETCH_LAB_CONCEPTS_SUCCESS and FETCH_LAB_CONCEPTS_SUCCESS after sucessfully fetching (116ms)
  521.  
  522. PASS tests\components\DrugOrderEntry\addForm\AddForm.test.jsx (12.397s)
  523. Test for adding a new drug order
  524. √ should render component (23ms)
  525. Outpatient orders
  526. Activate and deactivate Confirm button under standard dosing form
  527. √ should be deactivated without both dispensing quantity and units (177ms)
  528. √ should be deactivated with dispensing quantity without units (96ms)
  529. √ should be activated with both dispensing Quantity and units (136ms)
  530. Activate and deactivate Confirm button under free text form
  531. √ should activate when the required fields are filled (64ms)
  532. Validation of fields
  533. √ should deactivate confirm button with invalid dose units (49ms)
  534. √ should display error with invalid dosing units (30ms)
  535. √ should activate with valid dose units (72ms)
  536. √ should deactivate with invalid frequency (44ms)
  537. √ should deactivate with invalid route (34ms)
  538. √ should deactivate with invalid dispensing unit (51ms)
  539. √ should deactivate if duration is valid but duration unit is invalid (51ms)
  540. Test AddForm state
  541. √ should update state (60ms)
  542. handleFormType() method
  543. √ sets state when method is triggered (6ms)
  544. handleFormTabs() method
  545. √ sets state when method is triggered (13ms)
  546. handleCancel() method
  547. √ dispatches clearSearchField prop when fired (39ms)
  548. populateEditOrderForm() method
  549. √ sests state to data in editOrder and draftOrder props (12ms)
  550. clearDrugForms() method
  551. √ resets the data in state (25ms)
  552. handleSubmitDrugForm() method
  553. √ it dispatches the addDraftOrder, selectDrugSuccess,
  554. setOrderAction props when method is fired (11ms)
  555. √ dispatches setSelectedOrder if activity is DRAFT_ORDER_EDIT (16ms)
  556. √ sets state accordingly (17ms)
  557. √ displays a toast with message if a drug has an active order (7ms)
  558. √ displays a toast with message if a drug has been added successfully (8ms)
  559. √ displays a toast with message if a an error occured in adding drug (20ms)
  560. √ should change the selected order after a drug has been added (7ms)
  561.  
  562. console.error node_modules\prop-types\checkPropTypes.js:19
  563. Warning: Failed prop type: The prop `note` is marked as required in `OrderEntryPage`, but its value is `undefined`.
  564. in OrderEntryPage
  565.  
  566. console.error node_modules\prop-types\checkPropTypes.js:19
  567. Warning: Failed prop type: The prop `discardTestsInDraft` is marked as required in `OrderEntryPage`, but its value is `undefined`.
  568. in OrderEntryPage
  569.  
  570. PASS tests\components\orderentry\OrderEntryPage.test.jsx (12.925s)
  571. √ shows a toast prompt when there is an error in submission (1ms)
  572. Test for Order entry page when orderentryowa.encounterType is set
  573. √ should render component (52ms)
  574. √ should render Loader Images (15ms)
  575. √ should not show error (12ms)
  576. √ renders the patient-orders component (16ms)
  577. √ should switch the order type in the state (7ms)
  578. √ does not switch order type page if the current
  579. orderType is same as the new orderType (5ms)
  580. when orderentryowa.encounterType is not set
  581. √ should not render DrugOrderEntry Component (15ms)
  582. √ should show error (7ms)
  583. when orderentryowa.encounterRole is set
  584. √ should not show error (7ms)
  585. when orderentryowa.encounterRole is not set
  586. √ should not render DrugOrderEntry Component (7ms)
  587. √ should show error (8ms)
  588. when orderentryowa.dateAndTimeFormat is set
  589. √ should not show error (8ms)
  590. √ should show error (11ms)
  591. Handling Submit
  592. √ It dispatches create lab order action if the handleSubmit method is triggered (28ms)
  593. √ shows a toast prompt when test is submitted successfully (2ms)
  594. Connected OrderEntryPage component
  595. √ component successfully rendered (6ms)
  596.  
  597. PASS tests\route.test.js (13.155s)
  598. Routes
  599. √ successfully rendered (19ms)
  600.  
  601. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  602. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  603.  
  604. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  605. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  606.  
  607. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  608. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  609.  
  610. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  611. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  612.  
  613. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  614. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  615.  
  616. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  617. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  618.  
  619. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  620. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  621.  
  622. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  623. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  624.  
  625. PASS tests\reducers\orderEntryReducer.test.js
  626. Order Entry Configurations reducer
  627. √ should return the initial state (2ms)
  628. √ should handle `FETCH_ORDER_CONFIG_SUCCESS` (2ms)
  629. √ should handle `FETCH_ORDER_CONFIG_FAILURE` (1ms)
  630. √ should set the loading status for fetching the order entry configuration (1ms)
  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 2.
  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 1.
  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 2.
  664.  
  665. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  666. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  667.  
  668. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  669. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  670.  
  671. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  672. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  673.  
  674. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  675. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  676.  
  677. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  678. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  679.  
  680. PASS tests\actions\labOrderTest\settingLabOrderableAction.test.js
  681. Get the lab orderable uuid actions
  682. √ should create an action to store fetched lab Orderable uuid (1ms)
  683. √ should create an action to log failure (1ms)
  684. Get setting for Lab orderable API call
  685. √ should dispatch `GET_LAB_ORDERABLES_SUCCESS` after sucessful fetching (129ms)
  686. √ should return a network error when reponse result is empty (103ms)
  687. √ should dispatch `GET_LAB_ORDERABLES_FAILURE` after an error (103ms)
  688.  
  689. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  690. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  691.  
  692. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  693. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  694.  
  695. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  696. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  697.  
  698. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  699. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  700.  
  701. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  702. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  703.  
  704. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  705. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  706.  
  707. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  708. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  709.  
  710. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  711. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  712.  
  713. PASS tests\actions\draftActions.test.js
  714. Draft Actions
  715. √ should dispatch DELETE_TEST_FROM_DRAFT_LAB_ORDER (1ms)
  716. √ should dispatch DELETE_PANEL_FROM_DRAFT_LAB_ORDER (2ms)
  717. √ should dispatch DELETE_DRAFT_DRUG_ORDER_SUCCESS (1ms)
  718. √ should dispatch both DELETE_ALL_DRAFT_DRUG_ORDERS_SUCCESS and DELETE_ALL_ITEMS_IN_DRAFT_LAB_ORDER (1ms)
  719. editDraftDrugOrder action creator
  720. √ should dispatch SELECT_DRUG, SET_SELECTED_ORDER, DELETE_DRAFT_DRUG_ORDER_SUCCESS (5ms)
  721. toggleDraftLabOrderUrgency action creator
  722. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  723. and set order urgency to STAT if order has no urgency (2ms)
  724. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  725. and set order urgency to ROUTINE if urgency was STAT (1ms)
  726. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  727. and set order urgency to STAT if urgency was ROUTINE (2ms)
  728.  
  729. PASS tests\reducers\contextReducer.test.js
  730. context reducer
  731. √ default order context should be null (2ms)
  732. √ should set order context (2ms)
  733.  
  734. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  735. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  736.  
  737. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  738. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  739.  
  740. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  741. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  742.  
  743. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  744. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  745.  
  746. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  747. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  748.  
  749. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  750. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  751.  
  752. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  753. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  754.  
  755. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  756. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  757.  
  758. console.warn app\js\middlewares\errorMiddleware.js:9
  759. ACTION_FAILURE - [object Promise]
  760.  
  761. (node:6600) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'catch' of undefined
  762. (Use `node --trace-warnings ...` to show where the warning was created)
  763. (node:6600) 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)
  764. (node:6600) [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.
  765. (node:6600) UnhandledPromiseRejectionWarning: Error: foo
  766. (node:6600) 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)
  767. PASS tests\middlewares\errorMiddleware.test.js
  768. errorMiddleware action
  769. √ must return a function to handle next action (2ms)
  770. √ must not handle an action without a promise payload (1ms)
  771. √ must handle an action with a promise payload but without errors (1ms)
  772. √ must handle an action with a promise payload but with errors (4ms)
  773.  
  774. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  775. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  776.  
  777. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  778. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  779.  
  780. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  781. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  782.  
  783. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  784. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  785.  
  786. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  787. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  788.  
  789. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  790. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  791.  
  792. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  793. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  794.  
  795. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  796. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  797.  
  798. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  799. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  800.  
  801. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  802. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  803.  
  804. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  805. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  806.  
  807. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  808. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  809.  
  810. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  811. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  812.  
  813. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  814. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  815.  
  816. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  817. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  818.  
  819. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  820. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  821.  
  822. PASS tests\reducers\draftReducer\draftLabOrderReducer.test.js
  823. Draft Lab Order Reducer
  824. √ should add a panel of tests to draftOrder (2ms)
  825. √ should remove a suite of panel tests when panel is unselected (5ms)
  826. √ should add multiple test panels to the draftOrder (1ms)
  827. √ should delete a test panel from the draftOrder (1ms)
  828. √ should delete a test panel from the draftOrder if there are already panels present (1ms)
  829. √ should delete all tests from the draftOrder at once (1ms)
  830. √ should add single tests not part of the panel to the draftorder (1ms)
  831. √ should not add a single tests to the draftorder if it is part of the panel and already in draft (2ms)
  832. √ should delete single tests from the draft order if they are already selected (1ms)
  833. √ should not remove a single test from the draftorder if it was previously selected and also part of the panel of tests (1ms)
  834. √ should not delete a single test from the draftorder when a new panel is added (1ms)
  835. √ should delete a single test from the draft order if it is unchecked
  836. √ should set the toggle of the urgency of a draft order to "ROUTINE" for "lab tests" (1ms)
  837. √ should set the toggle of the urgency of a draft order to "STAT" for "lab tests"
  838. √ should set the toggle of the urgency of a draft order to "STAT" for "lab panels" (1ms)
  839. √ should set the toggle of the urgency of a draft order to "ROUTINE" for "lab tests" (1ms)
  840. √ should not set the toggle of the urgency of a npn-existent draft order (1ms)
  841.  
  842. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  843. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  844.  
  845. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  846. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  847.  
  848. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  849. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  850.  
  851. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  852. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  853.  
  854. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  855. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  856.  
  857. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  858. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  859.  
  860. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  861. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  862.  
  863. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  864. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  865.  
  866. PASS tests\actions\orderEntryActions.test.js
  867. getOrderEntryConfigurations action
  868. √ creates FETCH_ORDER_CONFIG_LOADING and FETCH_ORDER_CONFIG_SUCCESS
  869. action types upon success response from server (19ms)
  870.  
  871. console.error node_modules\prop-types\checkPropTypes.js:19
  872. Warning: Failed prop type: The prop `outpatientCareSetting` is marked as required in `SearchAndAddOrder`, but its value is `undefined`.
  873. in SearchAndAddOrder
  874.  
  875. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  876. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  877.  
  878. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  879. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  880.  
  881. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  882. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  883.  
  884. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  885. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  886.  
  887. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  888. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  889.  
  890. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  891. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  892.  
  893. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  894. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  895.  
  896. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  897. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  898.  
  899. PASS tests\components\DrugOrderEntry\index.test.jsx
  900. Test for Searching and Adding an order
  901. √ should render component (10ms)
  902. √ should render component during edit activity (6ms)
  903. √ should set the details of an order in the state
  904. if activity is DRAFT_ORDER_EDIT and there is a selectedOrder (3ms)
  905. √ should render component (3ms)
  906. componentDidUpdate method
  907. √ should set the details of an order in the state
  908. if activity is DRAFT_ORDER_EDIT, there was no draftOrder in the state,
  909. and there is a selectedOrder (5ms)
  910. √ should update the details of the order in the state
  911. if activity is DRAFT_ORDER_EDIT but the selectedOrder has changed (3ms)
  912. √ should clear the details of an order in the state
  913. if there is no selectedOrder (2ms)
  914. onSelectDrug() method
  915. √ sets state to value passed as argument (2ms)
  916. onChange() method
  917. √ should sets state to value passed as argument (2ms)
  918. clearSearchField() method
  919. √ resets the state of the component (1ms)
  920. handleEditActiveDrugOrder() method
  921. √ sets state to value in props (22ms)
  922. removeOrder() method
  923. √ resets the draftOrder and editOrder values in state (2ms)
  924. handleEditDraftOrder() method
  925. √ sets draftOrder value in state to parsed argument (2ms)
  926. handleDiscardOneOrder
  927. √ should be called on discarding one draft order (3ms)
  928. √ should call setOrderAction with DISCARD_EDIT argument if action is REVISE (3ms)
  929. √ should call setOrderAction with DISCARD_ONE argument if action is not REVISE (18ms)
  930.  
  931. console.error node_modules\prop-types\checkPropTypes.js:19
  932. Warning: Failed prop type: Invalid prop `sessionReducer.sessionLocation` of type `string` supplied to `OrdersTable`, expected `object`.
  933. in OrdersTable
  934.  
  935. console.error node_modules\fbjs\lib\warning.js:33
  936. 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.
  937. in OrdersTable (created by WrapperComponent)
  938. in WrapperComponent
  939.  
  940. console.error node_modules\fbjs\lib\warning.js:33
  941. Warning: validateDOMNesting(...): <tr> cannot appear as a child of <div>.
  942. in tr (created by Accordion)
  943. in Accordion (created by OrdersTable)
  944. in OrdersTable (created by WrapperComponent)
  945. in WrapperComponent
  946.  
  947. console.error node_modules\fbjs\lib\warning.js:33
  948. 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.
  949. in OrdersTable (created by WrapperComponent)
  950. in WrapperComponent
  951.  
  952. console.error node_modules\fbjs\lib\warning.js:33
  953. Warning: validateDOMNesting(...): <tr> cannot appear as a child of <div>.
  954. in tr (created by OrdersTable)
  955. in OrdersTable (created by InjectIntl(OrdersTable))
  956. in InjectIntl(OrdersTable) (created by Connect(InjectIntl(OrdersTable)))
  957. in Connect(InjectIntl(OrdersTable)) (created by WrapperComponent)
  958. in WrapperComponent
  959.  
  960. console.error node_modules\prop-types\checkPropTypes.js:19
  961. Warning: Failed prop type: The prop `allConfigurations` is marked as required in `OrdersTable`, but its value is `undefined`.
  962. in OrdersTable
  963.  
  964. console.error node_modules\prop-types\checkPropTypes.js:19
  965. Warning: Failed prop type: The prop `encounterType` is marked as required in `OrdersTable`, but its value is `undefined`.
  966. in OrdersTable
  967.  
  968. console.error node_modules\prop-types\checkPropTypes.js:19
  969. Warning: Failed prop type: The prop `encounterRole` is marked as required in `OrdersTable`, but its value is `undefined`.
  970. in OrdersTable
  971.  
  972. (node:6600) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
  973. (node:6600) 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: 7)
  974. (node:6600) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
  975. (node:6600) 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: 8)
  976. PASS tests\components\orderentry\OrdersTable.test.jsx
  977. Orders component test-suite
  978. √ renders properly (116ms)
  979. √ does not render any data if the result array is empty (25ms)
  980. √ handles editing of active orders (22ms)
  981. getUUID() method
  982. √ should call getUUID() (8ms)
  983. setDiscontinuedOrder method for drug orders
  984. √ should call setDiscontinuedOrder for drug orders (4ms)
  985. setDiscontinuedOrder method for lab orders
  986. √ should call setDiscontinuedOrder for lab orders (1ms)
  987. discontinueOrder method
  988. √ should call discontinueOrder (1ms)
  989.  
  990. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  991. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  992.  
  993. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  994. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  995.  
  996. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  997. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  998.  
  999. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1000. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1001.  
  1002. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1003. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1004.  
  1005. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1006. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1007.  
  1008. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1009. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1010.  
  1011. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1012. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1013.  
  1014. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1015. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  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 1.
  1037.  
  1038. PASS tests\actions\settingEncounterType.test.js
  1039. Get the encounterType configuration actions
  1040. √ should create an action to store fetched configuration (2ms)
  1041. √ should create an action to log failure (1ms)
  1042. Get setting for encounterType API call
  1043. √ should dispatch `SETTING_ENCOUNTER_TYPE_SUCCESS` after sucessful fetching (105ms)
  1044. √ should dispatch `SETTING_ENCOUNTER_TYPE_SUCCESS` after an error (102ms)
  1045.  
  1046. console.error node_modules\fbjs\lib\warning.js:33
  1047. 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.
  1048. in ul (created by Draft)
  1049. in div (created by Draft)
  1050. in div (created by Draft)
  1051. in Draft (created by WrapperComponent)
  1052. in WrapperComponent
  1053.  
  1054. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1055. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1056.  
  1057. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1058. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1059.  
  1060. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1061. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1062.  
  1063. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1064. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1065.  
  1066. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1067. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1068.  
  1069. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1070. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  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 1.
  1077.  
  1078. PASS tests\components\Draft.test.jsx
  1079. Component: Draft
  1080. √ should render on initial setup (74ms)
  1081. √ should display the action buttons (26ms)
  1082. √ Should be able to display drug data to the list (48ms)
  1083. √ Should simulate the discard event (39ms)
  1084. √ trigggers handleSubmit props when the submit button is clicked (25ms)
  1085.  
  1086. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1087. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1088.  
  1089. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1090. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1091.  
  1092. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1093. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1094.  
  1095. PASS tests\reducers\labOrderReducers\fetchLabOrderReducer.test.js
  1096. fetchlaborder reducer test-suite
  1097. √ sets status key loading to true upon action type
  1098. FETCH_LAB_ORDERS_LOADING (1ms)
  1099. √ sets status key fetched to true and parses data from payload
  1100. to labOrders key on FETCH_LAB_ORDERS_SUCCESS (1ms)
  1101. √ sets status key error to true and parses errormessage from
  1102. payload to key errorMessage on FETCH_LAB_ORDERS_FAILURE (1ms)
  1103. √ returns initial state if action type is not handled (1ms)
  1104.  
  1105. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1106. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1107.  
  1108. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1109. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1110.  
  1111. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1112. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1113.  
  1114. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1115. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1116.  
  1117. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1118. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1119.  
  1120. PASS tests\components\searchDrug\index.test.jsx
  1121. Component: SearchDrug: Container
  1122. √ should render properly (6ms)
  1123. Interactions
  1124. √ should call searchDrug() with debounce feature (10ms)
  1125. √ should not call searchDrug() (4ms)
  1126. √ should call onChange() (3ms)
  1127. √ should call onOptionSelected() (2ms)
  1128. Connected SearchDrug component
  1129. √ component successfully rendered (3ms)
  1130.  
  1131. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1132. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1133.  
  1134. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1135. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1136.  
  1137. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1138. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1139.  
  1140. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1141. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1142.  
  1143. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1144. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1145.  
  1146. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1147. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1148.  
  1149. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1150. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1151.  
  1152. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1153. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1154.  
  1155. PASS tests\reducers\createOrderReducer.test.js
  1156. createOrder reducer test suite
  1157. √ sets status key error to true and sets key errorMessage to
  1158. error message from payload on action type SAVE_DRAFT_LAB_ORDER_FAILURE (1ms)
  1159. √ parses data from payload to key labOrderData and sets staus key
  1160. added to true on action type SAVE_DRAFT_LAB_ORDER_SUCCESS (1ms)
  1161. √ returns initial state if action type is not handled (1ms)
  1162. √ should handle SAVE_DRAFT_LAB_ORDER_LOADING (1ms)
  1163.  
  1164. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1165. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1166.  
  1167. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1168. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1169.  
  1170. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1171. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1172.  
  1173. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1174. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1175.  
  1176. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1177. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1178.  
  1179. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1180. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1181.  
  1182. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1183. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1184.  
  1185. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1186. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1187.  
  1188. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1189. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  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 1.
  1211.  
  1212. PASS tests\reducers\locationReducer.test.js
  1213. Location Reducer
  1214. √ set state to initial state when no new state is passed (1ms)
  1215. SET_LOCATIONS
  1216. √ set the app locations with provided data (1ms)
  1217.  
  1218. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1219. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1220.  
  1221. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1222. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1223.  
  1224. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1225. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1226.  
  1227. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1228. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1229.  
  1230. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1231. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1232.  
  1233. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1234. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  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 1.
  1241.  
  1242. PASS tests\actions\fetchOrdersAction.test.js
  1243. fetchOrders action
  1244. √ creates FETCH_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  1245. action types upon success response from server when no url ispassed but with given limits (31ms)
  1246. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  1247. action types upon success response from server when uri is passed with no limits (123ms)
  1248.  
  1249. PASS tests\reducers\activeOrderReducer.test.js
  1250. Active Order Reducer
  1251. √ should set the state for active order (2ms)
  1252. √ should set active order fetch error (1ms)
  1253. √ should set active order loading status (1ms)
  1254. √ should set the DISCONTINUE action for an order (1ms)
  1255. √ should set the EDIT order action
  1256. √ should set order status to NONE (1ms)
  1257. √ should set order status to DRAFT (1ms)
  1258. √ should set order status to DRAFT_EDIT (1ms)
  1259. √ should set the DISCARD_ONE order action (1ms)
  1260. √ should set the DISCARD_ALL order action (8ms)
  1261. √ should set the DISCARD_ALL order action for other actions
  1262. √ should set the DISCARD_EDIT order action (1ms)
  1263. √ should set the DISCARD_EDIT order action for other actions (1ms)
  1264. √ should return the previous state if no order action is fired (1ms)
  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 2.
  1283.  
  1284. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1285. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1286.  
  1287. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1288. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1289.  
  1290. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1291. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1292.  
  1293. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1294. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1295.  
  1296. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1297. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1298.  
  1299. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1300. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1301.  
  1302. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1303. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1304.  
  1305. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1306. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1307.  
  1308. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1309. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1310.  
  1311. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1312. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1313.  
  1314. PASS tests\actions\fetchAllOrdersAction.test.js
  1315. fetchOrders action
  1316. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  1317. action types upon success response from server when uri is passed with no limits (104ms)
  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 2.
  1321.  
  1322. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1323. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1324.  
  1325. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1326. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1327.  
  1328. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1329. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1330.  
  1331. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1332. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1333.  
  1334. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1335. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1336.  
  1337. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1338. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1339.  
  1340. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1341. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1342.  
  1343. PASS tests\actions\labOrderTest\labOrderableAction.test.js
  1344. getLabOrderable Action
  1345. √ creates FETCH_LAB_ORDERABLES_LOADING and FETCH_LAB_ORDERABLES_SUCCESS
  1346. action types upon success response from server (105ms)
  1347.  
  1348. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1349. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1350.  
  1351. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1352. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1353.  
  1354. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1355. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1356.  
  1357. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1358. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1359.  
  1360. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1361. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1362.  
  1363. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1364. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1365.  
  1366. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1367. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1368.  
  1369. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1370. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1371.  
  1372. PASS tests\components\orderentry\Paginate.test.jsx
  1373. Pagination component test-suite
  1374. √ renders properly (4ms)
  1375. √ dispatches action to fetch new data when the next button is clicked (11ms)
  1376. √ dispatches action to fetch new data when the previous button is clicked (3ms)
  1377. √ Disable the button when no url is passed (5ms)
  1378.  
  1379. PASS tests\components\DrugOrderEntry\addForm\StandardDose.test.jsx
  1380. Test for Standard dose form
  1381. √ should render field errors if they exist (6ms)
  1382. Rendering with initial props
  1383. √ should render component (30ms)
  1384. √ should contain form (8ms)
  1385. √ form should contain a save button (7ms)
  1386. √ form should contain a cancel button (6ms)
  1387. √ should render options if they exist in state (14ms)
  1388. √ should not have any field errors initially (8ms)
  1389.  
  1390. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1391. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1392.  
  1393. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1394. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1395.  
  1396. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1397. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1398.  
  1399. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1400. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1401.  
  1402. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1403. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1404.  
  1405. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1406. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1407.  
  1408. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1409. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1410.  
  1411. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1412. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1413.  
  1414. PASS tests\reducers\pastOrdersReducer.test.js
  1415. Past Orders Reducer
  1416. √ set state to initial state when no new state is passed (1ms)
  1417. √ should set past orders fetch error (1ms)
  1418. √ should set past orders page count (1ms)
  1419. √ should set past orders page count (1ms)
  1420. √ should set the loading status for fetching past orders (1ms)
  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 2.
  1439.  
  1440. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1441. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1442.  
  1443. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1444. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1445.  
  1446. PASS tests\reducers\labOrderReducers\settingLabOrderableReducer.test.js
  1447. getting Lab Orderable reducer
  1448. √ should return the initial state (3ms)
  1449. √ should handle `GET_LAB_ORDERABLES_LOADING` (1ms)
  1450. √ should handle `GET_LAB_ORDERABLES_SUCCESS` (1ms)
  1451. √ should handle `GET_LAB_ORDERABLES_FAILURE` (1ms)
  1452.  
  1453. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1454. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1455.  
  1456. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1457. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1458.  
  1459. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1460. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1461.  
  1462. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1463. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1464.  
  1465. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1466. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1467.  
  1468. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1469. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1470.  
  1471. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1472. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1473.  
  1474. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1475. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1476.  
  1477. PASS tests\actions\draftTableAction.test.js
  1478. Discontinue Order Actions
  1479. √ should dispatch ADD_DRAFT_DRUG_ORDER_SUCCESS successfully (3ms)
  1480. √ should dispatch DELETE_DRAFT_DRUG_ORDER_SUCCESS successfully (2ms)
  1481. √ should dispatch DELETE_ALL_DRAFT_DRUG_ORDERS_SUCCESS successfully (3ms)
  1482.  
  1483. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1484. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  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 1.
  1506.  
  1507. PASS tests\actions\dateFormat.test.js
  1508. getDateFormat action
  1509. √ creates GET_DATE_LOADING and GET_DATE_SUCCESS
  1510. action types upon success response from server (6ms)
  1511.  
  1512. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1513. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1514.  
  1515. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1516. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1517.  
  1518. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1519. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1520.  
  1521. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1522. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1523.  
  1524. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1525. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1526.  
  1527. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1528. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1529.  
  1530. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1531. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1532.  
  1533. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1534. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1535.  
  1536. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1537. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1538.  
  1539. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1540. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1541.  
  1542. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1543. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1544.  
  1545. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1546. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1547.  
  1548. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1549. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1550.  
  1551. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1552. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1553.  
  1554. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1555. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1556.  
  1557. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1558. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1559.  
  1560. console.error node_modules\prop-types\checkPropTypes.js:19
  1561. Warning: Failed prop type: The prop `backLink` is marked as required in `AllOrders`, but its value is `undefined`.
  1562. in AllOrders
  1563.  
  1564. console.error node_modules\prop-types\checkPropTypes.js:19
  1565. Warning: Failed prop type: Invalid prop `title` of type `string` supplied to `Accordion`, expected `object`.
  1566. in Accordion
  1567.  
  1568. console.error node_modules\fbjs\lib\warning.js:33
  1569. Warning: Each child in an array or iterator should have a unique "key" prop.
  1570.  
  1571. Check the top-level render call using <div>. See https://fb.me/react-warning-keys for more information.
  1572. in h1
  1573.  
  1574. PASS tests\components\orderentry\AllOrders.test.jsx
  1575. AllOrders test-suite
  1576. √ renders component properly (2ms)
  1577. √ sets the pagination urls in the Paginate component (10ms)
  1578.  
  1579. PASS tests\components\orderentry\Accordion.test.jsx
  1580. Component: Accordion
  1581. √ renders properly (10ms)
  1582. √ toggles the content visibility when clicked (14ms)
  1583.  
  1584. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1585. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1586.  
  1587. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1588. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1589.  
  1590. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1591. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1592.  
  1593. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1594. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1595.  
  1596. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1597. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1598.  
  1599. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1600. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1601.  
  1602. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1603. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1604.  
  1605. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1606. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1607.  
  1608. console.error node_modules\prop-types\checkPropTypes.js:19
  1609. Warning: Failed prop type: The prop `orderType` is marked as required in `SelectOrderType`, but its value is `undefined`.
  1610. in SelectOrderType (created by Connect(SelectOrderType))
  1611. in Connect(SelectOrderType) (created by WrapperComponent)
  1612. in WrapperComponent
  1613.  
  1614. console.error node_modules\react-intl\lib\index.js:1533
  1615. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  1616.  
  1617. console.error node_modules\react-intl\lib\index.js:1533
  1618. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  1619.  
  1620. console.error node_modules\react-intl\lib\index.js:1533
  1621. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  1622.  
  1623. PASS tests\components\orderentry\SelectOrderType.test.jsx
  1624. Component: orderentry: SelectOrderType
  1625. √ should render two dropdown type navs (64ms)
  1626. √ the current order type should have a border styling (34ms)
  1627. √ clicking the button should call switchOrderType (18ms)
  1628.  
  1629. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1630. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1631.  
  1632. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1633. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1634.  
  1635. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1636. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1637.  
  1638. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1639. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1640.  
  1641. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1642. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1643.  
  1644. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1645. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1646.  
  1647. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1648. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1649.  
  1650. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1651. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1652.  
  1653. PASS tests\actions\orderAction.test.js
  1654. Set Order Actions
  1655. √ should dispatch an order action (2ms)
  1656.  
  1657. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1658. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1659.  
  1660. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1661. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1662.  
  1663. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1664. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1665.  
  1666. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1667. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1668.  
  1669. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1670. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1671.  
  1672. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1673. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1674.  
  1675. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1676. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  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 1.
  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 2.
  1701.  
  1702. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1703. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1704.  
  1705. PASS tests\components\searchDrug\View.test.jsx
  1706. Component: searchDrug: View
  1707. Conditional rendering
  1708. √ renders properly (5ms)
  1709. √ show Searching... (4ms)
  1710. √ show search error... (3ms)
  1711. Drug Search input field
  1712. √ calls onChange() (6ms)
  1713. Select drug action
  1714. √ calls onOptionSelected() (5ms)
  1715.  
  1716. PASS tests\components\tabs\DosageTab.test.js
  1717. Dosage Tab component
  1718. √ should render without crashing (3ms)
  1719. √ should render the standard form (2ms)
  1720. √ should render the free text form (2ms)
  1721. Test click events
  1722. √ should trigger event when clicked (5ms)
  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 2.
  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 1.
  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 2.
  1765.  
  1766. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1767. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1768.  
  1769. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1770. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1771.  
  1772. PASS tests\components\DrugOrderEntry\addForm\FreeText.test.jsx
  1773. Test for Free text form
  1774. √ should render component (8ms)
  1775. √ should render options if they exist in state (6ms)
  1776.  
  1777. PASS tests\reducers\dateFormatReducer.test.js
  1778. Date Format Reducer
  1779. √ should set the state of a successful added date format (1ms)
  1780. √ should return an error (1ms)
  1781.  
  1782. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1783. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1784.  
  1785. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1786. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1787.  
  1788. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1789. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1790.  
  1791. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1792. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1793.  
  1794. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1795. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1796.  
  1797. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1798. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1799.  
  1800. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1801. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1802.  
  1803. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1804. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1805.  
  1806. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1807. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1808.  
  1809. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1810. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1811.  
  1812. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1813. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1814.  
  1815. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1816. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1817.  
  1818. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1819. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1820.  
  1821. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1822. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1823.  
  1824. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1825. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1826.  
  1827. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1828. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1829.  
  1830. PASS tests\actions\encounterType.test.js
  1831. fetchEncounterType action
  1832. √ creates FETCH_ENCOUNTER_TYPE_LOADING and FETCH_ENCOUNTER_TYPE_SUCCESS
  1833. action types upon success response from server (19ms)
  1834.  
  1835. PASS tests\reducers\labOrderReducers\labConceptsReducer.test.js
  1836. Lab Concepts reducer
  1837. √ should return the initial state (1ms)
  1838. √ should handle `FETCH_LAB_CONCEPTS_SUCCESS` (3ms)
  1839. √ should handle `FETCH_LAB_CONCEPTS_LOADING` (16ms)
  1840. √ should handle `FETCH_LAB_CONCEPTS_FAILURE` (1ms)
  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 2.
  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 1.
  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 2.
  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 1.
  1889.  
  1890. console.error node_modules\prop-types\checkPropTypes.js:19
  1891. Warning: Failed prop type: The prop `activeTabIndex` is marked as required in `DosageTabs`, but its value is `undefined`.
  1892. in DosageTabs
  1893.  
  1894. PASS tests\components\tabs\DosageTabs.test.js
  1895. Dosage Tab component
  1896. √ should render without crashing (6ms)
  1897. handleTabClick() method
  1898. √ dispatches handleFormTabs, FormType props when triggered (1ms)
  1899.  
  1900. PASS tests\reducers\encounterRoleReducer.test.js
  1901. encounterRole reducer for get actions
  1902. √ should return loading as true (1ms)
  1903. √ should return encounterRole (1ms)
  1904. √ should return an error (1ms)
  1905.  
  1906. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1907. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1908.  
  1909. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1910. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1911.  
  1912. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1913. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1914.  
  1915. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1916. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1917.  
  1918. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1919. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1920.  
  1921. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1922. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1923.  
  1924. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1925. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1926.  
  1927. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1928. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1929.  
  1930. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1931. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1932.  
  1933. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1934. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1935.  
  1936. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1937. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1938.  
  1939. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1940. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  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 1.
  1953.  
  1954. console.error node_modules\prop-types\checkPropTypes.js:19
  1955. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabPanelFieldSet`, but its value is `undefined`.
  1956. in LabPanelFieldSet
  1957.  
  1958. PASS tests\actions\patient.test.js
  1959. Patient actions
  1960. √ fetch patient records (22ms)
  1961. √ fetch patient records failure case (8ms)
  1962. √ fetch patient's note (5ms)
  1963.  
  1964. PASS tests\components\labOrderEntry\LabPanelFieldSet.test.jsx
  1965. Component: LabPanelFieldSet
  1966. √ should mount initially (7ms)
  1967. √ should support click for each button rendered (5ms)
  1968. √ should add class `active` to the slected panels (6ms)
  1969.  
  1970. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1971. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1972.  
  1973. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1974. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1975.  
  1976. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1977. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1978.  
  1979. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1980. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1981.  
  1982. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1983. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1984.  
  1985. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1986. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1987.  
  1988. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1989. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  1990.  
  1991. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  1992. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  1993.  
  1994. console.error node_modules\prop-types\checkPropTypes.js:19
  1995. Warning: Failed prop type: The prop `handleEdit` is marked as required in `OrderHeader`, but its value is `undefined`.
  1996. in OrderHeader
  1997.  
  1998. console.error node_modules\prop-types\checkPropTypes.js:19
  1999. Warning: Failed prop type: The prop `handleDiscontinue` is marked as required in `OrderHeader`, but its value is `undefined`.
  2000. in OrderHeader
  2001.  
  2002. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2003. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2004.  
  2005. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2006. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2007.  
  2008. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2009. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2010.  
  2011. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2012. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2013.  
  2014. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2015. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2016.  
  2017. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2018. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2019.  
  2020. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2021. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2022.  
  2023. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2024. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2025.  
  2026. PASS tests\components\orderentry\OrderHeader.test.jsx
  2027. Component: OrderHeader
  2028. √ renders properly (7ms)
  2029. isEditable
  2030. √ isEditable should return false for lab orders (1ms)
  2031. √ isEditable should return false for unknown order type (1ms)
  2032. ○ skipped 1 test
  2033. isCancellable
  2034. √ isCancellable should return true for lab orders with no fulfiller status (1ms)
  2035. √ isCancellable should return true for lab orders with RECEIVED fulfiller status (1ms)
  2036. √ isCancellable should return true for lab orders with EXCEPTION fulfiller status
  2037. √ isCancellable should return false for lab orders with IN_PROGRESS fulfiller status (1ms)
  2038. √ isCancellable should return false for lab orders with COMPLETED fulfiller status (1ms)
  2039. ○ skipped 1 test
  2040.  
  2041. console.error node_modules\prop-types\checkPropTypes.js:19
  2042. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabTestFieldSet`, but its value is `undefined`.
  2043. in LabTestFieldSet
  2044.  
  2045. PASS tests\components\labOrderEntry\LabTestFieldSet.test.jsx
  2046. Component: LabTestFieldSet
  2047. √ should mount initially (8ms)
  2048. √ should support click for each button rendered (13ms)
  2049. √ should add a class of `active` to the selected test (5ms)
  2050.  
  2051. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2052. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2053.  
  2054. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2055. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2056.  
  2057. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2058. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2059.  
  2060. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2061. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2062.  
  2063. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2064. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2065.  
  2066. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2067. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2068.  
  2069. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2070. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2071.  
  2072. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2073. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2074.  
  2075. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2076. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2077.  
  2078. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2079. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2080.  
  2081. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2082. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2083.  
  2084. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2085. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2086.  
  2087. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2088. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2089.  
  2090. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2091. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2092.  
  2093. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2094. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2095.  
  2096. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2097. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2098.  
  2099. PASS tests\actions\draftLabOrderAction.test.js
  2100. Lab Order Actions
  2101. √ should dispatch an action to delete all draftOrders (4ms)
  2102. √ should dispatch an action to add single tests to draftOrders (1ms)
  2103. √ should dispatch an action to remove single tests from the draftOrders (1ms)
  2104. √ should dispatch an action to remove a test panel from the draftOrder (1ms)
  2105. √ should dispatch an action to add a test panel to the draftOrder (1ms)
  2106.  
  2107. PASS tests\actions\encounterRole.test.js
  2108. fetchEncounterRole action
  2109. √ creates FETCH_ENCOUNTER_ROLE_LOADING and FETCH_ENCOUNTER_ROLE_SUCCESS
  2110. action types upon success response from server (8ms)
  2111.  
  2112. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2113. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2114.  
  2115. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2116. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2117.  
  2118. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2119. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2120.  
  2121. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2122. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2123.  
  2124. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2125. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2126.  
  2127. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2128. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2129.  
  2130. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2131. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2132.  
  2133. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2134. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2135.  
  2136. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2137. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2138.  
  2139. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2140. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2141.  
  2142. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2143. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2144.  
  2145. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2146. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2147.  
  2148. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2149. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2150.  
  2151. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2152. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2153.  
  2154. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2155. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2156.  
  2157. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2158. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2159.  
  2160. PASS tests\reducers\settingEncounterTypeReducer.test.js
  2161. Setting Encounter Type reducer
  2162. √ should return the initial state (2ms)
  2163. √ should handle `SETTING_ENCOUNTER_TYPE_LOADING` (1ms)
  2164. √ should handle `SETTING_ENCOUNTER_TYPE_SUCCESS` (1ms)
  2165. √ should handle `SETTING_ENCOUNTER_TYPE_FAILURE` (1ms)
  2166.  
  2167. PASS tests\reducers\settingEncounterRoleReducer.test.js
  2168. Setting Encounter Tole reducer
  2169. √ should return the initial state (1ms)
  2170. √ should handle `SETTING_ENCOUNTER_ROLE_LOADING` (1ms)
  2171. √ should handle `SETTING_ENCOUNTER_ROLE_SUCCESS` (1ms)
  2172. √ should handle `SETTING_ENCOUNTER_ROLE_FAILURE` (1ms)
  2173. √ should set the loading status for the encounter role
  2174.  
  2175. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2176. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2177.  
  2178. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2179. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2180.  
  2181. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2182. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2183.  
  2184. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2185. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2186.  
  2187. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2188. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2189.  
  2190. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2191. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2192.  
  2193. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2194. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2195.  
  2196. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2197. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2198.  
  2199. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2200. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2201.  
  2202. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2203. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2204.  
  2205. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2206. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2207.  
  2208. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2209. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2210.  
  2211. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2212. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2213.  
  2214. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2215. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2216.  
  2217. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2218. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2219.  
  2220. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2221. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2222.  
  2223. PASS tests\actions\activeOrderAction.test.js
  2224. activeOrder action
  2225. √ should fetch active orders successfully (9ms)
  2226.  
  2227. PASS tests\reducers\fetchOrdersReducer.test.js
  2228. fetchorders reducer test-suite
  2229. √ sets status key loading to true upon action type
  2230. FETCH_ORDERS_LOADING (1ms)
  2231. √ sets status key fetched to true and parses data from payload
  2232. to Orders key on FETCH_ORDERS_SUCCESS (2ms)
  2233. √ sets status key error to true and parses errormessage from
  2234. payload to key errorMessage on FETCH_ORDERS_FAILURE (1ms)
  2235. √ filters the data in the results array upon action type SORT_AND_FILTER (2ms)
  2236. √ filters from the original data if the filter array is empty (1ms)
  2237. √ returns all the data if sortQuery value is all and sortBy is type (1ms)
  2238. √ returns initial state if action type is not handled (1ms)
  2239. √ should remove a discontinued active order from the state (1ms)
  2240.  
  2241. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2242. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2243.  
  2244. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2245. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2246.  
  2247. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2248. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2249.  
  2250. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2251. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2252.  
  2253. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2254. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2255.  
  2256. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2257. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2258.  
  2259. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2260. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2261.  
  2262. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2263. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2264.  
  2265. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2266. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2267.  
  2268. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2269. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2270.  
  2271. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2272. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2273.  
  2274. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2275. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2276.  
  2277. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2278. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2279.  
  2280. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2281. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2282.  
  2283. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2284. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2285.  
  2286. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2287. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2288.  
  2289. PASS tests\components\button\IconButton.test.jsx
  2290. Component: IconButton
  2291. √ renders properly (6ms)
  2292. √ has a handler for click events (12ms)
  2293.  
  2294. PASS tests\reducers\noteReducer.test.js
  2295. Note Reducer
  2296. √ set state to initial state when no new state is passed (1ms)
  2297. SET_NOTE
  2298. √ set the patient with provided data (1ms)
  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 2.
  2305.  
  2306. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2307. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2308.  
  2309. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2310. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2311.  
  2312. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2313. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2314.  
  2315. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2316. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2317.  
  2318. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2319. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2320.  
  2321. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2322. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2323.  
  2324. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2325. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2326.  
  2327. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2328. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2329.  
  2330. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2331. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2332.  
  2333. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2334. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2335.  
  2336. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2337. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2338.  
  2339. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2340. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2341.  
  2342. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2343. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2344.  
  2345. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2346. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2347.  
  2348. PASS tests\reducers\drugSearchReducer.test.js
  2349. drugSearch Reducer
  2350. SEARCH_DRUGS_SUCCESS
  2351. √ set the patient with provided data (3ms)
  2352. SEARCH_DRUGS_FAILURE
  2353. √ set the patient with provided data (1ms)
  2354. SEARCH_DRUGS_LOADING
  2355. √ set the patient with provided data (1ms)
  2356. SELECT_DRUG
  2357. √ set the selected drug
  2358. √ set the selected drug to empty (1ms)
  2359.  
  2360. PASS tests\reducers\draftReducer\draftDrugOrderReducer.test.js
  2361. Draft Table Reducer
  2362. √ should set the state of a successful added draft order (2ms)
  2363. √ should set the state of a successful deleted draft order
  2364. √ should set the state of successful deleted draft orders (1ms)
  2365.  
  2366. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2367. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2368.  
  2369. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2370. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2371.  
  2372. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2373. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2374.  
  2375. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2376. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2377.  
  2378. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2379. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2380.  
  2381. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2382. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2383.  
  2384. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2385. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2386.  
  2387. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2388. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2389.  
  2390. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2391. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2392.  
  2393. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2394. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2395.  
  2396. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2397. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2398.  
  2399. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2400. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2401.  
  2402. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2403. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2404.  
  2405. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2406. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2407.  
  2408. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2409. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2410.  
  2411. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2412. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2413.  
  2414. PASS tests\reducers\orderSelectionReducer.test.js
  2415. orderSelectionReducer Reducer
  2416. √ should return the state as default when action is not triggered (4ms)
  2417. SET_SELECTED_ORDER
  2418. √ set the state with provided data (2ms)
  2419.  
  2420. PASS tests\reducers\careSettingReducer.test.js
  2421. careSetting reducer
  2422. √ should successfully fetch care settings (2ms)
  2423. √ should set the caresetting fetch error (1ms)
  2424. √ should set the caresetting loading status (1ms)
  2425.  
  2426. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2427. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2428.  
  2429. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2430. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2431.  
  2432. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2433. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2434.  
  2435. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2436. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2437.  
  2438. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2439. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2440.  
  2441. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2442. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2443.  
  2444. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2445. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2446.  
  2447. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2448. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2449.  
  2450. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2451. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2452.  
  2453. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2454. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2455.  
  2456. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2457. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2458.  
  2459. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2460. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2461.  
  2462. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2463. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2464.  
  2465. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2466. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2467.  
  2468. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2469. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2470.  
  2471. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2472. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2473.  
  2474. PASS tests\reducers\patientReducer.test.js
  2475. Patient Reducer
  2476. √ set state to initial state when no new state is passed (1ms)
  2477. SET_PATIENT
  2478. √ set the patient with provided data (1ms)
  2479. √ set the patient to empty array if the request fails (1ms)
  2480.  
  2481. PASS tests\reducers\encounterReducer.test.js
  2482. encounter reducer for get actions
  2483. √ should return loading as true (1ms)
  2484. √ should return encounterType (1ms)
  2485. √ should return an error
  2486.  
  2487. --------------------------------------|----------|----------|----------|----------|-------------------|
  2488. File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
  2489. --------------------------------------|----------|----------|----------|----------|-------------------|
  2490. All files | 89.46 | 79.42 | 86.16 | 89.87 | |
  2491. js | 75 | 16.67 | 33.33 | 75 | |
  2492. config.js | 100 | 100 | 100 | 100 | |
  2493. redux-store.jsx | 55.56 | 16.67 | 0 | 55.56 | 39,42,44,45 |
  2494. routes.jsx | 100 | 100 | 100 | 100 | |
  2495. js/actions | 98.17 | 86.96 | 96.83 | 98.85 | |
  2496. actionTypes.js | 100 | 100 | 100 | 100 | |
  2497. activeOrderAction.js | 100 | 100 | 100 | 100 | |
  2498. careSetting.js | 100 | 100 | 100 | 100 | |
  2499. context.js | 50 | 100 | 0 | 100 | |
  2500. createOrder.js | 83.33 | 100 | 66.67 | 100 | |
  2501. dateFormat.js | 100 | 100 | 100 | 100 | |
  2502. draftActions.js | 100 | 100 | 100 | 100 | |
  2503. draftLabOrderAction.js | 100 | 100 | 100 | 100 | |
  2504. draftTableAction.js | 100 | 100 | 100 | 100 | |
  2505. drug.js | 100 | 100 | 100 | 100 | |
  2506. encounterRole.js | 100 | 100 | 100 | 100 | |
  2507. encounterType.js | 100 | 100 | 100 | 100 | |
  2508. fetchAllOrders.js | 100 | 50 | 100 | 100 | 11 |
  2509. fetchOrders.js | 100 | 100 | 100 | 100 | |
  2510. loading.js | 100 | 100 | 100 | 100 | |
  2511. networkError.js | 100 | 100 | 100 | 100 | |
  2512. orderAction.js | 100 | 100 | 100 | 100 | |
  2513. orderEntryActions.js | 100 | 100 | 100 | 100 | |
  2514. patient.js | 100 | 50 | 100 | 100 | 14 |
  2515. settingEncounterRole.js | 95 | 100 | 100 | 93.33 | 32 |
  2516. settingEncounterType.js | 93.75 | 50 | 100 | 92.31 | 25 |
  2517. js/actions/labOrders | 92.31 | 85.71 | 90 | 94.74 | |
  2518. fetchLabOrders.js | 100 | 100 | 100 | 100 | |
  2519. labConceptsAction.js | 100 | 100 | 100 | 100 | |
  2520. labOrderableAction.js | 100 | 100 | 100 | 100 | |
  2521. settingLabOrderableAction.js | 90 | 75 | 85.71 | 93.33 | 33 |
  2522. js/components | 95.65 | 100 | 83.33 | 100 | |
  2523. Draft.jsx | 95.65 | 100 | 83.33 | 100 | |
  2524. js/components/button | 100 | 100 | 100 | 100 | |
  2525. IconButton.jsx | 100 | 100 | 100 | 100 | |
  2526. js/components/drugOrderEntry | 97.56 | 91.43 | 94.12 | 97.44 | |
  2527. index.jsx | 97.56 | 91.43 | 94.12 | 97.44 | 190 |
  2528. js/components/drugOrderEntry/addForm | 96.69 | 86.77 | 89.47 | 96.55 | |
  2529. AddForm.jsx | 97.14 | 86.51 | 89.66 | 97 | 221,364,447 |
  2530. DrugOrderPrintPreview.jsx | 0 | 100 | 0 | 0 | 6 |
  2531. FreeText.jsx | 100 | 53.85 | 100 | 100 | 38,48,55,74 |
  2532. StandardDose.jsx | 100 | 96 | 100 | 100 | 208,218 |
  2533. js/components/labOrderEntry | 98.46 | 87.5 | 100 | 100 | |
  2534. LabEntryForm.jsx | 97.73 | 85.29 | 100 | 100 | 57,64,129,130,155 |
  2535. LabPanelFieldSet.jsx | 100 | 100 | 100 | 100 | |
  2536. LabTestFieldSet.jsx | 100 | 100 | 100 | 100 | |
  2537. labData.js | 100 | 100 | 100 | 100 | |
  2538. js/components/orderEntry | 88.27 | 61.31 | 83.33 | 89.41 | |
  2539. Accordion.jsx | 100 | 83.33 | 100 | 100 | 7 |
  2540. AllOrders.jsx | 86.67 | 100 | 60 | 92.86 | 76 |
  2541. DrugOrderDetails.jsx | 100 | 100 | 100 | 100 | |
  2542. LabOrderDetails.jsx | 100 | 50 | 100 | 100 | 24 |
  2543. OrderEntryPage.jsx | 93.75 | 75 | 87.5 | 93.55 | 77,80,374,391 |
  2544. OrderHeader.jsx | 100 | 80 | 100 | 100 | 33,41 |
  2545. OrdersTable.jsx | 78.57 | 30.36 | 85.71 | 77.5 |... 83,184,185,186 |
  2546. Paginate.jsx | 100 | 100 | 100 | 100 | |
  2547. SelectOrderType.jsx | 66.67 | 62.5 | 57.14 | 73.33 | 16,22,26,30 |
  2548. orderTypes.js | 100 | 100 | 100 | 100 | |
  2549. js/components/searchDrug | 100 | 94.12 | 100 | 100 | |
  2550. View.jsx | 100 | 90.91 | 100 | 100 | 34 |
  2551. index.jsx | 100 | 100 | 100 | 100 | |
  2552. js/components/tabs | 100 | 100 | 87.5 | 100 | |
  2553. DosageTab.jsx | 100 | 100 | 66.67 | 100 | |
  2554. DosageTabs.jsx | 100 | 100 | 100 | 100 | |
  2555. js/middlewares | 96.43 | 90.63 | 100 | 96.23 | |
  2556. errorMiddleware.js | 100 | 100 | 100 | 100 | |
  2557. responseHandlerMiddleware.js | 95.74 | 90 | 100 | 95.65 | 64,65 |
  2558. js/reducers | 98.6 | 95.24 | 95.83 | 98.58 | |
  2559. activeOrderReducer.js | 100 | 87.5 | 100 | 100 | 25,61,70,74,80 |
  2560. careSettingReducer.js | 100 | 100 | 100 | 100 | |
  2561. contextReducer.js | 100 | 100 | 100 | 100 | |
  2562. createOrderReducer.js | 100 | 100 | 100 | 100 | |
  2563. dateFormatReducer.js | 100 | 100 | 100 | 100 | |
  2564. drugSearchReducer.js | 100 | 100 | 100 | 100 | |
  2565. encounterReducer.js | 100 | 100 | 100 | 100 | |
  2566. encounterRoleReducer.js | 100 | 100 | 100 | 100 | |
  2567. fetchOrdersReducer.js | 91.3 | 93.75 | 83.33 | 90.48 | 78,81 |
  2568. index.js | 0 | 0 | 0 | 0 | |
  2569. initialState.js | 0 | 0 | 0 | 0 | |
  2570. locationReducer.js | 100 | 100 | 100 | 100 | |
  2571. noteReducer.js | 100 | 100 | 100 | 100 | |
  2572. orderEntryReducer.js | 100 | 100 | 100 | 100 | |
  2573. orderSelectionReducer.js | 100 | 100 | 100 | 100 | |
  2574. pastOrdersReducer.js | 100 | 100 | 100 | 100 | |
  2575. patientReducer.js | 100 | 100 | 100 | 100 | |
  2576. settingEncounterRoleReducer.js | 100 | 100 | 100 | 100 | |
  2577. settingEncounterTypeReducer.js | 100 | 100 | 100 | 100 | |
  2578. js/reducers/draftReducer | 71.93 | 68 | 73.33 | 70.37 | |
  2579. draftDrugOrderReducer.js | 100 | 100 | 100 | 100 | |
  2580. draftLabOrderReducer.js | 68.63 | 60 | 69.23 | 66.67 |... 13,114,116,118 |
  2581. index.js | 0 | 0 | 0 | 0 | |
  2582. js/reducers/labOrders | 100 | 100 | 100 | 100 | |
  2583. fetchLabOrderReducer.js | 100 | 100 | 100 | 100 | |
  2584. labConceptsReducer.js | 100 | 100 | 100 | 100 | |
  2585. labOrderableReducer.js | 100 | 100 | 100 | 100 | |
  2586. settingLabOrderableReducer.js | 100 | 100 | 100 | 100 | |
  2587. js/rest | 7.69 | 0 | 0 | 7.69 | |
  2588. encounterRest.js | 7.69 | 0 | 0 | 7.69 |... 20,24,26,27,29 |
  2589. js/sagas | 8.16 | 0 | 0 | 9.3 | |
  2590. index.js | 66.67 | 100 | 0 | 66.67 | 10 |
  2591. orderSaga.js | 4.35 | 0 | 0 | 5 |... 07,109,111,116 |
  2592. js/utils | 86.21 | 77.27 | 75 | 88 | |
  2593. constants.js | 100 | 100 | 100 | 100 | |
  2594. globalProperty.js | 85.71 | 100 | 66.67 | 100 | |
  2595. helpers.js | 76.92 | 77.27 | 66.67 | 75 | 14,15,19 |
  2596. toast.js | 100 | 100 | 100 | 100 | |
  2597. --------------------------------------|----------|----------|----------|----------|-------------------|
  2598. Handlebars: Access has been denied to resolve the property "statements" because it is not an "own property" of its parent.
  2599. You can add a runtime option to disable the check or this warning:
  2600. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  2601. Handlebars: Access has been denied to resolve the property "branches" because it is not an "own property" of its parent.
  2602. You can add a runtime option to disable the check or this warning:
  2603. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  2604. Handlebars: Access has been denied to resolve the property "functions" because it is not an "own property" of its parent.
  2605. You can add a runtime option to disable the check or this warning:
  2606. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  2607. Handlebars: Access has been denied to resolve the property "lines" because it is not an "own property" of its parent.
  2608. You can add a runtime option to disable the check or this warning:
  2609. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  2610. Test Suites: 67 passed, 67 total
  2611. Tests: 2 skipped, 309 passed, 311 total
  2612. Snapshots: 22 passed, 22 total
  2613. Time: 51.554s
  2614. Ran all test suites.
  2615.  
  2616. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT build F:\digimodules\openmrs-owa-orderentry
  2617. > npm run clean && SET NODE_ENV="production" webpack --progress --colors
  2618.  
  2619.  
  2620. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT clean F:\digimodules\openmrs-owa-orderentry
  2621. > rimraf dist && rimraf coverage*
  2622.  
  2623.  
  2624. NextGen@NGC MINGW64 /f/digimodules/openmrs-owa-orderentry (master)
  2625. $ ^Cm start
  2626.  
  2627. NextGen@NGC MINGW64 /f/digimodules/openmrs-owa-orderentry (master)
  2628. $ npm run build:prod
  2629.  
  2630. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT build:prod F:\digimodules\openmrs-owa-orderentry
  2631. > npm run test && npm run build
  2632.  
  2633.  
  2634. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT test F:\digimodules\openmrs-owa-orderentry
  2635. > npm run lint && jest --coverage --maxWorkers=4
  2636.  
  2637.  
  2638. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT lint F:\digimodules\openmrs-owa-orderentry
  2639. > eslint . --ext .js,.jsx
  2640.  
  2641.  
  2642. F:\digimodules\openmrs-owa-orderentry\app\js\components\Draft.jsx
  2643. 13:46 warning 'locale' is missing in props validation react/prop-types
  2644. 76:54 warning 'intl' is missing in props validation react/prop-types
  2645. 76:60 warning 'isLoading' is missing in props validation react/prop-types
  2646.  
  2647. F:\digimodules\openmrs-owa-orderentry\app\js\components\drugOrderEntry\addForm\AddForm.jsx
  2648. 65:54 warning 'intl' is missing in props validation react/prop-types
  2649. 362:1 warning Trailing spaces not allowed no-trailing-spaces
  2650.  
  2651. F:\digimodules\openmrs-owa-orderentry\app\js\components\drugOrderEntry\addForm\DrugOrderPrintPreview.jsx
  2652. 6:1 warning Expected indentation of 2 spaces but found 4 indent
  2653. 7:1 warning Expected indentation of 4 spaces but found 6 indent
  2654. 8:1 warning Expected indentation of 6 spaces but found 8 indent
  2655. 9:1 warning Expected indentation of 6 spaces but found 8 indent
  2656. 10:1 warning Expected indentation of 6 spaces but found 8 indent
  2657. 11:1 warning Expected indentation of 4 spaces but found 6 indent
  2658. 12:1 warning Expected indentation of 6 spaces but found 8 indent
  2659. 13:1 warning Expected indentation of 8 spaces but found 10 indent
  2660. 15:1 warning Expected indentation of 8 spaces but found 10 indent
  2661. 16:1 warning Expected indentation of 6 spaces but found 8 indent
  2662. 17:1 warning Expected indentation of 6 spaces but found 8 indent
  2663. 18:1 warning Expected indentation of 8 spaces but found 10 indent
  2664. 19:1 warning Expected indentation of 8 spaces but found 10 indent
  2665. 23:1 warning Expected indentation of 8 spaces but found 10 indent
  2666. 24:1 warning Expected indentation of 6 spaces but found 8 indent
  2667. 25:1 warning Expected indentation of 6 spaces but found 8 indent
  2668. 26:1 warning Expected indentation of 8 spaces but found 10 indent
  2669. 26:34 warning 'onHide' is missing in props validation react/prop-types
  2670. 27:1 warning Expected indentation of 6 spaces but found 8 indent
  2671. 28:1 warning Expected indentation of 4 spaces but found 6 indent
  2672. 29:1 warning Expected indentation of 2 spaces but found 4 indent
  2673. 30:1 warning Expected indentation of 0 spaces but found 2 indent
  2674.  
  2675. F:\digimodules\openmrs-owa-orderentry\app\js\components\drugOrderEntry\index.jsx
  2676. 34:7 warning Do not use setState in componentDidMount react/no-did-mount-set-state
  2677. 51:7 warning Do not use setState in componentDidUpdate react/no-did-update-set-state
  2678. 59:7 warning Do not use setState in componentDidUpdate react/no-did-update-set-state
  2679. 170:59 warning 'backLink' is missing in props validation react/prop-types
  2680.  
  2681. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabEntryForm.jsx
  2682. 58:76 warning 'sessionReducer' is missing in props validation react/prop-types
  2683. 58:91 warning 'sessionReducer.locale' is missing in props validation react/prop-types
  2684. 86:13 warning 'intl' is missing in props validation react/prop-types
  2685.  
  2686. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabPanelFieldSet.jsx
  2687. 15:69 warning 'locale' is missing in props validation react/prop-types
  2688.  
  2689. F:\digimodules\openmrs-owa-orderentry\app\js\components\labOrderEntry\LabTestFieldSet.jsx
  2690. 9:65 warning 'locale' is missing in props validation react/prop-types
  2691.  
  2692. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrderEntryPage.jsx
  2693. 47:13 warning 'dispatch' is missing in props validation react/prop-types
  2694. 68:13 warning 'intl' is missing in props validation react/prop-types
  2695. 82:60 warning 'patient.uuid' is missing in props validation react/prop-types
  2696. 175:45 warning 'globalProperties' is missing in props validation react/prop-types
  2697. 194:59 warning 'sessionReducer.sessionLocation.uuid' is missing in props validation react/prop-types
  2698. 313:34 warning 'orderType' is missing in props validation react/prop-types
  2699. 332:1 warning Expected indentation of 20 spaces but found 18 indent
  2700. 351:1 warning Expected indentation of 24 spaces but found 22 indent
  2701. 352:1 warning Expected indentation of 26 spaces but found 24 indent
  2702. 353:1 warning Expected indentation of 24 spaces but found 22 indent
  2703. 354:1 warning Expected indentation of 22 spaces but found 20 indent
  2704. 356:1 warning Expected indentation of 24 spaces but found 22 indent
  2705. 357:1 warning Expected indentation of 26 spaces but found 24 indent
  2706. 358:1 warning Expected indentation of 28 spaces but found 26 indent
  2707. 359:1 warning Expected indentation of 30 spaces but found 28 indent
  2708. 360:1 warning Expected indentation of 28 spaces but found 26 indent
  2709. 361:1 warning Expected indentation of 28 spaces but found 26 indent
  2710. 362:1 warning Expected indentation of 28 spaces but found 26 indent
  2711. 363:1 warning Expected indentation of 28 spaces but found 26 indent
  2712. 364:1 warning Expected indentation of 26 spaces but found 24 indent
  2713. 365:1 warning Expected indentation of 24 spaces but found 22 indent
  2714. 366:1 warning Expected indentation of 22 spaces but found 20 indent
  2715. 379:59 warning 'sessionReducer.locale' is missing in props validation react/prop-types
  2716.  
  2717. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrderHeader.jsx
  2718. 14:1 warning Expected indentation of 0 spaces but found 4 indent
  2719. 14:6 warning Missing semicolon semi
  2720. 19:3 warning 'intl' is missing in props validation react/prop-types
  2721.  
  2722. F:\digimodules\openmrs-owa-orderentry\app\js\components\orderEntry\OrdersTable.jsx
  2723. 148:57 warning 'sessionReducer.sessionLocation.uuid' is missing in props validation react/prop-types
  2724. 178:51 warning 'orderType' is missing in props validation react/prop-types
  2725.  
  2726. ✖ 64 problems (0 errors, 64 warnings)
  2727. 0 errors, 40 warnings potentially fixable with the `--fix` option.
  2728.  
  2729. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2730. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2731.  
  2732. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2733. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2734.  
  2735. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2736. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2737.  
  2738. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2739. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2740.  
  2741. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2742. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2743.  
  2744. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2745. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2746.  
  2747. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2748. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2749.  
  2750. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2751. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2752.  
  2753. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2754. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2755.  
  2756. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2757. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2758.  
  2759. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2760. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2761.  
  2762. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2763. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2764.  
  2765. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2766. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2767.  
  2768. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2769. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2770.  
  2771. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2772. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2773.  
  2774. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2775. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2776.  
  2777. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2778. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2779.  
  2780. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2781. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2782.  
  2783. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2784. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2785.  
  2786. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2787. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2788.  
  2789. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2790. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2791.  
  2792. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2793. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2794.  
  2795. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2796. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2797.  
  2798. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2799. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2800.  
  2801. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2802. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2803.  
  2804. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2805. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2806.  
  2807. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2808. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2809.  
  2810. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2811. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2812.  
  2813. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2814. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2815.  
  2816. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2817. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2818.  
  2819. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2820. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2821.  
  2822. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2823. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2824.  
  2825. console.error node_modules\prop-types\checkPropTypes.js:19
  2826. Warning: Failed prop type: The prop `currentOrderType` is marked as required in `AddForm`, but its value is `undefined`.
  2827. in AddForm
  2828.  
  2829. console.error node_modules\fbjs\lib\warning.js:33
  2830. Warning: Each child in an array or iterator should have a unique "key" prop.
  2831.  
  2832. Check the render method of `StandardDose`. See https://fb.me/react-warning-keys for more information.
  2833. in option (created by StandardDose)
  2834. in StandardDose (created by AddForm)
  2835. in div (created by DosageTabs)
  2836. in DosageTabs (created by AddForm)
  2837. in div (created by AddForm)
  2838. in div (created by AddForm)
  2839. in AddForm (created by WrapperComponent)
  2840. in WrapperComponent
  2841.  
  2842. console.error node_modules\prop-types\checkPropTypes.js:19
  2843. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabPanelFieldSet`, but its value is `undefined`.
  2844. in LabPanelFieldSet (created by LabEntryForm)
  2845. in LabEntryForm (created by WrapperComponent)
  2846. in WrapperComponent
  2847.  
  2848. console.error node_modules\prop-types\checkPropTypes.js:19
  2849. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabTestFieldSet`, but its value is `undefined`.
  2850. in LabTestFieldSet (created by LabEntryForm)
  2851. in LabEntryForm (created by WrapperComponent)
  2852. in WrapperComponent
  2853.  
  2854. console.error node_modules\fbjs\lib\warning.js:33
  2855. 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
  2856. in input (created by StandardDose)
  2857. in p (created by StandardDose)
  2858. in div (created by StandardDose)
  2859. in div (created by StandardDose)
  2860. in form (created by StandardDose)
  2861. in div (created by StandardDose)
  2862. in StandardDose (created by AddForm)
  2863. in div (created by DosageTabs)
  2864. in DosageTabs (created by AddForm)
  2865. in div (created by AddForm)
  2866. in div (created by AddForm)
  2867. in AddForm (created by WrapperComponent)
  2868. in WrapperComponent
  2869.  
  2870. console.error node_modules\prop-types\checkPropTypes.js:19
  2871. Warning: Failed prop type: Invalid prop `createOrderReducer.errorMessage` of type `array` supplied to `AddForm`, expected `string`.
  2872. in AddForm
  2873.  
  2874. PASS tests\components\labOrderEntry\LabEntryForm.test.jsx
  2875. Component: LabEntryForm
  2876. √ should render on initial setup (159ms)
  2877. √ should be able to select a category (75ms)
  2878. √ should dispatch an action to remove a test panel from the draft (29ms)
  2879. √ should dispatch an action to add a test panel to the draft (20ms)
  2880. √ should dispatch an action to handle single test selection (18ms)
  2881. √ should dispatch an action to handle single test deletion (19ms)
  2882. √ should dispatch an action to handle panel deletion (23ms)
  2883. √ should dispatch an action to handle deletion of all items from the draft (38ms)
  2884. √ should change the default lab form's tests category by toggling component state (32ms)
  2885. √ shows a toast prompt when test is submitted successfully (31ms)
  2886. √ shows a toast prompt when there is an error in submission (27ms)
  2887. √ does not render the past order component if the
  2888. length of the results props is less than 1 (24ms)
  2889. √ should have lab orderables displayed in the category list (18ms)
  2890.  
  2891. PASS tests\components\DrugOrderEntry\addForm\AddForm.test.jsx
  2892. Test for adding a new drug order
  2893. √ should render component (23ms)
  2894. Outpatient orders
  2895. Activate and deactivate Confirm button under standard dosing form
  2896. √ should be deactivated without both dispensing quantity and units (116ms)
  2897. √ should be deactivated with dispensing quantity without units (88ms)
  2898. √ should be activated with both dispensing Quantity and units (117ms)
  2899. Activate and deactivate Confirm button under free text form
  2900. √ should activate when the required fields are filled (73ms)
  2901. Validation of fields
  2902. √ should deactivate confirm button with invalid dose units (82ms)
  2903. √ should display error with invalid dosing units (37ms)
  2904. √ should activate with valid dose units (73ms)
  2905. √ should deactivate with invalid frequency (47ms)
  2906. √ should deactivate with invalid route (36ms)
  2907. √ should deactivate with invalid dispensing unit (77ms)
  2908. √ should deactivate if duration is valid but duration unit is invalid (41ms)
  2909. Test AddForm state
  2910. √ should update state (58ms)
  2911. handleFormType() method
  2912. √ sets state when method is triggered (7ms)
  2913. handleFormTabs() method
  2914. √ sets state when method is triggered (13ms)
  2915. handleCancel() method
  2916. √ dispatches clearSearchField prop when fired (48ms)
  2917. populateEditOrderForm() method
  2918. √ sests state to data in editOrder and draftOrder props (13ms)
  2919. clearDrugForms() method
  2920. √ resets the data in state (27ms)
  2921. handleSubmitDrugForm() method
  2922. √ it dispatches the addDraftOrder, selectDrugSuccess,
  2923. setOrderAction props when method is fired (12ms)
  2924. √ dispatches setSelectedOrder if activity is DRAFT_ORDER_EDIT (26ms)
  2925. √ sets state accordingly (29ms)
  2926. √ displays a toast with message if a drug has an active order (12ms)
  2927. √ displays a toast with message if a drug has been added successfully (7ms)
  2928. √ displays a toast with message if a an error occured in adding drug (10ms)
  2929. √ should change the selected order after a drug has been added (8ms)
  2930.  
  2931. console.error node_modules\prop-types\checkPropTypes.js:19
  2932. Warning: Failed prop type: The prop `note` is marked as required in `OrderEntryPage`, but its value is `undefined`.
  2933. in OrderEntryPage
  2934.  
  2935. console.error node_modules\prop-types\checkPropTypes.js:19
  2936. Warning: Failed prop type: The prop `discardTestsInDraft` is marked as required in `OrderEntryPage`, but its value is `undefined`.
  2937. in OrderEntryPage
  2938.  
  2939. PASS tests\components\orderentry\OrderEntryPage.test.jsx
  2940. √ shows a toast prompt when there is an error in submission (2ms)
  2941. Test for Order entry page when orderentryowa.encounterType is set
  2942. √ should render component (61ms)
  2943. √ should render Loader Images (16ms)
  2944. √ should not show error (10ms)
  2945. √ renders the patient-orders component (12ms)
  2946. √ should switch the order type in the state (7ms)
  2947. √ does not switch order type page if the current
  2948. orderType is same as the new orderType (5ms)
  2949. when orderentryowa.encounterType is not set
  2950. √ should not render DrugOrderEntry Component (14ms)
  2951. √ should show error (31ms)
  2952. when orderentryowa.encounterRole is set
  2953. √ should not show error (8ms)
  2954. when orderentryowa.encounterRole is not set
  2955. √ should not render DrugOrderEntry Component (6ms)
  2956. √ should show error (8ms)
  2957. when orderentryowa.dateAndTimeFormat is set
  2958. √ should not show error (12ms)
  2959. √ should show error (13ms)
  2960. Handling Submit
  2961. √ It dispatches create lab order action if the handleSubmit method is triggered (12ms)
  2962. √ shows a toast prompt when test is submitted successfully (3ms)
  2963. Connected OrderEntryPage component
  2964. √ component successfully rendered (9ms)
  2965.  
  2966. PASS tests\route.test.js
  2967. Routes
  2968. √ successfully rendered (18ms)
  2969.  
  2970. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2971. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2972.  
  2973. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2974. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2975.  
  2976. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2977. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2978.  
  2979. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2980. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2981.  
  2982. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2983. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2984.  
  2985. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2986. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2987.  
  2988. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2989. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2990.  
  2991. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2992. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  2993.  
  2994. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2995. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2996.  
  2997. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  2998. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  2999.  
  3000. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3001. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3002.  
  3003. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3004. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3005.  
  3006. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3007. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3008.  
  3009. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3010. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3011.  
  3012. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3013. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3014.  
  3015. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3016. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3017.  
  3018. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3019. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3020.  
  3021. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3022. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3023.  
  3024. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3025. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3026.  
  3027. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3028. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3029.  
  3030. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3031. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3032.  
  3033. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3034. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3035.  
  3036. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3037. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3038.  
  3039. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3040. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3041.  
  3042. PASS tests\actions\labOrderTest\settingLabOrderableAction.test.js
  3043. Get the lab orderable uuid actions
  3044. √ should create an action to store fetched lab Orderable uuid (1ms)
  3045. √ should create an action to log failure (1ms)
  3046. Get setting for Lab orderable API call
  3047. √ should dispatch `GET_LAB_ORDERABLES_SUCCESS` after sucessful fetching (123ms)
  3048. √ should return a network error when reponse result is empty (103ms)
  3049. √ should dispatch `GET_LAB_ORDERABLES_FAILURE` after an error (102ms)
  3050.  
  3051. PASS tests\actions\settingEncounterRole.test.js
  3052. Get the encounterRole configuration actions
  3053. √ should create an action to store fetched configuration (2ms)
  3054. √ should create an action to log failure (1ms)
  3055. Get setting for encounterRole API call
  3056. √ should dispatch `SETTING_ENCOUNTER_ROLE_SUCCESS` with results (104ms)
  3057. √ should dispatch `SETTING_ENCOUNTER_ROLE_FAILURE` if empty results returned (102ms)
  3058. √ should dispatch `SETTING_ENCOUNTER_ROLE_FAILURE` after an error (103ms)
  3059. √ should dispatch `NETWORK_ERROR` when there is a network error (102ms)
  3060.  
  3061. console.error node_modules\prop-types\checkPropTypes.js:19
  3062. Warning: Failed prop type: Invalid prop `sessionReducer.sessionLocation` of type `string` supplied to `OrdersTable`, expected `object`.
  3063. in OrdersTable
  3064.  
  3065. console.error node_modules\fbjs\lib\warning.js:33
  3066. 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.
  3067. in OrdersTable (created by WrapperComponent)
  3068. in WrapperComponent
  3069.  
  3070. console.error node_modules\fbjs\lib\warning.js:33
  3071. Warning: validateDOMNesting(...): <tr> cannot appear as a child of <div>.
  3072. in tr (created by Accordion)
  3073. in Accordion (created by OrdersTable)
  3074. in OrdersTable (created by WrapperComponent)
  3075. in WrapperComponent
  3076.  
  3077. console.error node_modules\fbjs\lib\warning.js:33
  3078. 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.
  3079. in OrdersTable (created by WrapperComponent)
  3080. in WrapperComponent
  3081.  
  3082. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3083. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3084.  
  3085. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3086. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3087.  
  3088. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3089. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3090.  
  3091. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3092. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3093.  
  3094. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3095. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3096.  
  3097. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3098. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3099.  
  3100. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3101. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3102.  
  3103. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3104. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3105.  
  3106. console.error node_modules\fbjs\lib\warning.js:33
  3107. Warning: validateDOMNesting(...): <tr> cannot appear as a child of <div>.
  3108. in tr (created by OrdersTable)
  3109. in OrdersTable (created by InjectIntl(OrdersTable))
  3110. in InjectIntl(OrdersTable) (created by Connect(InjectIntl(OrdersTable)))
  3111. in Connect(InjectIntl(OrdersTable)) (created by WrapperComponent)
  3112. in WrapperComponent
  3113.  
  3114. console.error node_modules\prop-types\checkPropTypes.js:19
  3115. Warning: Failed prop type: The prop `allConfigurations` is marked as required in `OrdersTable`, but its value is `undefined`.
  3116. in OrdersTable
  3117.  
  3118. console.error node_modules\prop-types\checkPropTypes.js:19
  3119. Warning: Failed prop type: The prop `encounterType` is marked as required in `OrdersTable`, but its value is `undefined`.
  3120. in OrdersTable
  3121.  
  3122. console.error node_modules\prop-types\checkPropTypes.js:19
  3123. Warning: Failed prop type: The prop `encounterRole` is marked as required in `OrdersTable`, but its value is `undefined`.
  3124. in OrdersTable
  3125.  
  3126. (node:4944) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
  3127. (Use `node --trace-warnings ...` to show where the warning was created)
  3128. (node:4944) 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)
  3129. (node:4944) [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.
  3130. (node:4944) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
  3131. (node:4944) 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)
  3132. PASS tests\components\orderentry\OrdersTable.test.jsx
  3133. Orders component test-suite
  3134. √ renders properly (156ms)
  3135. √ does not render any data if the result array is empty (17ms)
  3136. √ handles editing of active orders (14ms)
  3137. getUUID() method
  3138. √ should call getUUID() (8ms)
  3139. setDiscontinuedOrder method for drug orders
  3140. √ should call setDiscontinuedOrder for drug orders (6ms)
  3141. setDiscontinuedOrder method for lab orders
  3142. √ should call setDiscontinuedOrder for lab orders (1ms)
  3143. discontinueOrder method
  3144. √ should call discontinueOrder (1ms)
  3145.  
  3146. console.error node_modules\prop-types\checkPropTypes.js:19
  3147. Warning: Failed prop type: The prop `backLink` is marked as required in `AllOrders`, but its value is `undefined`.
  3148. in AllOrders
  3149.  
  3150. PASS tests\components\orderentry\AllOrders.test.jsx
  3151. AllOrders test-suite
  3152. √ renders component properly (1ms)
  3153. √ sets the pagination urls in the Paginate component (17ms)
  3154.  
  3155. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3156. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3157.  
  3158. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3159. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3160.  
  3161. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3162. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3163.  
  3164. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3165. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3166.  
  3167. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3168. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3169.  
  3170. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3171. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3172.  
  3173. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3174. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3175.  
  3176. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3177. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3178.  
  3179. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3180. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3181.  
  3182. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3183. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3184.  
  3185. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3186. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3187.  
  3188. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3189. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3190.  
  3191. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3192. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3193.  
  3194. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3195. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3196.  
  3197. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3198. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3199.  
  3200. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3201. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3202.  
  3203. console.error node_modules\fbjs\lib\warning.js:33
  3204. 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.
  3205. in ul (created by Draft)
  3206. in div (created by Draft)
  3207. in div (created by Draft)
  3208. in Draft (created by WrapperComponent)
  3209. in WrapperComponent
  3210.  
  3211. PASS tests\actions\settingEncounterType.test.js
  3212. Get the encounterType configuration actions
  3213. √ should create an action to store fetched configuration (2ms)
  3214. √ should create an action to log failure (1ms)
  3215. Get setting for encounterType API call
  3216. √ should dispatch `SETTING_ENCOUNTER_TYPE_SUCCESS` after sucessful fetching (126ms)
  3217. √ should dispatch `SETTING_ENCOUNTER_TYPE_SUCCESS` after an error (103ms)
  3218.  
  3219. PASS tests\components\Draft.test.jsx
  3220. Component: Draft
  3221. √ should render on initial setup (34ms)
  3222. √ should display the action buttons (41ms)
  3223. √ Should be able to display drug data to the list (26ms)
  3224. √ Should simulate the discard event (26ms)
  3225. √ trigggers handleSubmit props when the submit button is clicked (19ms)
  3226.  
  3227. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3228. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3229.  
  3230. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3231. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3232.  
  3233. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3234. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3235.  
  3236. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3237. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3238.  
  3239. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3240. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3241.  
  3242. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3243. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3244.  
  3245. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3246. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3247.  
  3248. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3249. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3250.  
  3251. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3252. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3253.  
  3254. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3255. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3256.  
  3257. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3258. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3259.  
  3260. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3261. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3262.  
  3263. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3264. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3265.  
  3266. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3267. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3268.  
  3269. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3270. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3271.  
  3272. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3273. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3274.  
  3275. PASS tests\actions\fetchOrdersAction.test.js
  3276. fetchOrders action
  3277. √ creates FETCH_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  3278. action types upon success response from server when no url ispassed but with given limits (11ms)
  3279. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  3280. action types upon success response from server when uri is passed with no limits (114ms)
  3281.  
  3282. PASS tests\components\DrugOrderEntry\addForm\StandardDose.test.jsx
  3283. Test for Standard dose form
  3284. √ should render field errors if they exist (7ms)
  3285. Rendering with initial props
  3286. √ should render component (17ms)
  3287. √ should contain form (9ms)
  3288. √ form should contain a save button (9ms)
  3289. √ form should contain a cancel button (8ms)
  3290. √ should render options if they exist in state (7ms)
  3291. √ should not have any field errors initially (7ms)
  3292.  
  3293. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3294. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3295.  
  3296. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3297. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3298.  
  3299. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3300. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3301.  
  3302. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3303. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3304.  
  3305. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3306. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3307.  
  3308. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3309. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3310.  
  3311. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3312. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3313.  
  3314. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3315. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3316.  
  3317. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3318. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3319.  
  3320. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3321. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3322.  
  3323. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3324. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3325.  
  3326. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3327. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3328.  
  3329. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3330. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3331.  
  3332. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3333. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3334.  
  3335. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3336. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3337.  
  3338. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3339. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3340.  
  3341. PASS tests\actions\labOrderTest\labConceptsAction.test.js
  3342. Getting Lab Concepts action
  3343. Lab Concepts API call
  3344. √ creates FETCH_LAB_CONCEPTS_SUCCESS and FETCH_LAB_CONCEPTS_SUCCESS after sucessfully fetching (103ms)
  3345.  
  3346. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3347. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3348.  
  3349. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3350. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3351.  
  3352. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3353. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3354.  
  3355. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3356. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3357.  
  3358. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3359. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3360.  
  3361. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3362. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3363.  
  3364. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3365. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3366.  
  3367. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3368. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3369.  
  3370. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3371. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3372.  
  3373. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3374. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3375.  
  3376. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3377. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3378.  
  3379. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3380. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3381.  
  3382. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3383. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3384.  
  3385. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3386. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3387.  
  3388. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3389. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3390.  
  3391. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3392. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3393.  
  3394. console.error node_modules\prop-types\checkPropTypes.js:19
  3395. Warning: Failed prop type: The prop `outpatientCareSetting` is marked as required in `SearchAndAddOrder`, but its value is `undefined`.
  3396. in SearchAndAddOrder
  3397.  
  3398. PASS tests\components\searchDrug\index.test.jsx
  3399. Component: SearchDrug: Container
  3400. √ should render properly (5ms)
  3401. Interactions
  3402. √ should call searchDrug() with debounce feature (11ms)
  3403. √ should not call searchDrug() (3ms)
  3404. √ should call onChange() (3ms)
  3405. √ should call onOptionSelected() (3ms)
  3406. Connected SearchDrug component
  3407. √ component successfully rendered (6ms)
  3408.  
  3409. console.error node_modules\prop-types\checkPropTypes.js:19
  3410. Warning: Failed prop type: The prop `orderType` is marked as required in `SelectOrderType`, but its value is `undefined`.
  3411. in SelectOrderType (created by Connect(SelectOrderType))
  3412. in Connect(SelectOrderType) (created by WrapperComponent)
  3413. in WrapperComponent
  3414.  
  3415. PASS tests\components\DrugOrderEntry\index.test.jsx
  3416. Test for Searching and Adding an order
  3417. √ should render component (11ms)
  3418. √ should render component during edit activity (6ms)
  3419. √ should set the details of an order in the state
  3420. if activity is DRAFT_ORDER_EDIT and there is a selectedOrder (3ms)
  3421. √ should render component (2ms)
  3422. componentDidUpdate method
  3423. √ should set the details of an order in the state
  3424. if activity is DRAFT_ORDER_EDIT, there was no draftOrder in the state,
  3425. and there is a selectedOrder (3ms)
  3426. √ should update the details of the order in the state
  3427. if activity is DRAFT_ORDER_EDIT but the selectedOrder has changed (5ms)
  3428. √ should clear the details of an order in the state
  3429. if there is no selectedOrder (3ms)
  3430. onSelectDrug() method
  3431. √ sets state to value passed as argument (2ms)
  3432. onChange() method
  3433. √ should sets state to value passed as argument (2ms)
  3434. clearSearchField() method
  3435. √ resets the state of the component (2ms)
  3436. handleEditActiveDrugOrder() method
  3437. √ sets state to value in props (3ms)
  3438. removeOrder() method
  3439. √ resets the draftOrder and editOrder values in state (1ms)
  3440. handleEditDraftOrder() method
  3441. √ sets draftOrder value in state to parsed argument (1ms)
  3442. handleDiscardOneOrder
  3443. √ should be called on discarding one draft order (1ms)
  3444. √ should call setOrderAction with DISCARD_EDIT argument if action is REVISE (3ms)
  3445. √ should call setOrderAction with DISCARD_ONE argument if action is not REVISE (4ms)
  3446.  
  3447. console.error node_modules\react-intl\lib\index.js:1533
  3448. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  3449.  
  3450. console.error node_modules\react-intl\lib\index.js:1533
  3451. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  3452.  
  3453. console.error node_modules\react-intl\lib\index.js:1533
  3454. [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.
  3455.  
  3456. PASS tests\components\orderentry\SelectOrderType.test.jsx
  3457. Component: orderentry: SelectOrderType
  3458. √ should render two dropdown type navs (152ms)
  3459. √ the current order type should have a border styling (13ms)
  3460. √ clicking the button should call switchOrderType (17ms)
  3461.  
  3462. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3463. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3464.  
  3465. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3466. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3467.  
  3468. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3469. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3470.  
  3471. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3472. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3473.  
  3474. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3475. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3476.  
  3477. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3478. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3479.  
  3480. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3481. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3482.  
  3483. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3484. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3485.  
  3486. PASS tests\actions\labOrderTest\labOrderableAction.test.js
  3487. getLabOrderable Action
  3488. √ creates FETCH_LAB_ORDERABLES_LOADING and FETCH_LAB_ORDERABLES_SUCCESS
  3489. action types upon success response from server (102ms)
  3490.  
  3491. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3492. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3493.  
  3494. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3495. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3496.  
  3497. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3498. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3499.  
  3500. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3501. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3502.  
  3503. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3504. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3505.  
  3506. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3507. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3508.  
  3509. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3510. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3511.  
  3512. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3513. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3514.  
  3515. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3516. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3517.  
  3518. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3519. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3520.  
  3521. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3522. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3523.  
  3524. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3525. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3526.  
  3527. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3528. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3529.  
  3530. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3531. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3532.  
  3533. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3534. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3535.  
  3536. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3537. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3538.  
  3539. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3540. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3541.  
  3542. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3543. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3544.  
  3545. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3546. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3547.  
  3548. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3549. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3550.  
  3551. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3552. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3553.  
  3554. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3555. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3556.  
  3557. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3558. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3559.  
  3560. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3561. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3562.  
  3563. PASS tests\actions\fetchAllOrdersAction.test.js
  3564. fetchOrders action
  3565. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_ORDERS_SUCCESS
  3566. action types upon success response from server when uri is passed with no limits (103ms)
  3567.  
  3568. PASS tests\actions\draftActions.test.js
  3569. Draft Actions
  3570. √ should dispatch DELETE_TEST_FROM_DRAFT_LAB_ORDER (2ms)
  3571. √ should dispatch DELETE_PANEL_FROM_DRAFT_LAB_ORDER (2ms)
  3572. √ should dispatch DELETE_DRAFT_DRUG_ORDER_SUCCESS (1ms)
  3573. √ should dispatch both DELETE_ALL_DRAFT_DRUG_ORDERS_SUCCESS and DELETE_ALL_ITEMS_IN_DRAFT_LAB_ORDER (2ms)
  3574. editDraftDrugOrder action creator
  3575. √ should dispatch SELECT_DRUG, SET_SELECTED_ORDER, DELETE_DRAFT_DRUG_ORDER_SUCCESS (4ms)
  3576. toggleDraftLabOrderUrgency action creator
  3577. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  3578. and set order urgency to STAT if order has no urgency (1ms)
  3579. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  3580. and set order urgency to ROUTINE if urgency was STAT (2ms)
  3581. √ should dispatch TOGGLE_DRAFT_LAB_ORDER_URGENCY
  3582. and set order urgency to STAT if urgency was ROUTINE (1ms)
  3583.  
  3584. PASS tests\actions\labOrderTest\fetchLabOrderAction.test.js
  3585. fetchLabOrders action
  3586. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_LAB_ORDERS_SUCCESS
  3587. action types upon success response from server when nouri ispassed but with given limits (10ms)
  3588. √ creates FETCH_LAB_ORDERS_LOADING and FETCH_LAB_ORDERS_SUCCESS
  3589. action types upon success response from server when uri is passed with no limits (8ms)
  3590.  
  3591. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3592. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3593.  
  3594. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3595. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3596.  
  3597. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3598. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3599.  
  3600. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3601. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3602.  
  3603. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3604. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3605.  
  3606. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3607. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3608.  
  3609. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3610. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3611.  
  3612. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3613. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3614.  
  3615. PASS tests\reducers\contextReducer.test.js
  3616. context reducer
  3617. √ default order context should be null (1ms)
  3618. √ should set order context (1ms)
  3619.  
  3620. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3621. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3622.  
  3623. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3624. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3625.  
  3626. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3627. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3628.  
  3629. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3630. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3631.  
  3632. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3633. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3634.  
  3635. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3636. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3637.  
  3638. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3639. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3640.  
  3641. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3642. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3643.  
  3644. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3645. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3646.  
  3647. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3648. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3649.  
  3650. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3651. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3652.  
  3653. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3654. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3655.  
  3656. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3657. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3658.  
  3659. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3660. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3661.  
  3662. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3663. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3664.  
  3665. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3666. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3667.  
  3668. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3669. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3670.  
  3671. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3672. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3673.  
  3674. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3675. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3676.  
  3677. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3678. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3679.  
  3680. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3681. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3682.  
  3683. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3684. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3685.  
  3686. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3687. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3688.  
  3689. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3690. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3691.  
  3692. PASS tests\components\searchDrug\View.test.jsx
  3693. Component: searchDrug: View
  3694. Conditional rendering
  3695. √ renders properly (5ms)
  3696. √ show Searching... (5ms)
  3697. √ show search error... (3ms)
  3698. Drug Search input field
  3699. √ calls onChange() (5ms)
  3700. Select drug action
  3701. √ calls onOptionSelected() (4ms)
  3702.  
  3703. PASS tests\actions\createOrder.test.js
  3704. createOrder action
  3705. √ should save orders successfully (7ms)
  3706.  
  3707. PASS tests\actions\patient.test.js
  3708. Patient actions
  3709. √ fetch patient records (20ms)
  3710. √ fetch patient records failure case (19ms)
  3711. √ fetch patient's note (4ms)
  3712.  
  3713. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3714. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3715.  
  3716. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3717. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3718.  
  3719. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3720. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3721.  
  3722. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3723. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3724.  
  3725. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3726. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3727.  
  3728. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3729. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3730.  
  3731. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3732. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3733.  
  3734. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3735. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3736.  
  3737. PASS tests\actions\encounterType.test.js
  3738. fetchEncounterType action
  3739. √ creates FETCH_ENCOUNTER_TYPE_LOADING and FETCH_ENCOUNTER_TYPE_SUCCESS
  3740. action types upon success response from server (9ms)
  3741.  
  3742. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3743. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3744.  
  3745. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3746. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3747.  
  3748. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3749. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3750.  
  3751. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3752. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3753.  
  3754. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3755. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3756.  
  3757. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3758. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3759.  
  3760. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3761. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3762.  
  3763. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3764. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3765.  
  3766. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3767. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3768.  
  3769. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3770. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3771.  
  3772. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3773. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3774.  
  3775. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3776. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3777.  
  3778. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3779. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3780.  
  3781. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3782. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3783.  
  3784. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3785. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3786.  
  3787. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3788. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3789.  
  3790. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3791. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3792.  
  3793. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3794. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3795.  
  3796. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3797. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3798.  
  3799. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3800. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3801.  
  3802. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3803. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3804.  
  3805. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3806. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3807.  
  3808. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3809. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3810.  
  3811. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3812. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3813.  
  3814. PASS tests\reducers\labOrderReducers\labConceptsReducer.test.js
  3815. Lab Concepts reducer
  3816. √ should return the initial state (1ms)
  3817. √ should handle `FETCH_LAB_CONCEPTS_SUCCESS` (3ms)
  3818. √ should handle `FETCH_LAB_CONCEPTS_LOADING` (1ms)
  3819. √ should handle `FETCH_LAB_CONCEPTS_FAILURE` (1ms)
  3820.  
  3821. PASS tests\components\orderentry\Paginate.test.jsx
  3822. Pagination component test-suite
  3823. √ renders properly (4ms)
  3824. √ dispatches action to fetch new data when the next button is clicked (9ms)
  3825. √ dispatches action to fetch new data when the previous button is clicked (3ms)
  3826. √ Disable the button when no url is passed (5ms)
  3827.  
  3828. console.error node_modules\prop-types\checkPropTypes.js:19
  3829. Warning: Failed prop type: The prop `handleEdit` is marked as required in `OrderHeader`, but its value is `undefined`.
  3830. in OrderHeader
  3831.  
  3832. console.error node_modules\prop-types\checkPropTypes.js:19
  3833. Warning: Failed prop type: The prop `handleDiscontinue` is marked as required in `OrderHeader`, but its value is `undefined`.
  3834. in OrderHeader
  3835.  
  3836. PASS tests\components\orderentry\OrderHeader.test.jsx
  3837. Component: OrderHeader
  3838. √ renders properly (7ms)
  3839. isEditable
  3840. √ isEditable should return false for lab orders (1ms)
  3841. √ isEditable should return false for unknown order type
  3842. ○ skipped 1 test
  3843. isCancellable
  3844. √ isCancellable should return true for lab orders with no fulfiller status
  3845. √ isCancellable should return true for lab orders with RECEIVED fulfiller status (1ms)
  3846. √ isCancellable should return true for lab orders with EXCEPTION fulfiller status (1ms)
  3847. √ isCancellable should return false for lab orders with IN_PROGRESS fulfiller status
  3848. √ isCancellable should return false for lab orders with COMPLETED fulfiller status (1ms)
  3849. ○ skipped 1 test
  3850.  
  3851. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3852. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3853.  
  3854. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3855. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3856.  
  3857. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3858. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3859.  
  3860. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3861. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3862.  
  3863. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3864. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3865.  
  3866. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3867. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3868.  
  3869. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3870. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3871.  
  3872. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3873. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3874.  
  3875. PASS tests\reducers\activeOrderReducer.test.js
  3876. Active Order Reducer
  3877. √ should set the state for active order (2ms)
  3878. √ should set active order fetch error (1ms)
  3879. √ should set active order loading status (1ms)
  3880. √ should set the DISCONTINUE action for an order (2ms)
  3881. √ should set the EDIT order action (1ms)
  3882. √ should set order status to NONE (1ms)
  3883. √ should set order status to DRAFT (1ms)
  3884. √ should set order status to DRAFT_EDIT (1ms)
  3885. √ should set the DISCARD_ONE order action (1ms)
  3886. √ should set the DISCARD_ALL order action
  3887. √ should set the DISCARD_ALL order action for other actions (1ms)
  3888. √ should set the DISCARD_EDIT order action (1ms)
  3889. √ should set the DISCARD_EDIT order action for other actions (1ms)
  3890. √ should return the previous state if no order action is fired
  3891.  
  3892. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3893. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3894.  
  3895. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3896. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3897.  
  3898. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3899. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3900.  
  3901. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3902. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3903.  
  3904. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3905. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3906.  
  3907. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3908. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3909.  
  3910. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3911. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3912.  
  3913. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3914. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3915.  
  3916. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3917. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3918.  
  3919. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3920. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3921.  
  3922. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3923. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3924.  
  3925. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3926. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3927.  
  3928. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3929. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3930.  
  3931. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3932. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3933.  
  3934. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3935. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3936.  
  3937. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3938. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3939.  
  3940. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3941. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3942.  
  3943. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3944. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3945.  
  3946. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3947. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3948.  
  3949. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3950. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3951.  
  3952. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3953. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3954.  
  3955. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3956. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3957.  
  3958. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3959. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3960.  
  3961. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3962. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  3963.  
  3964. console.error node_modules\prop-types\checkPropTypes.js:19
  3965. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabTestFieldSet`, but its value is `undefined`.
  3966. in LabTestFieldSet
  3967.  
  3968. PASS tests\components\labOrderEntry\LabTestFieldSet.test.jsx
  3969. Component: LabTestFieldSet
  3970. √ should mount initially (24ms)
  3971. √ should support click for each button rendered (16ms)
  3972. √ should add a class of `active` to the selected test (6ms)
  3973.  
  3974. PASS tests\components\DrugOrderEntry\addForm\FreeText.test.jsx
  3975. Test for Free text form
  3976. √ should render component (9ms)
  3977. √ should render options if they exist in state (5ms)
  3978.  
  3979. PASS tests\components\tabs\DosageTab.test.js
  3980. Dosage Tab component
  3981. √ should render without crashing (3ms)
  3982. √ should render the standard form (3ms)
  3983. √ should render the free text form (2ms)
  3984. Test click events
  3985. √ should trigger event when clicked (4ms)
  3986.  
  3987. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3988. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3989.  
  3990. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3991. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3992.  
  3993. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3994. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3995.  
  3996. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  3997. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  3998.  
  3999. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4000. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4001.  
  4002. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4003. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4004.  
  4005. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4006. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4007.  
  4008. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4009. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4010.  
  4011. PASS tests\reducers\draftReducer\draftLabOrderReducer.test.js
  4012. Draft Lab Order Reducer
  4013. √ should add a panel of tests to draftOrder (2ms)
  4014. √ should remove a suite of panel tests when panel is unselected (1ms)
  4015. √ should add multiple test panels to the draftOrder (1ms)
  4016. √ should delete a test panel from the draftOrder (1ms)
  4017. √ should delete a test panel from the draftOrder if there are already panels present (8ms)
  4018. √ should delete all tests from the draftOrder at once (1ms)
  4019. √ should add single tests not part of the panel to the draftorder (1ms)
  4020. √ should not add a single tests to the draftorder if it is part of the panel and already in draft (2ms)
  4021. √ should delete single tests from the draft order if they are already selected (3ms)
  4022. √ should not remove a single test from the draftorder if it was previously selected and also part of the panel of tests
  4023. √ should not delete a single test from the draftorder when a new panel is added
  4024. √ should delete a single test from the draft order if it is unchecked (1ms)
  4025. √ should set the toggle of the urgency of a draft order to "ROUTINE" for "lab tests" (1ms)
  4026. √ should set the toggle of the urgency of a draft order to "STAT" for "lab tests" (1ms)
  4027. √ should set the toggle of the urgency of a draft order to "STAT" for "lab panels" (1ms)
  4028. √ should set the toggle of the urgency of a draft order to "ROUTINE" for "lab tests" (1ms)
  4029. √ should not set the toggle of the urgency of a npn-existent draft order (1ms)
  4030.  
  4031. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4032. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4033.  
  4034. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4035. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4036.  
  4037. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4038. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4039.  
  4040. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4041. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4042.  
  4043. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4044. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4045.  
  4046. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4047. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4048.  
  4049. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4050. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4051.  
  4052. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4053. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4054.  
  4055. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4056. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4057.  
  4058. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4059. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4060.  
  4061. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4062. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4063.  
  4064. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4065. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4066.  
  4067. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4068. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4069.  
  4070. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4071. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4072.  
  4073. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4074. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4075.  
  4076. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4077. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4078.  
  4079. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4080. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4081.  
  4082. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4083. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4084.  
  4085. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4086. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4087.  
  4088. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4089. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4090.  
  4091. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4092. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4093.  
  4094. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4095. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4096.  
  4097. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4098. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4099.  
  4100. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4101. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4102.  
  4103. console.error node_modules\prop-types\checkPropTypes.js:19
  4104. Warning: Failed prop type: The prop `labCategoryName` is marked as required in `LabPanelFieldSet`, but its value is `undefined`.
  4105. in LabPanelFieldSet
  4106.  
  4107. console.error node_modules\prop-types\checkPropTypes.js:19
  4108. Warning: Failed prop type: Invalid prop `title` of type `string` supplied to `Accordion`, expected `object`.
  4109. in Accordion
  4110.  
  4111. console.error node_modules\fbjs\lib\warning.js:33
  4112. Warning: Each child in an array or iterator should have a unique "key" prop.
  4113.  
  4114. Check the top-level render call using <div>. See https://fb.me/react-warning-keys for more information.
  4115. in h1
  4116.  
  4117. PASS tests\components\orderentry\Accordion.test.jsx
  4118. Component: Accordion
  4119. √ renders properly (7ms)
  4120. √ toggles the content visibility when clicked (9ms)
  4121.  
  4122. PASS tests\components\labOrderEntry\LabPanelFieldSet.test.jsx
  4123. Component: LabPanelFieldSet
  4124. √ should mount initially (10ms)
  4125. √ should support click for each button rendered (5ms)
  4126. √ should add class `active` to the slected panels (6ms)
  4127.  
  4128. PASS tests\actions\draftLabOrderAction.test.js
  4129. Lab Order Actions
  4130. √ should dispatch an action to delete all draftOrders (1ms)
  4131. √ should dispatch an action to add single tests to draftOrders (1ms)
  4132. √ should dispatch an action to remove single tests from the draftOrders (1ms)
  4133. √ should dispatch an action to remove a test panel from the draftOrder (1ms)
  4134. √ should dispatch an action to add a test panel to the draftOrder (1ms)
  4135.  
  4136. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4137. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4138.  
  4139. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4140. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4141.  
  4142. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4143. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4144.  
  4145. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4146. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4147.  
  4148. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4149. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4150.  
  4151. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4152. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4153.  
  4154. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4155. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4156.  
  4157. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4158. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4159.  
  4160. PASS tests\reducers\dateFormatReducer.test.js
  4161. Date Format Reducer
  4162. √ should set the state of a successful added date format (2ms)
  4163. √ should return an error
  4164.  
  4165. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4166. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4167.  
  4168. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4169. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4170.  
  4171. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4172. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4173.  
  4174. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4175. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4176.  
  4177. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4178. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4179.  
  4180. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4181. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4182.  
  4183. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4184. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4185.  
  4186. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4187. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4188.  
  4189. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4190. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4191.  
  4192. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4193. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4194.  
  4195. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4196. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4197.  
  4198. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4199. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4200.  
  4201. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4202. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4203.  
  4204. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4205. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4206.  
  4207. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4208. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4209.  
  4210. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4211. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4212.  
  4213. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4214. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4215.  
  4216. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4217. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4218.  
  4219. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4220. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4221.  
  4222. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4223. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4224.  
  4225. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4226. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4227.  
  4228. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4229. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4230.  
  4231. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4232. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4233.  
  4234. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4235. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4236.  
  4237. console.warn app\js\middlewares\responseHandlerMiddleware.js:27
  4238. GET_DATE_FAILURE-Error: incomplete config
  4239.  
  4240. PASS tests\reducers\orderEntryReducer.test.js
  4241. Order Entry Configurations reducer
  4242. √ should return the initial state (2ms)
  4243. √ should handle `FETCH_ORDER_CONFIG_SUCCESS` (1ms)
  4244. √ should handle `FETCH_ORDER_CONFIG_FAILURE` (1ms)
  4245. √ should set the loading status for fetching the order entry configuration (1ms)
  4246.  
  4247. console.warn app\js\middlewares\responseHandlerMiddleware.js:45
  4248. FETCH_ENCOUNTER_TYPE_FAILURE-Error: incomplete config
  4249.  
  4250. PASS tests\middlewares\responseHandlerMiddleware.test.js
  4251. responseHandlerMiddleware
  4252. √ must return a function to handle next action (2ms)
  4253. √ should handle GET_DATE_SUCCESS action without valid date format response (7ms)
  4254. √ should handle GET_DATE_SUCCESS action for valid date format responses (1ms)
  4255. √ should throw an error for GET_DATE_SUCCESS action for invalid date format responses (58ms)
  4256. √ should handle responses for either of FETCH_ENCOUNTER_ROLE_SUCCESS or FETCH_ENCOUNTER_TYPE_SUCCESS when there is no result (23ms)
  4257. √ should handle responses for either of FETCH_ENCOUNTER_ROLE_SUCCESS or FETCH_ENCOUNTER_TYPE_SUCCESS when there is a valid result (1ms)
  4258. √ should handle responses for LOAD_PAST_ORDERS_SUCCESS when there is a valid result (1ms)
  4259. √ should dispatch DISCONTINUE_ACTIVE_DRUG_ORDER after POST_DRUG_ORDER_SUCCESS when meta activity is set to DISCONTINUE (3ms)
  4260. √ should handle responses for all actions after promise has been resolved (1ms)
  4261. √ should always pass the action to the next middleware if no conditions are met to be handled by it (1ms)
  4262. √ should dispatch SAVE_DRAFT_LAB_ORDER_SUCCESS (1ms)
  4263.  
  4264. PASS tests\components\button\IconButton.test.jsx
  4265. Component: IconButton
  4266. √ renders properly (4ms)
  4267. √ has a handler for click events (9ms)
  4268.  
  4269. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4270. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4271.  
  4272. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4273. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4274.  
  4275. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4276. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4277.  
  4278. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4279. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4280.  
  4281. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4282. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4283.  
  4284. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4285. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4286.  
  4287. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4288. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4289.  
  4290. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4291. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4292.  
  4293. PASS tests\actions\orderEntryActions.test.js
  4294. getOrderEntryConfigurations action
  4295. √ creates FETCH_ORDER_CONFIG_LOADING and FETCH_ORDER_CONFIG_SUCCESS
  4296. action types upon success response from server (8ms)
  4297.  
  4298. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4299. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4300.  
  4301. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4302. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4303.  
  4304. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4305. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4306.  
  4307. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4308. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4309.  
  4310. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4311. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4312.  
  4313. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4314. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4315.  
  4316. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4317. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4318.  
  4319. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4320. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4321.  
  4322. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4323. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4324.  
  4325. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4326. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4327.  
  4328. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4329. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4330.  
  4331. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4332. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4333.  
  4334. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4335. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4336.  
  4337. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4338. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4339.  
  4340. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4341. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4342.  
  4343. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4344. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4345.  
  4346. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4347. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4348.  
  4349. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4350. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4351.  
  4352. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4353. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4354.  
  4355. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4356. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4357.  
  4358. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4359. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4360.  
  4361. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4362. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4363.  
  4364. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4365. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4366.  
  4367. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4368. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4369.  
  4370. PASS tests\reducers\pastOrdersReducer.test.js
  4371. Past Orders Reducer
  4372. √ set state to initial state when no new state is passed (1ms)
  4373. √ should set past orders fetch error (1ms)
  4374. √ should set past orders page count (1ms)
  4375. √ should set past orders page count (1ms)
  4376. √ should set the loading status for fetching past orders (1ms)
  4377.  
  4378. PASS tests\actions\encounterRole.test.js
  4379. fetchEncounterRole action
  4380. √ creates FETCH_ENCOUNTER_ROLE_LOADING and FETCH_ENCOUNTER_ROLE_SUCCESS
  4381. action types upon success response from server (7ms)
  4382.  
  4383. PASS tests\actions\activeOrderAction.test.js
  4384. activeOrder action
  4385. √ should fetch active orders successfully (8ms)
  4386.  
  4387. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4388. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4389.  
  4390. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4391. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4392.  
  4393. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4394. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4395.  
  4396. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4397. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4398.  
  4399. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4400. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4401.  
  4402. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4403. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4404.  
  4405. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4406. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4407.  
  4408. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4409. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4410.  
  4411. PASS tests\reducers\labOrderReducers\fetchLabOrderReducer.test.js
  4412. fetchlaborder reducer test-suite
  4413. √ sets status key loading to true upon action type
  4414. FETCH_LAB_ORDERS_LOADING (2ms)
  4415. √ sets status key fetched to true and parses data from payload
  4416. to labOrders key on FETCH_LAB_ORDERS_SUCCESS (1ms)
  4417. √ sets status key error to true and parses errormessage from
  4418. payload to key errorMessage on FETCH_LAB_ORDERS_FAILURE (1ms)
  4419. √ returns initial state if action type is not handled
  4420.  
  4421. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4422. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4423.  
  4424. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4425. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4426.  
  4427. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4428. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4429.  
  4430. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4431. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4432.  
  4433. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4434. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4435.  
  4436. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4437. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4438.  
  4439. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4440. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4441.  
  4442. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4443. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4444.  
  4445. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4446. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4447.  
  4448. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4449. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4450.  
  4451. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4452. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4453.  
  4454. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4455. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4456.  
  4457. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4458. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4459.  
  4460. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4461. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4462.  
  4463. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4464. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4465.  
  4466. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4467. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4468.  
  4469. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4470. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4471.  
  4472. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4473. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4474.  
  4475. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4476. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4477.  
  4478. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4479. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4480.  
  4481. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4482. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4483.  
  4484. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4485. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4486.  
  4487. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4488. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4489.  
  4490. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4491. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4492.  
  4493. PASS tests\reducers\fetchOrdersReducer.test.js
  4494. fetchorders reducer test-suite
  4495. √ sets status key loading to true upon action type
  4496. FETCH_ORDERS_LOADING (1ms)
  4497. √ sets status key fetched to true and parses data from payload
  4498. to Orders key on FETCH_ORDERS_SUCCESS (1ms)
  4499. √ sets status key error to true and parses errormessage from
  4500. payload to key errorMessage on FETCH_ORDERS_FAILURE (1ms)
  4501. √ filters the data in the results array upon action type SORT_AND_FILTER (2ms)
  4502. √ filters from the original data if the filter array is empty (1ms)
  4503. √ returns all the data if sortQuery value is all and sortBy is type (1ms)
  4504. √ returns initial state if action type is not handled (1ms)
  4505. √ should remove a discontinued active order from the state (1ms)
  4506.  
  4507. PASS tests\reducers\settingEncounterRoleReducer.test.js
  4508. Setting Encounter Tole reducer
  4509. √ should return the initial state (1ms)
  4510. √ should handle `SETTING_ENCOUNTER_ROLE_LOADING` (1ms)
  4511. √ should handle `SETTING_ENCOUNTER_ROLE_SUCCESS` (1ms)
  4512. √ should handle `SETTING_ENCOUNTER_ROLE_FAILURE` (1ms)
  4513. √ should set the loading status for the encounter role (1ms)
  4514.  
  4515. PASS tests\reducers\drugSearchReducer.test.js
  4516. drugSearch Reducer
  4517. SEARCH_DRUGS_SUCCESS
  4518. √ set the patient with provided data (3ms)
  4519. SEARCH_DRUGS_FAILURE
  4520. √ set the patient with provided data (2ms)
  4521. SEARCH_DRUGS_LOADING
  4522. √ set the patient with provided data (2ms)
  4523. SELECT_DRUG
  4524. √ set the selected drug (1ms)
  4525. √ set the selected drug to empty
  4526.  
  4527. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4528. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4529.  
  4530. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4531. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4532.  
  4533. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4534. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4535.  
  4536. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4537. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4538.  
  4539. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4540. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4541.  
  4542. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4543. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4544.  
  4545. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4546. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4547.  
  4548. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4549. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4550.  
  4551. PASS tests\reducers\draftReducer\draftDrugOrderReducer.test.js
  4552. Draft Table Reducer
  4553. √ should set the state of a successful added draft order (2ms)
  4554. √ should set the state of a successful deleted draft order (1ms)
  4555. √ should set the state of successful deleted draft orders (1ms)
  4556.  
  4557. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4558. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4559.  
  4560. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4561. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4562.  
  4563. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4564. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4565.  
  4566. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4567. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4568.  
  4569. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4570. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4571.  
  4572. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4573. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4574.  
  4575. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4576. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4577.  
  4578. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4579. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4580.  
  4581. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4582. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4583.  
  4584. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4585. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4586.  
  4587. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4588. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4589.  
  4590. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4591. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4592.  
  4593. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4594. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4595.  
  4596. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4597. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4598.  
  4599. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4600. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4601.  
  4602. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4603. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4604.  
  4605. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4606. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4607.  
  4608. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4609. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4610.  
  4611. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4612. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4613.  
  4614. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4615. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4616.  
  4617. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4618. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4619.  
  4620. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4621. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4622.  
  4623. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4624. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4625.  
  4626. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4627. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4628.  
  4629. console.error node_modules\prop-types\checkPropTypes.js:19
  4630. Warning: Failed prop type: The prop `activeTabIndex` is marked as required in `DosageTabs`, but its value is `undefined`.
  4631. in DosageTabs
  4632.  
  4633. PASS tests\components\tabs\DosageTabs.test.js
  4634. Dosage Tab component
  4635. √ should render without crashing (5ms)
  4636. handleTabClick() method
  4637. √ dispatches handleFormTabs, FormType props when triggered (1ms)
  4638.  
  4639. PASS tests\actions\careSetting.test.js
  4640. fetchPatientCareSetting action
  4641. √ creates PATIENT_CARESETTING_LOADING and PATIENT_CARESETTING_SUCCESS
  4642. action types upon success response from server (6ms)
  4643.  
  4644. PASS tests\actions\draftTableAction.test.js
  4645. Discontinue Order Actions
  4646. √ should dispatch ADD_DRAFT_DRUG_ORDER_SUCCESS successfully (3ms)
  4647. √ should dispatch DELETE_DRAFT_DRUG_ORDER_SUCCESS successfully (2ms)
  4648. √ should dispatch DELETE_ALL_DRAFT_DRUG_ORDERS_SUCCESS successfully (2ms)
  4649.  
  4650. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4651. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4652.  
  4653. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4654. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4655.  
  4656. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4657. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4658.  
  4659. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4660. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4661.  
  4662. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4663. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4664.  
  4665. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4666. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4667.  
  4668. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4669. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4670.  
  4671. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4672. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4673.  
  4674. PASS tests\actions\dateFormat.test.js
  4675. getDateFormat action
  4676. √ creates GET_DATE_LOADING and GET_DATE_SUCCESS
  4677. action types upon success response from server (9ms)
  4678.  
  4679. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4680. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4681.  
  4682. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4683. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4684.  
  4685. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4686. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4687.  
  4688. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4689. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4690.  
  4691. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4692. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4693.  
  4694. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4695. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4696.  
  4697. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4698. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4699.  
  4700. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4701. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4702.  
  4703. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4704. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4705.  
  4706. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4707. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4708.  
  4709. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4710. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4711.  
  4712. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4713. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4714.  
  4715. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4716. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4717.  
  4718. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4719. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4720.  
  4721. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4722. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4723.  
  4724. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4725. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4726.  
  4727. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4728. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4729.  
  4730. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4731. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4732.  
  4733. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4734. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4735.  
  4736. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4737. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4738.  
  4739. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4740. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4741.  
  4742. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4743. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4744.  
  4745. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4746. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4747.  
  4748. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4749. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4750.  
  4751. PASS tests\reducers\settingEncounterTypeReducer.test.js
  4752. Setting Encounter Type reducer
  4753. √ should return the initial state (2ms)
  4754. √ should handle `SETTING_ENCOUNTER_TYPE_LOADING` (1ms)
  4755. √ should handle `SETTING_ENCOUNTER_TYPE_SUCCESS` (1ms)
  4756. √ should handle `SETTING_ENCOUNTER_TYPE_FAILURE` (1ms)
  4757.  
  4758. PASS tests\reducers\noteReducer.test.js
  4759. Note Reducer
  4760. √ set state to initial state when no new state is passed (1ms)
  4761. SET_NOTE
  4762. √ set the patient with provided data (2ms)
  4763.  
  4764. PASS tests\reducers\labOrderReducers\settingLabOrderableReducer.test.js
  4765. getting Lab Orderable reducer
  4766. √ should return the initial state (2ms)
  4767. √ should handle `GET_LAB_ORDERABLES_LOADING` (3ms)
  4768. √ should handle `GET_LAB_ORDERABLES_SUCCESS` (1ms)
  4769. √ should handle `GET_LAB_ORDERABLES_FAILURE` (1ms)
  4770.  
  4771. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4772. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4773.  
  4774. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4775. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4776.  
  4777. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4778. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4779.  
  4780. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4781. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4782.  
  4783. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4784. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4785.  
  4786. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4787. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4788.  
  4789. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4790. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4791.  
  4792. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4793. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4794.  
  4795. PASS tests\reducers\locationReducer.test.js
  4796. Location Reducer
  4797. √ set state to initial state when no new state is passed (1ms)
  4798. SET_LOCATIONS
  4799. √ set the app locations with provided data (1ms)
  4800.  
  4801. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4802. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4803.  
  4804. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4805. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4806.  
  4807. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4808. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4809.  
  4810. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4811. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4812.  
  4813. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4814. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4815.  
  4816. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4817. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4818.  
  4819. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4820. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4821.  
  4822. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4823. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4824.  
  4825. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4826. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4827.  
  4828. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4829. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4830.  
  4831. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4832. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4833.  
  4834. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4835. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4836.  
  4837. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4838. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4839.  
  4840. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4841. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4842.  
  4843. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4844. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4845.  
  4846. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4847. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4848.  
  4849. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4850. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4851.  
  4852. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4853. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4854.  
  4855. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4856. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4857.  
  4858. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4859. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4860.  
  4861. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4862. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4863.  
  4864. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4865. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4866.  
  4867. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4868. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4869.  
  4870. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4871. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4872.  
  4873. PASS tests\reducers\orderSelectionReducer.test.js
  4874. orderSelectionReducer Reducer
  4875. √ should return the state as default when action is not triggered (1ms)
  4876. SET_SELECTED_ORDER
  4877. √ set the state with provided data (2ms)
  4878.  
  4879. PASS tests\reducers\encounterRoleReducer.test.js
  4880. encounterRole reducer for get actions
  4881. √ should return loading as true (2ms)
  4882. √ should return encounterRole (1ms)
  4883. √ should return an error (1ms)
  4884.  
  4885. console.warn app\js\middlewares\errorMiddleware.js:9
  4886. ACTION_FAILURE - [object Promise]
  4887.  
  4888. (node:4852) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'catch' of undefined
  4889. (Use `node --trace-warnings ...` to show where the warning was created)
  4890. (node:4852) 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)
  4891. (node:4852) [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.
  4892. (node:4852) UnhandledPromiseRejectionWarning: Error: foo
  4893. (node:4852) 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)
  4894. PASS tests\middlewares\errorMiddleware.test.js
  4895. errorMiddleware action
  4896. √ must return a function to handle next action (1ms)
  4897. √ must not handle an action without a promise payload (1ms)
  4898. √ must handle an action with a promise payload but without errors (2ms)
  4899. √ must handle an action with a promise payload but with errors (29ms)
  4900.  
  4901. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4902. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4903.  
  4904. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4905. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4906.  
  4907. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4908. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4909.  
  4910. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4911. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4912.  
  4913. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4914. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4915.  
  4916. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4917. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4918.  
  4919. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4920. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4921.  
  4922. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4923. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4924.  
  4925. PASS tests\actions\orderAction.test.js
  4926. Set Order Actions
  4927. √ should dispatch an order action (1ms)
  4928.  
  4929. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4930. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4931.  
  4932. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4933. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4934.  
  4935. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4936. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4937.  
  4938. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4939. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4940.  
  4941. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4942. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4943.  
  4944. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4945. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4946.  
  4947. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4948. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4949.  
  4950. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4951. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4952.  
  4953. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4954. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4955.  
  4956. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4957. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4958.  
  4959. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4960. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4961.  
  4962. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4963. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4964.  
  4965. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4966. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4967.  
  4968. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4969. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4970.  
  4971. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4972. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4973.  
  4974. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4975. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  4976.  
  4977. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4978. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4979.  
  4980. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4981. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4982.  
  4983. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4984. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4985.  
  4986. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4987. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4988.  
  4989. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4990. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4991.  
  4992. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4993. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4994.  
  4995. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4996. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  4997.  
  4998. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  4999. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  5000.  
  5001. PASS tests\reducers\createOrderReducer.test.js
  5002. createOrder reducer test suite
  5003. √ sets status key error to true and sets key errorMessage to
  5004. error message from payload on action type SAVE_DRAFT_LAB_ORDER_FAILURE (1ms)
  5005. √ parses data from payload to key labOrderData and sets staus key
  5006. added to true on action type SAVE_DRAFT_LAB_ORDER_SUCCESS (1ms)
  5007. √ returns initial state if action type is not handled (1ms)
  5008. √ should handle SAVE_DRAFT_LAB_ORDER_LOADING (1ms)
  5009.  
  5010. PASS tests\reducers\careSettingReducer.test.js
  5011. careSetting reducer
  5012. √ should successfully fetch care settings (1ms)
  5013. √ should set the caresetting fetch error (1ms)
  5014. √ should set the caresetting loading status
  5015.  
  5016. PASS tests\reducers\labOrderReducers\labOrderableReducer.test.js
  5017. laborderable reducer
  5018. √ should handle `FETCH_LAB_ORDERABLES_SUCCESS` (2ms)
  5019. √ should handle `FETCH_LAB_ORDERABLES_FAILURE` (1ms)
  5020. √ should handle FETCH_LAB_ORDERABLES_LOADING (1ms)
  5021.  
  5022. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5023. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5024.  
  5025. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5026. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5027.  
  5028. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5029. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5030.  
  5031. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5032. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5033.  
  5034. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5035. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5036.  
  5037. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5038. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5039.  
  5040. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5041. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5042.  
  5043. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5044. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  5045.  
  5046. PASS tests\reducers\patientReducer.test.js
  5047. Patient Reducer
  5048. √ set state to initial state when no new state is passed (1ms)
  5049. SET_PATIENT
  5050. √ set the patient with provided data (1ms)
  5051. √ set the patient to empty array if the request fails
  5052.  
  5053. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5054. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5055.  
  5056. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5057. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5058.  
  5059. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5060. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5061.  
  5062. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5063. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5064.  
  5065. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5066. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5067.  
  5068. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5069. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5070.  
  5071. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5072. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5073.  
  5074. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5075. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  5076.  
  5077. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5078. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5079.  
  5080. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5081. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5082.  
  5083. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5084. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5085.  
  5086. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5087. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5088.  
  5089. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5090. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5091.  
  5092. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5093. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5094.  
  5095. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5096. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 2.
  5097.  
  5098. console.error node_modules\prop-types\factoryWithTypeCheckers.js:21
  5099. Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 1.
  5100.  
  5101. PASS tests\reducers\encounterReducer.test.js
  5102. encounter reducer for get actions
  5103. √ should return loading as true (1ms)
  5104. √ should return encounterType
  5105. √ should return an error (1ms)
  5106.  
  5107. PASS tests\actions\drug.test.js
  5108. selectDrug action
  5109. √ should call `SELECT_DRUG` when drug is selected (2ms)
  5110. searchDrug action
  5111. √ creates SEARCH_DRUGS_LOADING and SEARCH_DRUGS_SUCCESS
  5112. action types upon success response from server (3ms)
  5113.  
  5114. --------------------------------------|----------|----------|----------|----------|-------------------|
  5115. File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
  5116. --------------------------------------|----------|----------|----------|----------|-------------------|
  5117. All files | 89.46 | 79.42 | 86.16 | 89.87 | |
  5118. js | 75 | 16.67 | 33.33 | 75 | |
  5119. config.js | 100 | 100 | 100 | 100 | |
  5120. redux-store.jsx | 55.56 | 16.67 | 0 | 55.56 | 39,42,44,45 |
  5121. routes.jsx | 100 | 100 | 100 | 100 | |
  5122. js/actions | 98.17 | 86.96 | 96.83 | 98.85 | |
  5123. actionTypes.js | 100 | 100 | 100 | 100 | |
  5124. activeOrderAction.js | 100 | 100 | 100 | 100 | |
  5125. careSetting.js | 100 | 100 | 100 | 100 | |
  5126. context.js | 50 | 100 | 0 | 100 | |
  5127. createOrder.js | 83.33 | 100 | 66.67 | 100 | |
  5128. dateFormat.js | 100 | 100 | 100 | 100 | |
  5129. draftActions.js | 100 | 100 | 100 | 100 | |
  5130. draftLabOrderAction.js | 100 | 100 | 100 | 100 | |
  5131. draftTableAction.js | 100 | 100 | 100 | 100 | |
  5132. drug.js | 100 | 100 | 100 | 100 | |
  5133. encounterRole.js | 100 | 100 | 100 | 100 | |
  5134. encounterType.js | 100 | 100 | 100 | 100 | |
  5135. fetchAllOrders.js | 100 | 50 | 100 | 100 | 11 |
  5136. fetchOrders.js | 100 | 100 | 100 | 100 | |
  5137. loading.js | 100 | 100 | 100 | 100 | |
  5138. networkError.js | 100 | 100 | 100 | 100 | |
  5139. orderAction.js | 100 | 100 | 100 | 100 | |
  5140. orderEntryActions.js | 100 | 100 | 100 | 100 | |
  5141. patient.js | 100 | 50 | 100 | 100 | 14 |
  5142. settingEncounterRole.js | 95 | 100 | 100 | 93.33 | 32 |
  5143. settingEncounterType.js | 93.75 | 50 | 100 | 92.31 | 25 |
  5144. js/actions/labOrders | 92.31 | 85.71 | 90 | 94.74 | |
  5145. fetchLabOrders.js | 100 | 100 | 100 | 100 | |
  5146. labConceptsAction.js | 100 | 100 | 100 | 100 | |
  5147. labOrderableAction.js | 100 | 100 | 100 | 100 | |
  5148. settingLabOrderableAction.js | 90 | 75 | 85.71 | 93.33 | 33 |
  5149. js/components | 95.65 | 100 | 83.33 | 100 | |
  5150. Draft.jsx | 95.65 | 100 | 83.33 | 100 | |
  5151. js/components/button | 100 | 100 | 100 | 100 | |
  5152. IconButton.jsx | 100 | 100 | 100 | 100 | |
  5153. js/components/drugOrderEntry | 97.56 | 91.43 | 94.12 | 97.44 | |
  5154. index.jsx | 97.56 | 91.43 | 94.12 | 97.44 | 190 |
  5155. js/components/drugOrderEntry/addForm | 96.69 | 86.77 | 89.47 | 96.55 | |
  5156. AddForm.jsx | 97.14 | 86.51 | 89.66 | 97 | 221,364,447 |
  5157. DrugOrderPrintPreview.jsx | 0 | 100 | 0 | 0 | 6 |
  5158. FreeText.jsx | 100 | 53.85 | 100 | 100 | 38,48,55,74 |
  5159. StandardDose.jsx | 100 | 96 | 100 | 100 | 208,218 |
  5160. js/components/labOrderEntry | 98.46 | 87.5 | 100 | 100 | |
  5161. LabEntryForm.jsx | 97.73 | 85.29 | 100 | 100 | 57,64,129,130,155 |
  5162. LabPanelFieldSet.jsx | 100 | 100 | 100 | 100 | |
  5163. LabTestFieldSet.jsx | 100 | 100 | 100 | 100 | |
  5164. labData.js | 100 | 100 | 100 | 100 | |
  5165. js/components/orderEntry | 88.27 | 61.31 | 83.33 | 89.41 | |
  5166. Accordion.jsx | 100 | 83.33 | 100 | 100 | 7 |
  5167. AllOrders.jsx | 86.67 | 100 | 60 | 92.86 | 76 |
  5168. DrugOrderDetails.jsx | 100 | 100 | 100 | 100 | |
  5169. LabOrderDetails.jsx | 100 | 50 | 100 | 100 | 24 |
  5170. OrderEntryPage.jsx | 93.75 | 75 | 87.5 | 93.55 | 77,80,374,391 |
  5171. OrderHeader.jsx | 100 | 80 | 100 | 100 | 33,41 |
  5172. OrdersTable.jsx | 78.57 | 30.36 | 85.71 | 77.5 |... 83,184,185,186 |
  5173. Paginate.jsx | 100 | 100 | 100 | 100 | |
  5174. SelectOrderType.jsx | 66.67 | 62.5 | 57.14 | 73.33 | 16,22,26,30 |
  5175. orderTypes.js | 100 | 100 | 100 | 100 | |
  5176. js/components/searchDrug | 100 | 94.12 | 100 | 100 | |
  5177. View.jsx | 100 | 90.91 | 100 | 100 | 34 |
  5178. index.jsx | 100 | 100 | 100 | 100 | |
  5179. js/components/tabs | 100 | 100 | 87.5 | 100 | |
  5180. DosageTab.jsx | 100 | 100 | 66.67 | 100 | |
  5181. DosageTabs.jsx | 100 | 100 | 100 | 100 | |
  5182. js/middlewares | 96.43 | 90.63 | 100 | 96.23 | |
  5183. errorMiddleware.js | 100 | 100 | 100 | 100 | |
  5184. responseHandlerMiddleware.js | 95.74 | 90 | 100 | 95.65 | 64,65 |
  5185. js/reducers | 98.6 | 95.24 | 95.83 | 98.58 | |
  5186. activeOrderReducer.js | 100 | 87.5 | 100 | 100 | 25,61,70,74,80 |
  5187. careSettingReducer.js | 100 | 100 | 100 | 100 | |
  5188. contextReducer.js | 100 | 100 | 100 | 100 | |
  5189. createOrderReducer.js | 100 | 100 | 100 | 100 | |
  5190. dateFormatReducer.js | 100 | 100 | 100 | 100 | |
  5191. drugSearchReducer.js | 100 | 100 | 100 | 100 | |
  5192. encounterReducer.js | 100 | 100 | 100 | 100 | |
  5193. encounterRoleReducer.js | 100 | 100 | 100 | 100 | |
  5194. fetchOrdersReducer.js | 91.3 | 93.75 | 83.33 | 90.48 | 78,81 |
  5195. index.js | 0 | 0 | 0 | 0 | |
  5196. initialState.js | 0 | 0 | 0 | 0 | |
  5197. locationReducer.js | 100 | 100 | 100 | 100 | |
  5198. noteReducer.js | 100 | 100 | 100 | 100 | |
  5199. orderEntryReducer.js | 100 | 100 | 100 | 100 | |
  5200. orderSelectionReducer.js | 100 | 100 | 100 | 100 | |
  5201. pastOrdersReducer.js | 100 | 100 | 100 | 100 | |
  5202. patientReducer.js | 100 | 100 | 100 | 100 | |
  5203. settingEncounterRoleReducer.js | 100 | 100 | 100 | 100 | |
  5204. settingEncounterTypeReducer.js | 100 | 100 | 100 | 100 | |
  5205. js/reducers/draftReducer | 71.93 | 68 | 73.33 | 70.37 | |
  5206. draftDrugOrderReducer.js | 100 | 100 | 100 | 100 | |
  5207. draftLabOrderReducer.js | 68.63 | 60 | 69.23 | 66.67 |... 13,114,116,118 |
  5208. index.js | 0 | 0 | 0 | 0 | |
  5209. js/reducers/labOrders | 100 | 100 | 100 | 100 | |
  5210. fetchLabOrderReducer.js | 100 | 100 | 100 | 100 | |
  5211. labConceptsReducer.js | 100 | 100 | 100 | 100 | |
  5212. labOrderableReducer.js | 100 | 100 | 100 | 100 | |
  5213. settingLabOrderableReducer.js | 100 | 100 | 100 | 100 | |
  5214. js/rest | 7.69 | 0 | 0 | 7.69 | |
  5215. encounterRest.js | 7.69 | 0 | 0 | 7.69 |... 20,24,26,27,29 |
  5216. js/sagas | 8.16 | 0 | 0 | 9.3 | |
  5217. index.js | 66.67 | 100 | 0 | 66.67 | 10 |
  5218. orderSaga.js | 4.35 | 0 | 0 | 5 |... 07,109,111,116 |
  5219. js/utils | 86.21 | 77.27 | 75 | 88 | |
  5220. constants.js | 100 | 100 | 100 | 100 | |
  5221. globalProperty.js | 85.71 | 100 | 66.67 | 100 | |
  5222. helpers.js | 76.92 | 77.27 | 66.67 | 75 | 14,15,19 |
  5223. toast.js | 100 | 100 | 100 | 100 | |
  5224. --------------------------------------|----------|----------|----------|----------|-------------------|
  5225. Handlebars: Access has been denied to resolve the property "statements" because it is not an "own property" of its parent.
  5226. You can add a runtime option to disable the check or this warning:
  5227. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  5228. Handlebars: Access has been denied to resolve the property "branches" because it is not an "own property" of its parent.
  5229. You can add a runtime option to disable the check or this warning:
  5230. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  5231. Handlebars: Access has been denied to resolve the property "functions" because it is not an "own property" of its parent.
  5232. You can add a runtime option to disable the check or this warning:
  5233. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  5234. Handlebars: Access has been denied to resolve the property "lines" because it is not an "own property" of its parent.
  5235. You can add a runtime option to disable the check or this warning:
  5236. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
  5237. Test Suites: 67 passed, 67 total
  5238. Tests: 2 skipped, 309 passed, 311 total
  5239. Snapshots: 22 passed, 22 total
  5240. Time: 43.576s
  5241. Ran all test suites.
  5242.  
  5243. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT build F:\digimodules\openmrs-owa-orderentry
  5244. > npm run clean && SET NODE_ENV="production" webpack --progress --colors
  5245.  
  5246.  
  5247. > @openmrs/orderentry-owa@1.2.5-SNAPSHOT clean F:\digimodules\openmrs-owa-orderentry
  5248. > rimraf dist && rimraf coverage*
  5249.  
  5250.  
  5251. NextGen@NGC MINGW64 /f/digimodules/openmrs-owa-orderentry (master)
  5252. $
  5253.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement