angular-browserify-seed
Version:
A seed project for using browserify with angularjs
23 lines (16 loc) • 411 B
JavaScript
;
// Note: karma-browserify-preprocessor requires test filenames to end with "-test"
var Foo = require('../../scripts/foo');
describe('Foo', function () {
var foo;
beforeEach(function () {
foo = new Foo(Q);
});
it('should get', function () {
runs(function () {
return foo.get().then(function (data) {
expect(data).toEqual('foobar 3');
});
});
});
});