サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ドラクエ3
glebbahmutov.com
I even wrote my own test runner 11 year ago: gt I personally think Node.js follows the same "minimal core" as JavaScript itself. Thus things like linters, code formatters, and test runners are better made as 3rd party tools. While this was a good idea for a long time, now any language without a standard testing tool seems weird. Deno, Rust, Go - they all have their own built-in test runners. Curre
A couple of months ago I have announced a Cypress.io course Testing The Swag Store targeted at the beginners who want to learn web end-to-end and component testing using Cypress.io test runner. The short announcement video can be seen below It is hard to believe, but I have been on a roll creating lots and lots of lessons for this course. It now covers end-to-end testing, React component testing,
In this blog post I will show how to write a Webpack loader. We will load Markdown files, will find a JavaScript code block inside and will return it to be processed by the rest of the pipeline. Initial setup Markdown to HTML Import statements Per-import loader Our Markdown loader Bundling extracted JavaScript code Imagine we have a Markdown text file, and it has JavaScript code blocks like this:
Battery status web app Simple test Mocking navigator.battery property Mocking navigator.getBattery method Battery status updates No battery API See also Battery status web appIn source repo bahmutov/demo-battery-api there is a web application forked from pazguille/demo-battery-api that uses navigator browser API to show the current battery status. You can try the demo of the application at http://
I really liked snapshot testing as implemented in Jest. Once you have a complex object, compare it with its previous value using expect(value).toMatchSnapshot(). If there is no previous snapshot, it will be saved under the test name. If there is a snapshot file already, the assertion compares the given value with the saved one and throws a well formatted exception if the two values differ. Other f
The problem - web application loading timesDon't you hate the waiting period when a web application loads? I have been chasing faster boot up times every since Angular plus React equals Speed revisited friendly competition dialogue with Dave Smith which started at ng-conf. I believe that once the application has started, both Angular and React are pretty similar in performance; but React is defini
このページを最初にブックマークしてみませんか?
『glebbahmutov.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く