Skip to content

Commit 3a98507

Browse files
authored
fix: fix tsconfig path & remove useless code (#4)
* fix * fix * remove useless code * remove useless code
1 parent 45a344a commit 3a98507

3 files changed

Lines changed: 3 additions & 19 deletions

File tree

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@
3636
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
3737
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
3838
"start": "dumi dev",
39-
"test": "npm run test:client && npm run test:server",
40-
"test:client": "umi-test --testPathIgnorePatterns=ssr.test.tsx --testPathIgnorePatterns=ssr.test.tsx",
41-
"test:coverage": "npm run test:client --coverage",
42-
"test:server": "umi-test --env=node -- tests/ssr.test.tsx",
39+
"test": "umi-test",
40+
"test:coverage": "npm run test --coverage",
4341
"watch": "father dev"
4442
},
4543
"dependencies": {

tests/ssr.test.tsx

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

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"paths": {
1111
"@/*": ["src/*"],
1212
"@@/*": ["src/.umi/*"],
13-
"@rc-component/portal": ["src/Portal.tsx"]
13+
"@rc-component/mutate-observer": ["src/index.tsx"]
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)