上一页 1 ··· 280 281 282 283 284 285 286 287 288 ··· 494 下一页
摘要: Pseudo elements allow us to target elements that are not explicitly set in the DOM. Using ::before ::after we can actually create and manipulate eleme 阅读全文
posted @ 2018-12-04 23:10 Zhentiw 阅读(181) 评论(0) 推荐(0)
摘要: Using just semantic CSS Pseudo-Classes you can help define important states for form elements that ensure the user provides the correct data without f 阅读全文
posted @ 2018-12-04 22:59 Zhentiw 阅读(133) 评论(0) 推荐(0)
摘要: The interactive pseudo-classes for links (and buttons) allow us to make sure the user knows what elements on the page are interactive and that they ca 阅读全文
posted @ 2018-12-04 22:53 Zhentiw 阅读(145) 评论(0) 推荐(0)
摘要: Run Jest Watch Mode by default locally with is-ci-cli In CI, we don’t want to start the tests in watch mode, but locally we normally want to run the t 阅读全文
posted @ 2018-11-30 02:59 Zhentiw 阅读(604) 评论(0) 推荐(0)
摘要: HTML: Component Controller: Testing: 阅读全文
posted @ 2018-11-22 19:56 Zhentiw 阅读(625) 评论(0) 推荐(0)
摘要: Setup an afterEach Test Hook for all tests with Jest setupTestFrameworkScriptFile With our current test situation, we have a commonality between most 阅读全文
posted @ 2018-11-21 04:32 Zhentiw 阅读(835) 评论(0) 推荐(0)
摘要: The component test: 阅读全文
posted @ 2018-11-14 17:06 Zhentiw 阅读(266) 评论(0) 推荐(0)
摘要: Most of time, when we want to test function call inside a promise, we can do: It is important to call 'done()', otherwise, the code won't call the pro 阅读全文
posted @ 2018-11-14 16:52 Zhentiw 阅读(257) 评论(0) 推荐(0)
摘要: WebAssembly is great for targeting performance bottlenecks in the browser. Now with node-loader, we can do the same on the server through Node.js Whil 阅读全文
posted @ 2018-11-14 03:11 Zhentiw 阅读(488) 评论(0) 推荐(0)
摘要: Transpile Modules with Babel in Jest Tests Jest automatically loads and applies our babel configuration. However, because our project takes advantage 阅读全文
posted @ 2018-11-14 02:53 Zhentiw 阅读(933) 评论(0) 推荐(0)
上一页 1 ··· 280 281 282 283 284 285 286 287 288 ··· 494 下一页