Skip to content

Commit

Permalink
Update app.controller.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sleidig authored Nov 29, 2023
1 parent 451d0a0 commit 9fe4fc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ describe('AppController', () => {

it('should throw bad request exception if data has wrong format', (done) => {
const invalidData = { ...deploymentData, name: 'with space' };
// TODO: add an extensive list of invalid formats including attempts someone could pass to try and inject code?

controller.deployApp(invalidData).subscribe({
error: (err) => {
Expand Down

0 comments on commit 9fe4fc6

Please sign in to comment.