Skip or Only Run a Test with JavaScript Mocha

Whenever I start to feel anxiety about a big change I’m making, I start writing more unit tests. I’ll write down my fear and then write a test that attacks, and eventually relaxes, that fear. There are two actions that I’ve been frequently using with test writing: skipping all but one test or single tests. Skip a Test Oftentimes I will create tests with empty bodies so that I don’t forget to write them. To skip a test which is incomplete or known to fail, you can use xit: xit('does the thing I want', () ={ }); Once the test is complete or ready to be applied, you can change xit back to it. Run a Single Test To run only a single test with the Mocha test framework,... more →
Posted in: JavaScript

Google Maps wants to be the only app you need for your commute – Mashable

Mashable Google Maps wants to be the only app you need for your commuteMashableSeveral new features arrived in the app today that will make it easier to multitask while you're commuting. The updates are all about keeping you in the Google Maps mobile app while getting to work in your car, on the train, bus, or even on foot. Here …Google Maps is getting in-app music support and new commuter tabThe VergeGoogle adds in-app music support to MapsMyBroadbandGoogle Maps adds 'Commute' tab and music controlsTechCrunchNew York Post –The Car Connection –Newsweek –Google Playall 204 news articles » map app – Google News… more →
Posted in: Interactive Maps

DTE Energy outage map only working on mobile app – WDIV Detroit

WDIV Detroit DTE Energy outage map only working on mobile appWDIV DetroitDETROIT – With historic power outages in Metro Detroit, the DTE Energy website crashed Wednesday, and still isn't fully working. The DTE Energy website is slowly returning to function, but the DTE outage map can only currently be found, although …and more » map app – Google News… more →
Posted in: Interactive Maps