Skip to content

Commit

Permalink
fix config package bug on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
vahidalizad committed Oct 19, 2024
1 parent 14ee18b commit 04b8d8e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .nycrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"reportDir": "./coverage",
"reporter": ["lcov", "text"],
"extension": [".js", ".ts"]
"include": ["spec/**/*.spec.js"]
}
18 changes: 18 additions & 0 deletions config/default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"accessKey": "accessKey",
"secretKey": "secretKey",
"insufficientOptions": {
"accessKey": "accessKey",
"secretKey": "secretKey"
},
"bucket": "bucket",
"objectWithBucket": {
"bucket": "bucket"
},
"emptyObject": {},
"paramsObjectWBucket": {
"params": {
"Bucket": "bucket"
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"pretest": "npm run lint",
"test": "NODE_ENV=test NODE_CONFIG_DIR=./spec/config nyc jasmine",
"test": "nyc jasmine",
"lint": "eslint --cache ./",
"lint:fix": "eslint --fix --cache ./"
},
Expand Down
18 changes: 0 additions & 18 deletions spec/config/test.js

This file was deleted.

0 comments on commit 04b8d8e

Please sign in to comment.