Skip to content

Commit

Permalink
✅ test: 清理测试
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 9, 2021
1 parent b823f71 commit 12e0597
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 243 deletions.
5 changes: 0 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
module.exports = {
testURL: 'http://localhost:8000',
testEnvironment: './tests/PuppeteerEnvironment',
verbose: false,
globals: {
ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: false,
localStorage: null,
},
};
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
"start:no-mock": "cross-env MOCK=none umi dev",
"start:no-ui": "cross-env UMI_UI=none umi dev",
"start:test": "cross-env REACT_APP_ENV=test MOCK=none umi dev",
"pretest": "node ./tests/beforeTest",
"test": "umi test",
"test:all": "node ./tests/run-tests.js",
"test:component": "umi test ./src/components",
"tsc": "tsc --noEmit"
},
Expand Down Expand Up @@ -91,7 +89,6 @@
"mockjs": "^1.0.1-beta3",
"prettier": "^2.0.1",
"pro-download": "1.0.1",
"puppeteer-core": "^5.0.0",
"stylelint": "^13.0.0",
"typescript": "^4.0.3",
"umi-plugin-tailwindcss": "^2.1.3"
Expand Down
1 change: 0 additions & 1 deletion src/e2e/__mocks__/antd-pro-merge-less.js

This file was deleted.

57 changes: 0 additions & 57 deletions src/e2e/baseLayout.e2e.js

This file was deleted.

41 changes: 0 additions & 41 deletions tests/PuppeteerEnvironment.js

This file was deleted.

39 changes: 0 additions & 39 deletions tests/beforeTest.js

This file was deleted.

45 changes: 0 additions & 45 deletions tests/getBrowser.js

This file was deleted.

52 changes: 0 additions & 52 deletions tests/run-tests.js

This file was deleted.

1 comment on commit 12e0597

@vercel
Copy link

@vercel vercel bot commented on 12e0597 Feb 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.