update testing library settings and global functions

This commit is contained in:
Annie Huang committed 2024-02-14 16:16:01 +08:00
1 parent 5c17f5ea3c
commit 2b495f7cda
2 files changed
+27 -37

No files matched your search

+3 -2
View File
@@ -2,7 +2,8 @@
"compilerOptions": {
"target": "es5",
"lib": ["es5", "dom"],
"types": ["cypress", "node"]
"types": ["cypress", "@testing-library/cypress"]
},
"include": ["**/*.ts"]
"include": ["src", "node_modules/cypress", "**/*.ts"],
"exclude": ["node_modules/cypress"]
}