![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JS
tangtang_coding_03
这个作者很懒,什么都没留下…
展开
-
jest+enzyme针对 react16+ typescript UT代码的debug方法
在 Jest 单测中进行 debugger 目前有两种方法:1. VSCode 提供的 Debugger 功能;2. Chrome Node DevTools针对第一种,直接上链接:https://github.com/microsoft/vscode-recipes/tree/master/debugging-jest-tests其中:Add following Jest configuration to package.json:"jest": { "testEnviron原创 2020-07-22 16:59:39 · 521 阅读 · 0 评论 -
JS学习之路
没有JAVA的基础,也没弄过JS,原创 2014-05-20 15:26:26 · 664 阅读 · 0 评论 -
JS学习之路(三)
最近在弄CSS,很愁啊,东西很多,因此,写一些记录一下:1、设置一个输入框上面默认一行文字,鼠标聚焦时,文字消失。也可以实现点击输入框,光标聚焦在初始位置:CSS设置为:设置最外层的DIV的position:relative;设置DIV中输入框上方的文字标签label的position:absolute;具体的操作可通过连接CLICK实现。2、设置一个DOM距离旁边DOM的距离原创 2014-05-21 20:40:03 · 540 阅读 · 0 评论 -
JS学习之路(二)
最近一直在IE6上调试页面的jianron原创 2014-05-20 15:44:10 · 593 阅读 · 0 评论 -
angluar2学习(一)
1、文件结构各模块作用:1》app.component.ts //APP的入口,主结构2》app.modules.ts //引入需要的组件3》hero.ts //声明的公共的类4》hero-detail //声明子组件2、一个简单的例子3、修饰器@component1> selec原创 2017-12-13 17:58:04 · 403 阅读 · 0 评论