Skip to content

Commit eb84e01

Browse files
haverchuckmlabieniec
authored andcommitted
fix(aws-amplify-angular): Angular rollup (#1441)
* implements rollup * rollup working * working * adding rollup to angular build * fixing tests * removed experimental files * reverted jest config * fixing package-lock * removed core package-lock * custom elements schema * removing ionic dependency * removing webpack dependency * standardizing variable names * cleanup * rolling back unnecessary changes * cleanup * removes weird String importation from cognito identity lib * removing commented code * fixing package.json and -lock files * rolling back unnecessary change * setting testURL in jest.config * adding testURL to jest config for /core * setting testURL * test commit * test commit * adding testURL to api jest config * adding testURL to analytics jest config * adding testURL to cache jest config * changing Polyfills-test to expect null instead of undefined * testURL for interactions jest config * added testURL in pubsub, pushnotification and storage jest configs * added testURL in aws-amplify-react jest config
1 parent 7f9fd15 commit eb84e01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2952
-13573
lines changed

packages/analytics/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"jsx"
6969
],
7070
"testEnvironment": "jsdom",
71+
"testURL": "http://localhost/",
7172
"mapCoverage": true,
7273
"coverageThreshold": {
7374
"global": {

packages/api/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"jsx"
7272
],
7373
"testEnvironment": "jsdom",
74+
"testURL": "http://localhost/",
7475
"mapCoverage": true,
7576
"coverageThreshold": {
7677
"global": {

packages/auth/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"jsx"
6969
],
7070
"testEnvironment": "jsdom",
71+
"testURL": "http://localhost/",
7172
"mapCoverage": true,
7273
"coverageThreshold": {
7374
"global": {

packages/aws-amplify-angular/gulpfile.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

packages/aws-amplify-angular/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export { AmplifyAngularModule } from './src/aws-amplify-angular.module';
2+
export { AmplifyIonicModule } from './src/aws-amplify-ionic-module';
3+
export { AmplifyService} from './src/providers/amplify.service';
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = {
22
preset: "jest-preset-angular",
33
roots: ['src'],
4-
setupTestFrameworkScriptFile: "<rootDir>/src/setup-jest.ts"
4+
setupTestFrameworkScriptFile: "<rootDir>/src/setup-jest.ts",
5+
testURL: 'http://localhost/'
56
}

0 commit comments

Comments
 (0)