How to test browserify project using karma/jasmine
问题 I'm totally new to the concept of testing, and i need one solid example on how to do it in my project: I have a gulp file goes like this (Not all of it, just the important portions) gulp.task('bundle', function() { gulp.src('public/angular-app/main.js') .pipe(browserify({ debug: true })) .pipe(gulp.dest('public/min-js')); }); This is a slight portion of my main.js: 'use strict'; angular.module('myApp', [ 'ui.router', 'ui.bootstrap', 'ngSanitize', 'ngFx', ... ], ['$interpolateProvider',