Twitter

Hi @factuursturennl, mooie interface, toffe features; met name het inboeken van crediteuren en de btw-overzichtjes!ā€¦ https://t.co/16qWn4UoBc

2 months ago

Follow

Nice insights on crowd funding: https://t.co/obxkW0C9nj šŸ˜¼

3 months ago

Follow

Rainbow CSV for #VSCode : simple and elegant šŸ‘šŸŒˆ https://t.co/LDEpaO4TEB

3 months ago

Follow

Need finer control over your screen brightness? There a #PowerShell script for that: https://t.co/uUCyIaN6j6

3 months ago

Follow

Categories

Category: JavaScript

JavaScript, Node.js, TypeScript

Convert QUnit test to Mocha / Chai

Recently I’ve been playing around with NPM. I switched my unit tests from QUnit to Mocha. This was not as straight forward as one would hope. In this blog I’ll show some example code. At the end I’ll link to a side by side comparison of the entire test project. Hopefully it helps you to convert your code. I’ll be using the Chai BDD assertion engine.

Node.js

How to start Node.js app windowless in Windows

Node.js is getting more popular by the day. It breaks JavaScript free from the browser. I would love to auto start an application – much like a Windows service – without keeping a console window open. There are many services to wrap node applications into an executable, but I like to stick with just Node. This small trick will make your Node application windowless on Windows.

TypeScript

Strongly Typed Events 0.3.0 – now with Signals

Turns out that I needed an even smaller type of event: the signal. It is an event that has no data; it just fires. The Strongly Typed Events project started with the IEvent event that was styled after .Net. Then the ISimpleEvent was added in 0.2.0, for scenarios when no sender is necessary. Now I’ve added the ISignal to version 0.3.0.