chore: use typescript to refactor test and fix some bugs(#42)

* style: formate code

* chore: disable no-non-null-assertion

* chore: test vHtml and vText

* chore: set optimize as true in test

* style: fix eslint warning

* chore: v-model test

* fix: v-model has not type should use vModelText

* chore: use typescript to refactor test

* fix: slots test

* feat: support isCustomElement
This commit is contained in:
Amour1688
2020-07-25 22:39:19 +08:00
committed by GitHub
parent 84b006bdd3
commit ebbd992ba0
18 changed files with 722 additions and 491 deletions

View File

@@ -36,7 +36,9 @@
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-typescript": "^7.10.4",
"@rollup/plugin-babel": "^5.0.3",
"@types/jest": "^26.0.7",
"@types/svg-tags": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
@@ -47,6 +49,7 @@
"jest": "^26.0.1",
"regenerator-runtime": "^0.13.5",
"rollup": "^2.13.1",
"ts-jest": "^26.1.3",
"typescript": "^3.9.6",
"vue": "3.0.0-rc.4",
"webpack": "^4.43.0",