上一页 1 ··· 284 285 286 287 288 289 290 291 292 ··· 498 下一页
摘要: 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 阅读(147) 评论(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 阅读(609) 评论(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 阅读(838) 评论(0) 推荐(0)
摘要: The component test: 阅读全文
posted @ 2018-11-14 17:06 Zhentiw 阅读(268) 评论(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 阅读(258) 评论(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 阅读(492) 评论(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 阅读(935) 评论(0) 推荐(0)
摘要: It can be incredibly frustrating to spend a few minutes filling out a form only to accidentally lose all of your progress by the browser closer, the p 阅读全文
posted @ 2018-11-09 16:49 Zhentiw 阅读(364) 评论(0) 推荐(0)
摘要: Downloading and saving a file is a common scenario when building out your web application. Using Express, you can either trigger a download from an ex 阅读全文
posted @ 2018-11-08 05:51 Zhentiw 阅读(274) 评论(0) 推荐(0)
上一页 1 ··· 284 285 286 287 288 289 290 291 292 ··· 498 下一页