Skip to content

Commit

Permalink
fix: ignore amplify-cli-shared-interfaces for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachin Panemangalore committed May 3, 2022
1 parent f3161a2 commit dc604b7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 28 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
'packages/amplify-util-mock/src/__e2e__/',
'packages/amplify-ui-tests/',
'packages/amplify-graphql-transformer-interfaces/',
'packages/amplify-cli-shared-interfaces/',
],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'core', 'node'],
collectCoverage: true,
Expand Down
7 changes: 0 additions & 7 deletions packages/amplify-cli-shared-interfaces/jest.config.js

This file was deleted.

22 changes: 1 addition & 21 deletions packages/amplify-cli-shared-interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"build": "tsc",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"demo": "yarn build && node lib/demo/demo.js",
"test": "jest --color",
"watch": "tsc -w"
},
"repository": {
Expand All @@ -25,27 +24,8 @@
"url": "https://github.com/aws-amplify/amplify-cli/issues"
},
"homepage": "https://github.com/aws-amplify/amplify-cli#readme",
"dependencies": {
"chalk": "^4.1.1",
"enquirer": "^2.3.6"
},
"dependencies": {},
"devDependencies": {
"rimraf": "^3.0.2"
},
"jest": {
"collectCoverage": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testURL": "http://localhost",
"testRegex": "((\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}

0 comments on commit dc604b7

Please sign in to comment.