@@ -92,7 +92,6 @@ describe('node-lambda', function () {
9292 lambda . _rsync ( program , '.' , codeDirectory , true , function ( err , result ) {
9393 var contents = fs . readdirSync ( codeDirectory ) ;
9494
95- console . log ( 'contents: ' , contents ) ;
9695 result = _ . includes ( contents , 'index.js' ) &&
9796 _ . includes ( contents , 'package.json' ) &&
9897 ! _ . includes ( contents , 'node_modules' ) ;
@@ -102,9 +101,9 @@ describe('node-lambda', function () {
102101 } ) ;
103102 } ) ;
104103
105- describe ( "when there are excluded files" , function ( done ) {
104+ describe ( "when there are excluded files" , function ( ) {
106105 beforeEach ( function ( done ) {
107- program . excludeGlobs = "*.png test"
106+ program . excludeGlobs = "*.png test" ;
108107 done ( ) ;
109108 } ) ;
110109
@@ -216,7 +215,7 @@ describe('node-lambda', function () {
216215 result = _ . includes ( contents , 'node_modules/async/lib/async.js' ) ;
217216 assert . equal ( result , true ) ;
218217 done ( ) ;
219- } )
218+ } ) ;
220219 } ) ;
221220
222221 it ( 'packages a prebuilt module without installing' , function ( done ) {
@@ -238,14 +237,13 @@ describe('node-lambda', function () {
238237 var contents = _ . map ( archive . files , function ( f ) {
239238 return f . name . toString ( ) ;
240239 } ) ;
241- console . log ( 'contents: ' , contents ) ;
242240 var result = _ . includes ( contents , 'testa' ) &&
243241 _ . includes ( contents , 'd/testb' ) &&
244242 _ . includes ( contents , 'node_modules/a' ) ;
245243 assert . equal ( result , true ) ;
246244 done ( ) ;
247245
248- } )
246+ } ) ;
249247 } ) ;
250248 } ) ;
251249
0 commit comments