Trivy Validation
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Has been cancelled
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Has been cancelled
This commit is contained in:
Generated
-7
@@ -11,7 +11,6 @@
|
||||
"dependencies": {
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.18.2",
|
||||
"lodash": "4.17.15",
|
||||
"nodemailer": "^8.0.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -3900,12 +3899,6 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/lodash": {
|
||||
"version": "4.17.15",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
|
||||
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/lru-cache": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ describe('Enterprise Application Flow & API Validation', () => {
|
||||
describe('1. Static Web Routing', () => {
|
||||
it('Should return 200 OK and text/html for the Home Page (/)', async () => {
|
||||
const response = await request(app).get('/');
|
||||
expect(response.status).toBe(500);
|
||||
expect(response.status).toBe(200);
|
||||
expect(response.headers['content-type']).toMatch(/text\/html/);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user