-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: feedback correction and finalise unit test
- Loading branch information
1 parent
7e758f2
commit 5ffe615
Showing
34 changed files
with
149 additions
and
16,807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,51 @@ | ||
const stockCountScenario = [ | ||
'init', | ||
'2_levels', | ||
'c62_chw', | ||
'chw', | ||
'c52_supervisor', | ||
'supervisor', | ||
'Y', | ||
'stock_count', | ||
'[{contact_type: \'c62_chw\', role: \'chw\', place_type: \'c60_chw_site\' },{contact_type: \'c52_supervisor\',role: \'supervisor\',place_type: \'c50_supervision_area\'}]', | ||
'action', | ||
'end_of_week', | ||
['Stock count', 'Stock count'], | ||
'patient_assessment_under_5', | ||
'Y', | ||
'now()', | ||
'malaria', | ||
['Category', 'Categorie'], | ||
['Category', 'Categorie'], | ||
'paracetamol', | ||
['Paracetamol', 'Paracetamole'], | ||
'Y', | ||
['Box of 8', 'Boite de 8'], | ||
8, | ||
['Tablet', 'Comprimes'], | ||
20, | ||
15, | ||
15, | ||
'by_user', | ||
0 | ||
]; | ||
|
||
module.exports = { | ||
stockCountScenario | ||
stockCountScenario: { | ||
initScenario: [ | ||
'init', | ||
'2_levels', | ||
'c62_chw', | ||
'chw', | ||
'c52_supervisor', | ||
'supervisor', | ||
'Y', | ||
'stock_count', | ||
'[{contact_type: \'c62_chw\', role: \'chw\', place_type: \'c60_chw_site\' },{contact_type: \'c52_supervisor\',role: \'supervisor\',place_type: \'c50_supervision_area\'}]', | ||
'action', | ||
'end_of_week', | ||
['Stock count', 'Stock count'], | ||
'patient_assessment_under_5', | ||
'Y', | ||
'now()', | ||
'malaria', | ||
['Category', 'Categorie'], | ||
['Category', 'Categorie'], | ||
'paracetamol', | ||
['Paracetamol', 'Paracetamole'], | ||
'Y', | ||
['Box of 8', 'Boite de 8'], | ||
8, | ||
['Tablet', 'Comprimes'], | ||
20, | ||
15, | ||
15, | ||
'by_user', | ||
0 | ||
], | ||
productCategoryScenario: [ | ||
'malaria' | ||
], | ||
productsScenario: [ | ||
'paracetamol___set', | ||
'paracetamol___unit', | ||
'paracetamol', | ||
'paracetamol___count' | ||
] | ||
|
||
} | ||
}; | ||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.