添加测试配置及登陆部分的测试
Change-Id: I6fa1fe23ad8773548927fdc921dceab841f2368a
diff --git a/tsconfig.json b/tsconfig.json
index 39f819e..38a3c05 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "jsx": "preserve",
+ "jsx": "react-jsx",
/* Language and Environment */
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
@@ -14,14 +14,17 @@
],
"@/*": [
"src/*"
+ ],
+ "&/*":[
+ "./*"
]
- }, /* Specify a set of entries that re-map imports to additional lookup locations. */
+ }, /* Specify a set of entries that re-map imports to additional lookup locations. */
"sourceMap": true,
"noImplicitReturns": true,
"importHelpers": true,
- "noUnusedLocals": true,
+ "noUnusedLocals": false,
"noFallthroughCasesInSwitch": true,
- "noUnusedParameters": true,
+ "noUnusedParameters": false,
"noEmit": true,
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
@@ -32,6 +35,8 @@
},
"include": [
"src",
- "typed-css.d.ts"//配置的.d.ts文件
+ "jest.setup.ts",
+ "typed-css.d.ts",//配置的.d.ts文件
+ "typed-image.d.ts"
]
}