Skip to content

Commit

Permalink
test: verify hidden files are bundled
Browse files Browse the repository at this point in the history
  • Loading branch information
setu4993 committed Jan 10, 2022
1 parent f645074 commit 5af61ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/@aws-cdk/aws-lambda-python/test/bundling.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ test('Bundling a function with pipenv dependencies', () => {
expect(files).toContain('index.py');
expect(files).toContain('Pipfile');
expect(files).toContain('Pipfile.lock');
// Contains hidden files.
expect(files).toContain('.gitignore');
// Exported during the bundling process.
expect(files).toContain('requirements.txt');
});
Expand Down Expand Up @@ -185,6 +187,8 @@ test('Bundling a function with poetry dependencies', () => {
expect(files).toContain('index.py');
expect(files).toContain('pyproject.toml');
expect(files).toContain('poetry.lock');
// Contains hidden files.
expect(files).toContain('.gitignore');
// Exported during the bundling process.
expect(files).toContain('requirements.txt');
});
Expand Down

0 comments on commit 5af61ac

Please sign in to comment.