Skip to content

Commit

Permalink
Add test cases and update dashboards code to account for generic path (
Browse files Browse the repository at this point in the history
…#22)

* add jest test case for setting/getting config

Signed-off-by: Johnny On <[email protected]>

* git ignore and test cases

Signed-off-by: Johnny On <[email protected]>

* change config_path to make functions work

Signed-off-by: Johnny On <[email protected]>

* update test folder and jest

Signed-off-by: Johnny On <[email protected]>

* change config_path to configPath

Signed-off-by: Johnny On <[email protected]>
  • Loading branch information
johnnyon-amzn authored May 2, 2022
1 parent b4fa9ad commit 8733807
Show file tree
Hide file tree
Showing 6 changed files with 2,505 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.DS_Store
config.json
config.json
config.test.json
3 changes: 3 additions & 0 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"testRegex": "((\\.|/*.)(test))\\.js?$"
}
Loading

0 comments on commit 8733807

Please sign in to comment.