Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rdooh on github.
  • I am rdooh (https://keybase.io/rdooh) on keybase.
  • I have a public key ASAuCqtnm2i5YcwMKrPQInD18ElVbANAy-ue7HoCYvEqkwo

To claim this, I am signing this object:

@rdooh
rdooh / simple_jest_coffeescript_gulpfile.js
Last active September 25, 2015 13:29
Simple Gulpfile that implements Jest. Context is a small Express app written in Coffeescript. The coffeescript is transpiled to JS, and then Jest is run on the result.
var gulp = require('gulp');
var coffee = require('gulp-coffee');
var header = require('gulp-header');
var pkg = require('./package.json');
var info = '//===========================\n// <%= pkg.name %>\n// @v<%= pkg.version %>, <%= pkg.license %>\n// <%= pkg.author %>\n//===========================\n';
var jest = require('jest-cli');
var gutil = require('gulp-util');
var through = require('through2');