Skip to content

Commit

Permalink
fix(amazon-cognito-identity-js): Local & CI tests (aws-amplify#4616)
Browse files Browse the repository at this point in the history
* Default "modules" to "auto"

* Test amazon-cognito-identity-js in CI

* Keep "modules": false to match previous settings, but use "auto" for tests

* "module" defaults to "auto"
  • Loading branch information
ericclemmons authored Dec 20, 2019
1 parent eaff2d1 commit bc8ae26
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
yarn run test --scope @aws-amplify/predictions
yarn run test --scope @aws-amplify/storage
yarn run test --scope @aws-amplify/xr
yarn run test --scope amazon-cognito-identity-js
yarn run test --scope aws-amplify-react
yarn run test --scope aws-amplify-angular
yarn run test --scope aws-amplify-vue
Expand Down
10 changes: 10 additions & 0 deletions packages/amazon-cognito-identity-js/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
}
]
]
},
"test": {
"presets": [
[
"@babel/preset-env",
{
"loose": true
}
]
]
}
}
}

0 comments on commit bc8ae26

Please sign in to comment.