Skip to content

Instantly share code, notes, and snippets.

🐻
Where did all the snacks go?

Barry Low bearcanrun

🐻
Where did all the snacks go?
  • Santa Rosa, California, USA
Block or report user

Report or block bearcanrun

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am bearcanrun on github.
  • I am bearcanrun (https://keybase.io/bearcanrun) on keybase.
  • I have a public key ASB1FedPCGTnWbzQri-A1bO8Jdl8auCqNH3tAwgTX0GpVwo

To claim this, I am signing this object:

@bearcanrun
bearcanrun / ultimate-ut-cheat-sheet.md
Created Sep 7, 2016 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon
View ultimate-ut-cheat-sheet.md

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


@bearcanrun
bearcanrun / UTF-Sec2Ex.md
Created May 13, 2016
Unit Testing Fundamentals: Sec. 2 Exercise
View UTF-Sec2Ex.md

strings.js

module.exports = {,
    dashSeparated: function(string) {
        return string.replace(/([A-Z]|[0-9]+)/g, function(match) {
            return '-' + match.toLowerCase();
        });
    }
};
You can’t perform that action at this time.