This commit is contained in:
oitsjustjose 2017-02-26 17:06:42 -05:00
commit 6b60015c02
9588 changed files with 1149251 additions and 49 deletions

23
node_modules/gulp-copy/test/spec/gulp-copy.spec.js generated vendored Normal file
View file

@ -0,0 +1,23 @@
'use strict';
describe('Gulp Copy', function () {
var gulpCopy = require('../../lib/gulp-copy');
it('should exist', function () {
expect(gulpCopy).toBeDefined();
});
it('should require a valid destination', function () {
expect(function () { gulpCopy() }).toThrow();
expect(function () { gulpCopy(null) }).toThrow();
expect(function () { gulpCopy(1) }).toThrow();
expect(function () { gulpCopy('') }).not.toThrow();
});
it('should require a valid options object', function () {
expect(function () { gulpCopy('', 1) }).toThrow();
expect(function () { gulpCopy('') }).not.toThrow();
expect(function () { gulpCopy('', {}) }).not.toThrow();
});
});