The Jest Handbook available for Preorder - Code with Hugo - Nov 26th 2019
The Jest Handbook is now ready for preorders.
If you’re curious about advanced Jest features, or want to level up your JavaScript testing fundamentals (or just want to support Code with Hugo), this is for you: Pre-order now for a 45% discount.
Hot off the press
Fix “[Vue warn]: You are using the runtime-only build of Vue”: This post explains how to fix “[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available.
If you missed it
Tailwind CSS 1.x impressions, development and production setup for static sites with Tailwind CLI and PurgeCSS CLI: Tailwind CSS is “a utility-first CSS framework for rapidly building custom designs”.
Jest .fn() and .spyOn() spy/stub/mock assertion reference: Where other JavaScript testing libraries would lean on a specific stub/spy library like Sinon - Standalone test spies, stubs and mocks for JavaScript.
Jest Array/Object partial match with objectContaining and arrayContaining: It’s possible to do partial matches on Arrays and Objects in Jest using expect.objectContaining and expect.arrayContaining.
From the web
What even is a container: namespaces and cgroups - Julia Evans by Julia Evans: The first time I heard about containers it was like – what? what’s that? Is a container a process? What’s Docker? Are containers Docker? Help!
C J Silverio: The economics of open source: The JS package commons is in the hands of a for-profit entity. We trust npm with our shared code, but we have no way to hold npm accountable for its behavior. A trust-based system cannot function without accountability, but somebody still has to pay for the servers.
Jepsen: FaunaDB 2.5.4 by : In 2012, Thomson, Diamond, Weng, et al. published Calvin: Fast Distributed Transactions for Partitioned Database Systems: a transactional protocol optimized for geographic replication.