update npmts
This commit is contained in:
		| @@ -33,6 +33,6 @@ | ||||
|   "devDependencies": { | ||||
|     "gulp": "3.9.1", | ||||
|     "gulp-function": "1.0.2", | ||||
|     "npmts": "^2.1.10" | ||||
|     "npmts": "^2.2.2" | ||||
|   } | ||||
| } | ||||
|   | ||||
							
								
								
									
										7
									
								
								test/test.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								test/test.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| /// <reference path="ts/typings/main.d.ts" /> | ||||
| declare var plugins: { | ||||
|     beautylog: any; | ||||
|     gulp: any; | ||||
|     gulpBrowser: any; | ||||
|     gulpFunction: any; | ||||
| }; | ||||
							
								
								
									
										12
									
								
								test/test.js
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								test/test.js
									
									
									
									
									
								
							| @@ -1,3 +1,5 @@ | ||||
| #!/usr/bin/env node | ||||
|  | ||||
| /// <reference path="./typings/main.d.ts" /> | ||||
| var plugins = { | ||||
|     beautylog: require("beautylog"), | ||||
| @@ -8,8 +10,7 @@ var plugins = { | ||||
| describe("gulpBrowser", function () { | ||||
|     describe(".browserify", function () { | ||||
|         it("should run through smoothly", function (done) { | ||||
|             this.timeout(50000); | ||||
|             plugins.beautylog.info("Note: This takes longer then usual due to code coverage"); | ||||
|             this.timeout(20000); | ||||
|             plugins.gulp.task('gulpBrowserNormal', function (cb) { | ||||
|                 var stream = plugins.gulp.src('./test/browserifyGulpTest.js') | ||||
|                     .pipe(plugins.gulpBrowser.browserify()) | ||||
| @@ -21,10 +22,3 @@ describe("gulpBrowser", function () { | ||||
|         }); | ||||
|     }); | ||||
| }); | ||||
| plugins.gulp.task('gulpBrowserTestError', function (cb) { | ||||
|     plugins.beautylog.info("Expecting an error:"); | ||||
|     var stream = plugins.gulp.src('./test/browserifyGulpTestError.js') | ||||
|         .pipe(plugins.gulpBrowser.browserify()) | ||||
|         .pipe(plugins.gulp.dest("./test/result/")); | ||||
|     return stream; | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user