Skip to content

Commit 90a8f79

Browse files
author
bweigel
committed
removes console.log statement
1 parent db44ca7 commit 90a8f79

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,9 @@ const test = (desc, func, opts = {}) =>
7878
try {
7979
func(t);
8080
} catch (err) {
81-
console.log(err);
81+
t.fail(err);
8282
t.end();
83-
}
84-
finally {
83+
} finally {
8584
teardown();
8685
}
8786
});
@@ -118,7 +117,7 @@ test('default pythonBin can package flask with default options', t => {
118117
process.chdir('tests/base');
119118
const path = npm(['pack', '../..']);
120119
npm(['i', path]);
121-
sls(['package']);
120+
sls(['pacdkage']);
122121
const zipfiles = listZipFiles('.serverless/sls-py-req-test.zip');
123122
t.true(zipfiles.includes(`flask${sep}__init__.py`), 'flask is packaged');
124123
t.false(zipfiles.includes(`boto3${sep}__init__.py`), 'boto3 is NOT packaged');

0 commit comments

Comments
 (0)