Skip to content

Commit

Permalink
Fixed the test GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs committed Apr 4, 2022
1 parent 388ade6 commit 63a74d8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
}
],
"scripts": {
"test": "jest --coverage",
"prodTest": "npm run buildProdBrowser && sed 's/var rudderanalytics/rudderanalytics/g' dist/rudder-analytics.min.js > __tests__/prodsdk.js && jest script.test.js",
"test": "npm run buildProdBrowser && sed 's/var rudderanalytics/rudderanalytics/g' dist/rudder-analytics.min.js > __tests__/prodsdk.js && jest --coverage",
"buildDevBrowser": "NODE_ENV=false uglify=false rollup -c",
"buildProdBrowser": "NODE_ENV=false PROD_DEBUG=true ENV=prod uglify=true rollup -c",
"buildProdBrowserDebug": "NODE_ENV=false ENV=prod PROD_DEBUG_INLINE=true uglify=true rollup -c",
Expand All @@ -31,11 +30,12 @@
"buildProdIntegration": "NODE_ENV=false ENV=prod uglify=true INTG_NAME=AdobeAnalytics rollup --config rollup.intgConfig.js",
"buildProdIntegrationCLI": "NODE_ENV=false ENV=prod uglify=true INTG_NAME=$npm_config_intg rollup --config rollup.intgConfig.js"
},
"pre-commit": [
"size",
"prodTest",
"test"
],
"pre-commit": {
"run": [
"size",
"test"
]
},
"author": "",
"license": "ISC",
"repository": {
Expand Down

0 comments on commit 63a74d8

Please sign in to comment.